NSX-T Data Center REST API
Get the Realized State of a IPSec VPN Session (Deprecated)
Return realized state information of a ipsec vpn session.Any configuration update that affects the ipsec vpn session can use this API
to get its realized state by passing a request_id returned by the
configuration change operation. e.g. Update configuration of ipsec vpn session,
service, endpoints, profiles, etc.
It will return a service disabled error, if the ipsec vpn service associated
with the session is disabled.
Deprecated:
Please use below Policy APIs.
GET /policy/api/v1/infra/realized-state/realized-entity?realized_path=/policy/api/v1/infra/tier-0s/<tier-0-id>/ipsec-vpn-services/<service-id>/sessions/<session-id>
GET /policy/api/v1/infra/realized-state/realized-entity?realized_path=/policy/api/v1/infra/tier-1s/<tier-1-id>/ipsec-vpn-services/<service-id>/sessions/<session-id>
Request:
Method:
GET
URI Path(s):
/api/v1/vpn/ipsec/sessions/<ipsec-vpn-session-id>/state
Request Headers:
n/a
Query Parameters:
RealizationStateQueryParameters+
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/vpn/ipsec/sessions/f962173f-ac03-4d08-8366-56a41779f61d/stateSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IPSecVPNSessionState+