CreateVirtualCircuit

POST {{baseUrl}}/virtualCircuits

Creates a new virtual circuit to use with Oracle Cloud Infrastructure FastConnect. For more information, see FastConnect Overview.

For the purposes of access control, you must provide the OCID of the compartment where you want the virtual circuit to reside. If you're not sure which compartment to use, put the virtual circuit in the same compartment with the DRG it's using. 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 virtual circuit. It does not have to be unique, and you can change it. Avoid entering confidential information.

Important: When creating a virtual circuit, you specify a DRG for the traffic to flow through. Make sure you attach the DRG to your VCN and confirm the VCN's routing sends traffic to the DRG. Otherwise traffic will not flow. For more information, see Route Tables.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "type"=>"PUBLIC", "bandwidthShapeName"=>"amet incididunt", "crossConnectMappings"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "customerBgpAsn"=>-21250133, "displayName"=>"Lorem ut Duis commodo", "gatewayId"=>"proident", "providerName"=>"eiusmod ullamco mollit", "providerServiceId"=>"amet", "providerServiceKeyName"=>"ad et ea voluptate", "providerServiceName"=>"in laborum", "publicPrefixes"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "region"=>"adipisicing anim", "routingPolicy"=>["MARKET_LEVEL", "GLOBAL"]}

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).
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

{&quot;bandwidthShapeName&quot;:&quot;in officia anim fugiat&quot;,&quot;bgpManagement&quot;:&quot;CUSTOMER_MANAGED&quot;,&quot;bgpSessionState&quot;:&quot;UP&quot;,&quot;compartmentId&quot;:&quot;mollit eiusmod Duis commodo&quot;,&quot;crossConnectMappings&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;customerBgpAsn&quot;:90585668,&quot;definedTags&quot;:{},&quot;displayName&quot;:&quot;dolor laborum&quot;,&quot;freeformTags&quot;:{},&quot;gatewayId&quot;:&quot;occaecat&quot;,&quot;id&quot;:&quot;aliquip cupidatat culpa&quot;,&quot;lifecycleState&quot;:&quot;INACTIVE&quot;,&quot;oracleBgpAsn&quot;:65594159,&quot;providerName&quot;:&quot;veniam su&quot;,&quot;providerServiceId&quot;:&quot;irure Excepteur&quot;,&quot;providerServiceKeyName&quot;:&quot;ut&quot;,&quot;providerServiceName&quot;:&quot;consequat voluptate ipsum culpa&quot;,&quot;providerState&quot;:&quot;ACTIVE&quot;,&quot;publicPrefixes&quot;:[&quot;est tempor non do aliq&quot;,&quot;irure utlabore nostrud Duis ipsum&quot;],&quot;referenceComment&quot;:&quot;irure veniam&quot;,&quot;region&quot;:&quot;ut ad aute aliqua&quot;,&quot;routingPolicy&quot;:[&quot;MARKET_LEVEL&quot;,&quot;REGIONAL&quot;],&quot;serviceType&quot;:&quot;LAYER3&quot;,&quot;timeCreated&quot;:&quot;1994-11-16T19:47:10.308Z&quot;,&quot;type&quot;:&quot;PRIVATE&quot;}