NSX-T Data Center REST API
Get Statistics for Logical Switch of the Given ID (lswitch-id). (Deprecated)
Returns statistics of a specified logical switch. For real time statistics source, transport_node_id and stats_type are mandatory.Deprecated: This API is now deprecated. Please use new API - GET policy/api/v1/infra/segments/<segment-id>/statistics
Request:
Method:
GET
URI Path(s):
/api/v1/logical-switches/{lswitch-id}/statistics
Request Headers:
n/a
Query Parameters:
LogicalSwitchStatisticsParameters+
Request Body:
n/a
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalSwitchStatistics+