NSX-T Data Center REST API
Create or Update transit gateway attachment
Create or Update transit gateway attachmentThis API is only available when using VMware NSX.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
TransitGatewayAttachment+
Example Request:
PATCH https://<policy-mgr>/orgs/default/projects/default/transit-gateways/default/attachments/distributed-vlan-101 { "resource_type": "TransitGatewayAttachment", "id": "distributed-vlan-101", "display_name": "distributed-vlan-101", "description" : "Distributed VLAN connection attached to TGW", "connection_path": "/infra/vlan-connections/gateway-101", } PATCH https://<policy-mgr>/orgs/default/projects/default/transit-gateways/default/attachments/gateway-connection-101 { "resource_type": "TransitGatewayAttachment", "id": "gateway-connection-101", "display_name": "gateway-connection-101", "description" : "Gateway connection attached to TGW", "connection_path": "/infra/gateway-connections/d1595bd4-3b37-4053-9baf-cb8986353955" }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a