NSX-T Data Center REST API
List Tier-1 segment ports
List all the ports for a Tier-1 segment.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/tier-1s/<tier-1-id>/segments/<segment-id>/ports
                  
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports
              
            /policy/api/v1/global-infra/tier-1s/<tier-1-id>/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/tier-1s/production_t1/segments/production-t1-seg/ports/Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    SegmentPortListResult+
  