NSX-T Data Center REST API

List gateway connections

List gateway connections
This API is only available when using VMware NSX.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/gateway-connections
Request Headers:
n/a
Query Parameters:
GatewayConnectionListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/gateway-connections

Successful Response:

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

Example Response:

{ "results" : [ { "resource_type": "GatewayConnection", "id": "tenant-1", "display_name": "tenant-1", "path": "/infra/gateway-connections/tenant-1", "parent_path": "/infra", "relative_path": "gateway-101", "tier0_path" : "/infra/tier-0s/gateway", "advertise_outbound_route_filters": ["/infra/routing-config/prefix-lists/pl-1"], "_create_user":"admin", "_create_time":1516750267338, "_last_modified_user":"admin", "_last_modified_time":1516750267338, "_system_owned":false, "_protection":"NOT_PROTECTED", "_revision":0 } ], "result_count": 1, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_transit_gateway_connection

Additional Errors: