NSX-T Data Center REST API

Get statistics for downlink router port

Get statistics for downlink router port

Request:

Method:
GET
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/gateway-interface-statistics/summary
Request Headers:
n/a
Query Parameters:
PolicyRuntimeRequestParameters+
Request Body:
n/a

Example Request:

https://<policy-mgr>/policy/api/v1/orgs/default/projects/project-1/vpcs/vpc-1/subnets/subnet-1/gateway-interface-statistics/summary

Successful Response:

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

Example Response:

{ "interface_policy_path": "/orgs/default/projects/project-1/vpcs/vpc-1/subnets/subnet-1", "last_update_timestamp": 1591854157020, "rx": { "total_bytes": 314886932, "total_packets": 678919, "dropped_packets": 151381 }, "tx": { "total_bytes": 75554376, "total_packets": 1130225, "dropped_packets": 151381 }, "logical_router_port_id": "cbac60fb-841f-4d29-951b-500f527bda34" }

Required Permissions:

read

Feature:

policy_vpc_subnet

Additional Errors: