Policy > Networking > Network Services > NAT > Statistics

List NAT Rules Statistics

List NAT Rules Statistics from Tier-1 denoted by Tier-1 ID. This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/nat/statistics
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/nat/statistics
Request Headers:
n/a
Query Parameters:
PolicyNatRuleStatisticsListRequestParameters+
Request Body:
n/a

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyNatRuleStatisticsPerLogicalRouterListResult+

Example Response:

{ "results": [ { "router_path": "/infra/tier-1s/network", "last_update_timestamp": 1537451344028, "enforcement_point_path": "/infra/sites/default/enforcement-points/default", "statistics": { "total_bytes": 0, "active_sessions": 0, "total_packets": 0 }, "per_node_statistics": [ { "total_bytes": 0, "active_sessions": 0, "total_packets": 0, "transport_node_path": "/infra/sites/default/enforcement-points/default/edge-clusters/2253f301-a0d5-4797-bc7d-4c1a0de5832c/edge-nodes/a25d425e-bc09-11e8-b13d-000c29906046", "last_update_timestamp": 1537451344028 } ] } ] }

Required Permissions:

read

Feature:

policy_nat_rules

Additional Errors: