NSX-T Data Center REST API
Get the statistics of all rules of the logical router (Removed in 9.0)
Returns the summation of statistics for all rules from all nodes for the SpecifiedLogical Router. Also gives the per transport node statistics for provided logical router.
The query parameter "source=realtime" is not supported.
Deprecated: This API has been deprecated, please use below Policy APIs
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/nat/statistics
GET /policy/api/v1/global-infra/tier-0s/<tier-0-id>/nat/statistics
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/nat/statistics
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/nat/statistics
GET /policy/api/v1/orgs/<org-id>/projects/<project-id>/infra/tier-1s/<tier-1-id>/nat/statistics
Request:
Method:
GET
URI Path(s):
/api/v1/logical-routers/{logical-router-id}/nat/rules/statistics
Request Headers:
n/a
Query Parameters:
DataSourceParameters+
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-routers/de211ce9-291e-4876-ace6-606b3e32bf46/nat/rules/statisticsSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NatStatisticsPerLogicalRouter+