NSX-T Data Center REST API

Read a gateway connection

Read a gateway connection.
This API is only available when using VMware NSX.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/gateway-connections/{gateway-connection-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

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

Successful Response:

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

Example Response:

{ "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 }

Required Permissions:

read

Feature:

policy_transit_gateway_connection

Additional Errors: