NSX-T Data Center REST API
Get IPSec VPN session statistics under Tier-0
- no enforcement point path specified: statistics are evaluated on each enforcement point.- an enforcement point path is specified: statistics are evaluated only on the given
enforcement point.
- source=realtime: statistics are fetched realtime from the enforcement point.
- source=cached: cached statistics are not supported for IPSec VPN session statistics.
Statistics will always be fetched realtime even if source=cached.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/ipsec-vpn-services/{service-id}/sessions/{session-id}/statistics
Request Headers:
n/a
Query Parameters:
PolicyRuntimeRequestParameters+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/ServerT0_AS/ipsec-vpn-services/IpsecOnServerT0/sessions/50-vpnsession-1565/statisticsSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
AggregateIPSecVpnSessionStatistics+