NSX-T Data Center REST API

GET TransitGateway NAT types /section

Get either of the two supported sections (USER and NAT64) under the given
Transit Gateway.
The USER section allows IPV4 based NAT rules, while the NAT64 rules allow
translating IPV6 packets to IPV4 packets.
This API is only available when using VMware NSX.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{tgw-id}/nat/{nat-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/orgs/default/projects/project1/transit-gateways/tgw1/nat/USER

Successful Response:

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

Example Response:

{ "nat_type": "USER", "resource_type": "TransitGatewayNat", "id": "USER", "display_name": "USER", "path": "/orgs/default/projects/project1/transit-gateways/tgw1/nat/USER", "relative_path": "USER", "parent_path": "/orgs/default/projects/project1/transit-gateways/tgw1", "unique_id": "2ede024b-2bbc-429c-b5de-dff7131a7900", "realization_id": "2ede024b-2bbc-429c-b5de-dff7131a7900", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385644745, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385644745, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_nat_rules

Additional Errors: