NSX-T Data Center REST API
List infra segment ports
List all the ports for an infra.This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/segments/<segment-id>/ports
                  
/policy/api/v1/global-infra/segments/<segment-id>/ports
              
            /policy/api/v1/global-infra/segments/<segment-id>/ports
Request Headers:
                n/a
            Query Parameters:
    SegmentPortListRequestParameters+
  Request Body:
    n/a
  Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/segments/production-t1-seg/ports/Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    SegmentPortListResult+
  