NSX-T Data Center REST API
Get Transit Gateway state
Get the transit gateway's runtime state that includes the transport node and the HA details, if applicable.Request:
Method:
GET
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/state
Request Headers:
n/a
Query Parameters:
TransitGatewayStateRequestParameters+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/orgs/default/projects/project-2/transit-gateways/transit-gateway-1/stateSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TransitGatewayState+