NSX-T Data Center REST API

Get statistics for all logical router NAT rules on a transport node

Returns the summation of statistics for all rules from all logical routers
which are present on given transport node. Only cached statistics are supported.
The query parameter "source=realtime" is not supported.

Request:

Method:
GET
URI Path(s):
/api/v1/transport-nodes/{node-id}/statistics/nat-rules
Request Headers:
n/a
Query Parameters:
DataSourceParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/policy/api/v1/transport-nodes/2c9f38f2-6e77-11ef-a12b-064533dbf37d/statistics/nat-rules

Successful Response:

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

Example Response:

{ "transport_node_id": "2c9f38f2-6e77-11ef-a12b-064533dbf37d", "last_update_timestamp": 1726033078703, "active_sessions": 0, "total_packets": 0, "total_bytes": 0 }

Required Permissions:

read

Feature:

routing_nat

Additional Errors: