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