CreateCrossConnect
POST {{baseUrl}}/crossConnects
Creates a new cross-connect. Oracle recommends you create each cross-connect in a CrossConnectGroup so you can use link aggregation with the connection.
After creating the CrossConnect
object, you need to go the FastConnect location
and request to have the physical cable installed. For more information, see
FastConnect Overview.
For the purposes of access control, you must provide the OCID of the compartment where you want the cross-connect to reside. If you're not sure which compartment to use, put the cross-connect in the same compartment with your VCN. For more information about compartments and access control, see Overview of the IAM Service. For information about OCIDs, see Resource Identifiers.
You may optionally specify a display name for the cross-connect. It does not have to be unique, and you can change it. Avoid entering confidential information.
Request Body
{"locationName"=>"sunt non", "portSpeedShapeName"=>"consequat magna", "compartmentId"=>"{{compartment_ocid}}", "crossConnectGroupId"=>"amet aute", "customerReferenceName"=>"veniam magna cillum aliquip", "displayName"=>"laborum velit commodo ad", "farCrossConnectOrCrossConnectGroupId"=>"enim ex si", "nearCrossConnectOrCrossConnectGroupId"=>"adipisicing dolore"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A 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). | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"compartmentId":"eiusmod","crossConnectGroupId":"in in esse reprehenderit","customerReferenceName":"magna Excepteur aliqua pariatur est","definedTags":{},"displayName":"adipisicing deserunt culpa nisi dolore","freeformTags":{},"id":"amet cillum oc","lifecycleState":"TERMINATING","locationName":"id","portName":"velit veniam sunt","portSpeedShapeName":"culpa ullamco esse et","timeCreated":"1954-06-26T01:15:04.287Z"}