NSX-T Data Center REST API
Get Statistics for Logical Switch of the Given ID (lswitch-id).
Returns statistics of a specified logical switch. For real time statistics source, transport_node_id and stats_type are mandatory.Request:
Method:
GET
URI Path(s):
/api/v1/logical-switches/{lswitch-id}/statistics
Request Headers:
n/a
Query Parameters:
LogicalSwitchStatisticsParameters+
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+