UpdateVirtualCircuit
PUT {{baseUrl}}/virtualCircuits/:virtualCircuitId
Updates the specified virtual circuit. This can be called by either the customer who owns the virtual circuit, or the provider (when provisioning or de-provisioning the virtual circuit from their end). The documentation for UpdateVirtualCircuitDetails indicates who can update each property of the virtual circuit.
Important: If the virtual circuit is working and in the PROVISIONED state, updating any of the network-related properties (such as the DRG being used, the BGP ASN, and so on) will cause the virtual circuit's state to switch to PROVISIONING and the related BGP session to go down. After Oracle re-provisions the virtual circuit, its state will return to PROVISIONED. Make sure you confirm that the associated BGP session is back up. For more information about the various states and how to test connectivity, see FastConnect Overview.
To change the list of public IP prefixes for a public virtual circuit, use BulkAddVirtualCircuitPublicPrefixes and BulkDeleteVirtualCircuitPublicPrefixes. Updating the list of prefixes does NOT cause the BGP session to go down. However, Oracle must verify the customer's ownership of each added prefix before traffic for that prefix will flow across the virtual circuit.
Request Body
{"bandwidthShapeName"=>"quis qui eu", "crossConnectMappings"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "customerBgpAsn"=>-71609415, "displayName"=>"et nostrud Lorem dolore", "gatewayId"=>"consectetur irure", "providerServiceKeyName"=>"labore in ex", "providerState"=>"ACTIVE", "referenceComment"=>"adipisicing commodo", "routingPolicy"=>["GLOBAL", "MARKET_LEVEL"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match | |
parameter to the value of the etag from a previous GET or POST response for that resource. The resource | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
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
{"bandwidthShapeName":"aliquip quis","bgpManagement":"PROVIDER_MANAGED","bgpSessionState":"UP","compartmentId":"ex voluptate ea eiusmod","crossConnectMappings":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"customerBgpAsn":32592947,"definedTags":{},"displayName":"sunt exercitation","freeformTags":{},"gatewayId":"sed deserunt magna","id":"ex Duis amet culpa","lifecycleState":"PROVISIONING","oracleBgpAsn":34318225,"providerName":"ullamco occaecat culpa cillum","providerServiceId":"nisi ex culpa dolor","providerServiceKeyName":"nostru","providerServiceName":"laboris labore","providerState":"ACTIVE","publicPrefixes":["proident et amet qui dolor","tempor nostrud"],"referenceComment":"laboris fugiat do","region":"dolore sint ut non","routingPolicy":["MARKET_LEVEL","GLOBAL"],"serviceType":"LAYER2","timeCreated":"2021-02-05T13:31:56.554Z","type":"PUBLIC"}