Update Ip Sec Vpn Tunnel
Updates a specific IPSec tunnel for a given Provider Gateway.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/ipsec/tunnels/{tunnelId}
COPY
Path Parameters
string
externalNetworkId
Required
externalNetworkId
string
tunnelId
Required
tunnelId
Request Body
GatewayIpSecVpnTunnel
of type(s)
application/json
Optional
Show optional properties
{
"name": "string",
"localEndpoint": {},
"remoteEndpoint": {}
}
{
"id": "string",
"name": "string",
"description": "string",
"active": false,
"localEndpoint": {
"localId": "string",
"localAddress": "string",
"localNetworks": [
"string"
]
},
"remoteEndpoint": {
"remoteId": "string",
"remoteAddress": "string",
"remoteNetworks": [
"string"
]
},
"authenticationMode": "string",
"preSharedKey": "string",
"certificateRef": {
"name": "string",
"id": "string"
},
"caCertificateRef": {
"name": "string",
"id": "string"
},
"connectorInitiationMode": "string",
"securityType": "string",
"logging": false,
"version": {
"version": 0
},
"tunnelInterfaces": [
"string"
],
"tunnelType": "string",
"connectivityStatus": "string"
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"localEndpoint":"{}","name:"string","remoteEndpoint":"{}"}' https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/ipsec/tunnels/{tunnelId}
Availability
Added in 39.0
On This Page
Provider Gateway Ip Sec Vpn Tunnels Operations
GET
Get Ip Sec Vpn Tunnels
POST
Create Ip Sec Vpn Tunnel
GET
Get Ip Sec Vpn Tunnel
PUT
Update Ip Sec Vpn Tunnel
DELETE
Delete Ip Sec Vpn Tunnel
GET
Get Ip Sec Vpn Tunnel Allowed Security Types
GET
Get Ip Sec Vpn Tunnel Default Connection Properties
Deprecated
GET
Get Ip Sec Vpn Tunnel Preset Connection Properties
GET
Get Ip Sec Vpn Tunnel Connection Properties
PUT
Update Ip Sec Vpn Tunnel Connection Properties
GET
Get Ip Sec Vpn Tunnel Status
GET
Get Ip Sec Vpn Tunnel Statistics
POST
Auto Configure Ip Sec Vpn Tunnel