NSX-T Data Center REST API

Returns status information for primary gateway and secondary gateway for the vpc, if exists.

Request:

Method:
GET
URI Path(s):
/api/v1/csm/aws/gateways/{vpc-id}/status
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-csm>/api/v1/csm/aws/gateways/vpc-1234/status

Successful Response:

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

Example Response:

{ "gateway_instances_status": [ { "gateway_status": "DEPLOYING", "gateway_instance_id": "i-176", "gateway_ha_index": 0, "deployment_status": 80, "deployment_state": "CONFIGURING_GATEWAY", "gateway_name": "nsxc-gw-vpc-c35dbaa4-preferred-active" } ] }

Required Permissions:

read

Feature:

gateway_deployment

Additional Errors: