NSX-T Data Center REST API
List All Logical Ports (Deprecated)
Returns information about all configured logical switch ports. Logicalswitch ports connect to VM virtual network interface cards (NICs). Each
logical port is associated with one logical switch.
This api is now deprecated. Please use new api -
/infra/segments/<segment-id>/ports
Request:
Method:
GET
URI Path(s):
/api/v1/logical-ports
Request Headers:
n/a
Query Parameters:
LogicalPortListParameters+
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-portsSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalPortListResult+