Policy > Networking > Network Services > NAT > Rules > Tier-1 Gateways

List Policy NAT types.

List all NAT sections under the given Tier-1 ID.
For more details related to NAT section please refer to PolicyNAT schema.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/nat
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/nat
Request Headers:
n/a
Query Parameters:
PolicyNatListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/vmc_network-demo/nat

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 4, "results": [ { "nat_type": "DEFAULT", "resource_type": "PolicyNat", "id": "DEFAULT", "display_name": "DEFAULT", "path": "/infra/tier-1s/it_t1/nat/DEFAULT", "relative_path": "DEFAULT", "parent_path": "/infra/tier-1s/it_t1", "unique_id": "6c029b55-56aa-4f30-8dda-50745853c78f", "realization_id": "6c029b55-56aa-4f30-8dda-50745853c78f", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385644756, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385644756, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "nat_type": "INTERNAL", "resource_type": "PolicyNat", "id": "INTERNAL", "display_name": "INTERNAL", "path": "/infra/tier-1s/it_t1/nat/INTERNAL", "relative_path": "INTERNAL", "parent_path": "/infra/tier-1s/it_t1", "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 }, { "nat_type": "NAT64", "resource_type": "PolicyNat", "id": "NAT64", "display_name": "NAT64", "path": "/infra/tier-1s/it_t1/nat/NAT64", "relative_path": "NAT64", "parent_path": "/infra/tier-1s/it_t1", "unique_id": "8ff75480-5cc5-4bce-9ed5-6bb948a65b3d", "realization_id": "8ff75480-5cc5-4bce-9ed5-6bb948a65b3d", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385644758, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385644758, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "nat_type": "USER", "resource_type": "PolicyNat", "id": "USER", "display_name": "USER", "path": "/infra/tier-1s/it_t1/nat/USER", "relative_path": "USER", "parent_path": "/infra/tier-1s/it_t1", "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: