NSX-T Data Center REST API
Get Statistics for Logical Port of a Given Port ID (lport-id)
Returns statistics of a specified logical port. If the logical port is attached toa logical router port, query parameter "source=realtime" is not supported.
Request:
Method:
GET
URI Path(s):
/api/v1/logical-ports/<lport-id>/statistics
Request Headers:
n/a
Query Parameters:
DataSourceParameters+
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-ports/<lport-id>/statisticsSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalPortStatistics+