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 routing from STATIC to BGP, make sure the tunnel's BGP session configuration attributes have been set (bgpSessionConfig).

  • If you want to switch the tunnel's routing from BGP to STATIC, 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

KeyDatatypeRequiredDescription
if-matchstringFor 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-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

{&quot;compartmentId&quot;:&quot;sit Duis deserunt in&quot;,&quot;id&quot;:&quot;et consequat&quot;,&quot;lifecycleState&quot;:&quot;PROVISIONING&quot;,&quot;bgpSessionInfo&quot;:{&quot;bgpState&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;customerBgpAsn&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;customerInterfaceIp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;oracleBgpAsn&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;oracleInterfaceIp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;cpeIp&quot;:&quot;mollit do sint&quot;,&quot;displayName&quot;:&quot;adipisicing tempor&quot;,&quot;encryptionDomainConfig&quot;:{&quot;cpeTrafficSelector&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;oracleTrafficSelector&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;routing&quot;:&quot;BGP&quot;,&quot;status&quot;:&quot;DOWN&quot;,&quot;timeCreated&quot;:&quot;1962-02-12T23:04:29.241Z&quot;,&quot;timeStatusUpdated&quot;:&quot;1971-12-18T13:16:38.390Z&quot;,&quot;vpnIp&quot;:&quot;cil&quot;}