[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Update IPsec VPN Tunnel Profile

Description

Create or patch custom IPSec tunnel profile. IPSec tunnel profile is a reusable profile that captures phase two negotiation parameters and tunnel properties. System will be provisioned with system owned editable default IPSec tunnel profile. Any change in profile affects all sessions consuming this profile.

Request

Request

URL

URL


patch
https://nsxmanager.your.domain/policy/api/v1/infra/ipsec-vpn-tunnel-profiles/{tunnel-profile-id}
Copy

Path Parameters

Path Parameters

string
tunnel-profile-id Required

Request Body

Request Body

IPSecVpnTunnelProfile of type(s) application/json Required
This request body class requires all of the following: PolicyConfigResource, InlineIPSecVpnTunnelProfile1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

OK

Errors

Errors

400

Bad Request


403

Forbidden


404

Not Found


412

Precondition Failed


500

Internal Server Error


503

Service Unavailable

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-CreateOrPatchIPSecVpnTunnelProfile -tunnelProfileId -iPSecVpnTunnelProfile $iPSecVpnTunnelProfile

cURL Command

curl -X PATCH -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/infra/ipsec-vpn-tunnel-profiles/{tunnel-profile-id}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: update-ipsec-vpn-tunnel-profile
x-vmw-nsx-module: PolicyIPSecVpn


Feedback

Was this page helpful?