Policy > Networking > Connectivity > Tier-1 Gateways > Interfaces > Interfaces

List Tier-1 interfaces

Paginated list of all Tier-1 interfaces
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>/locale-services/<locale-services-id>/interfaces
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/locale-services/<locale-services-id>/interfaces
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/locale-services/default/interfaces

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "Tier1Interface", "id": "to_internet", "display_name": "to_internet", "path": "/infra/tier-1s/cgw/locale-services/default/interfaces/to_internet", "parent_path": "/infra/tier-1s/cgw/locale-services/default", "relative_path": "to_internet", "segment_path": "/infra/segments/sg-svc", "subnets": [ { "ip_addresses": [ "35.1.1.1" ], "prefix_len": 24 } ], "_create_user": "admin", "_create_time": 1516751318020, "_last_modified_user": "admin", "_last_modified_time": 1516751318020, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_t1

Additional Errors: