NSX-T Data Center REST API
Create VPN service (Deprecated)
Create VPN service for given logical router. Deprecated:Please use below Policy APIs.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/ipsec-vpn-services/<service-id>
PATCH /policy/api/v1/infra/tier-1s/<tier-1-id>/ipsec-vpn-services/<service-id>
Request:
Method:
POST
URI Path(s):
/api/v1/vpn/ipsec/services
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IPSecVPNService+
Example Request:
POST https://<nsx-mgr>/api/v1/vpn/ipsec/services { "resource_type": "IPSecVPNService", "description": "Manage VPN serviceplr1", "display_name": "IPSec VPN serviceplr1", "logical_router_id": "518cc148-75ce-4973-9a79-07da0b8b2147", "ike_log_level": "ERROR", "enabled": true }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
IPSecVPNService+