Management Plane API > Networking > Logical Switching > Logical Switch Ports

Get Operational Status Summary of All Logical Ports in the System

Returns operational status of all logical ports.
The query parameter "source=realtime" is not supported.
Pagination is not supported for this API.
The query parameters "cursor", "sort_ascending", "sort_by", "page_size" and "included_fields"
will be ignored.

Request:

Method:
GET
URI Path(s):
/api/v1/logical-ports/status
Request Headers:
n/a
Query Parameters:
LogicalPortListWithSourceParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/logical-ports/status

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalPortStatusSummary+

Example Response:

{ "up_ports": 6, "total_ports": 6 }

Required Permissions:

read

Feature:

aggregation_service_health_monitoring

Additional Errors: