NSX-T Data Center REST API
Create or fully replace a custom IPSec tunnel Profile
Create or fully replace 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. Revision is optional for creation and required for update.Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/ipsec-vpn-tunnel-profiles/<tunnel-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IPSecVpnTunnelProfile+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/ipsec-vpn-tunnel-profiles/aws-tunnel-profile { "resource_type" : "IPSecVpnTunnelProfile", "display_name" : "aws-tunnel-profile", "enable_perfect_forward_secrecy" : true, "encryption_algorithms" : [ "AES_128" ], "digest_algorithms" : [ "SHA2_256" ], "sa_life_time" : 3600, "dh_groups" : [ "GROUP14" ], "df_policy" : "COPY" "_revision" : 2 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IPSecVpnTunnelProfile+