UpdateIPSecConnectionTunnelDetails
PUT {{baseUrl}}/ipsecConnections/:ipscId/tunnels/:tunnelId
Updates the specified tunnel. This operation lets you change tunnel attributes such as the routing type (BGP dynamic routing or static routing). Here are some important notes:
If you change the tunnel's routing type or BGP session configuration, the tunnel will go down while it's reprovisioned.
If you want to switch the tunnel's
routingfromSTATICtoBGP, make sure the tunnel's BGP session configuration attributes have been set (bgpSessionConfig).If you want to switch the tunnel's
routingfromBGPtoSTATIC, make sure the IPSecConnection already has at least one valid CIDR static route.
Request Body
{"bgpSessionConfig"=>{"customerBgpAsn"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "customerInterfaceIp"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "oracleInterfaceIp"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "displayName"=>"laboris", "encryptionDomainConfig"=>{"cpeTrafficSelector"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "oracleTrafficSelector"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "routing"=>"BGP"}
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. | |||
opc-request-id | string | Unique identifier for the request. | |
| If you need to contact Oracle about a particular request, please provide the request ID. | |||
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":"sit Duis deserunt in","id":"et consequat","lifecycleState":"PROVISIONING","bgpSessionInfo":{"bgpState":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"customerBgpAsn":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"customerInterfaceIp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"oracleBgpAsn":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"oracleInterfaceIp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"cpeIp":"mollit do sint","displayName":"adipisicing tempor","encryptionDomainConfig":{"cpeTrafficSelector":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"oracleTrafficSelector":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"routing":"BGP","status":"DOWN","timeCreated":"1962-02-12T23:04:29.241Z","timeStatusUpdated":"1971-12-18T13:16:38.390Z","vpnIp":"cil"}