NSX-T Data Center REST API
Get statistics for downlink router port on tier-1 router
Segment ID is the ID of the segment that is connected to the the tier-1Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/gateway-interface-statistics
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/gateway-interface-statistics
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/gateway-interface-statistics
Request Headers:
n/a
Query Parameters:
BaseEdgeStatisticsRequestParameters+
Request Body:
n/a
Example Request:
https://{{nsx-mgr}}/policy/api/v1/infra/tier-1s/TLR1_LR/segments/TIER1_DOWNLINK_SWITCH/gateway-interface-statistics?edge_path=/infra/sites/default/enforcement-points/default/edge-clusters/7f7d37a7-b78e-4378-949d-09190cbfef7d/edge-nodes/a831390e-a7c8-11ea-9102-020063e79023Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyInterfaceStatistics+