NSX-T Data Center REST API

VPC Networking (Transit Gateway)

Associated URIs:

API Description API Path

List transit gateway attachments


List transit gateway attachments
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments

Delete transit gateway attachment


Delete transit gateway attachment
DELETE /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}

Read transit gateway attachment


Read transit gateway attachment
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}

Create or Update transit gateway attachment


Create or Update transit gateway attachment
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}

Create or Update transit gateway attachment


Create or Update transit gateway attachment
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}

Get per node state for transit gateway attachment interfaces.


Get a list of state info for each transit gateway attachment interface.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}/state/interfaces

Get per node statistics for transit gateway attachment interfaces.


Retrieve the total tx, rx dropped, total bytes, total packets of all traffic that flows to the TGW attachment interface.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}/state/interfaces/{interface-id}/statistics

Get transit gateway attachment statistics.


Retrieve the total tx, rx dropped, total bytes, total packets of all traffic that flows to the TGW attachment.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{attachment-id}/statistics

List networks advertised to the TGW external attachment


Returns information about all networks which are advertised to the TGW external attachment.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{external-attachment-id}/advertised-networks

List networks advertised to the TGW external attachment in CSV format


Returns information about all networks which are advertised to the TGW external attachment in CSV format.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/attachments/{external-attachment-id}/advertised-networks/download