NSX-T Data Center REST API

GET Policy NAT types.

Get either of the two supported sections (USER and NAT64) under the given VPC ID.
The USER section allows IPV4 based NAT rules, while the NAT64 rules allow
translating IPV6 packets to IPV4 packets.
For more details related to NAT section please refer to PolicyNAT schema.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-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/org1/projects/project1/vpcs/vpc1/nat/USER

Successful Response:

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

Example Response:

{ "nat_type": "USER", "resource_type": "PolicyNat", "id": "USER", "display_name": "USER", "path": "/orgs/org1/projects/project1/vpcs/vpc1/nat/USER", "relative_path": "USER", "parent_path": "/orgs/org1/projects/project1/vpcs/vpc1", "unique_id": "202e658c-17bd-41bb-bc72-bfdef716ba9b", "realization_id": "202e658c-17bd-41bb-bc72-bfdef716ba9b", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385644755, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385644755, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_nat_rules

Additional Errors: