NSX-T Data Center REST API
Get statistics for all logical router NAT rules on a policy edge transport node
Returns the summation of statistics for all NAT rules from all the gatewayswhich are present on given edge transport node. Only cached statistics are supported.
The query parameter "source=realtime" is not supported.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/sites/{site-id}/enforcement-points/{enforcementpoint-id}/edge-clusters/{edge-cluster-id}/edge-nodes/{policy-edge-node-id}/nat/statistics
/policy/api/v1/global-infra/sites/{site-id}/enforcement-points/{enforcementpoint-id}/edge-clusters/{edge-cluster-id}/edge-nodes/{policy-edge-node-id}/nat/statistics
/policy/api/v1/global-infra/sites/{site-id}/enforcement-points/{enforcementpoint-id}/edge-clusters/{edge-cluster-id}/edge-nodes/{policy-edge-node-id}/nat/statistics
Request Headers:
n/a
Query Parameters:
PolicyRuntimeRequestParameters+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/edge-clusters/fa0f2e56-a09c-42f6-9417-adcce68416a4/edge-nodes/0/nat/statisticsSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NatStatisticsPerPolicyEdgeNode+