NSX-T Data Center REST API
Get per node statistics for transit gateway attachment interfaces.
Retrieve the total tx, rx dropped, total bytes, total packets of all traffic that flows to the TGW attachment interface.Request:
Method:
GET
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}/state/interfaces/{interface-id}/statistics
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/orgs/default/projects/project-2/transit-gateways/transit-gateway-1/attachments/attachment-1/state/interfaces/interface-1/statisticsSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TransitGatewayAttachmentStatistics+