CreateVlan

POST {{baseUrl}}/vlans

Creates a VLAN in the specified VCN and the specified compartment.

Request Body

{"availabilityDomain"=>"es", "compartmentId"=>"{{compartment_ocid}}", "cidrBlock"=>"esse est", "vcnId"=>"ea aute", "displayName"=>"esse", "nsgIds"=>["elit", "nisi consequat ea dolore"], "routeTableId"=>"sint laboris sed", "vlanTag"=>2006}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
opc-request-idstringUnique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"id":"magna in Lorem","compartmentId":"amet ut quis","cidrBlock":"consequat non","lifecycleState":"AVAILABLE","vcnId":"sit consectetur Ut qui","availabilityDomain":"ea sunt officia mollit","definedTags":{},"displayName":"ullamco magna eu","freeformTags":{},"nsgIds":["ad amet exercitation","ut irure magna"],"routeTableId":"sunt occaecat exercitation mollit","timeCreated":"1974-12-31T12:49:21.840Z","vlanTag":-19036463}