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

List Policy NAT types.

List all NAT sections under the given Tier-0 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-0s/<tier-0-id>/nat
/policy/api/v1/global-infra/tier-0s/<tier-0-id>/nat
Request Headers:
n/a
Query Parameters:
PolicyNatListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_provider-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-0s/pepsi/nat/DEFAULT", "relative_path": "DEFAULT", "parent_path": "/infra/tier-0s/pepsi", "unique_id": "053c5df4-13f2-4573-84b3-b6f3356283f8", "realization_id": "053c5df4-13f2-4573-84b3-b6f3356283f8", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385506470, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385506470, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "nat_type": "INTERNAL", "resource_type": "PolicyNat", "id": "INTERNAL", "display_name": "INTERNAL", "path": "/infra/tier-0s/pepsi/nat/INTERNAL", "relative_path": "INTERNAL", "parent_path": "/infra/tier-0s/pepsi", "unique_id": "8680b58e-7013-434a-af56-1917c25cbc75", "realization_id": "8680b58e-7013-434a-af56-1917c25cbc75", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385506447, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385506447, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "nat_type": "NAT64", "resource_type": "PolicyNat", "id": "NAT64", "display_name": "NAT64", "path": "/infra/tier-0s/pepsi/nat/NAT64", "relative_path": "NAT64", "parent_path": "/infra/tier-0s/pepsi", "unique_id": "a96329d1-c8d7-43c7-b2ac-5fb1283e4201", "realization_id": "a96329d1-c8d7-43c7-b2ac-5fb1283e4201", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385506470, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385506470, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "nat_type": "USER", "resource_type": "PolicyNat", "id": "USER", "display_name": "USER", "path": "/infra/tier-0s/pepsi/nat/USER", "relative_path": "USER", "parent_path": "/infra/tier-0s/pepsi", "unique_id": "d76c8c31-aff3-437c-bb13-be0c15e65afb", "realization_id": "d76c8c31-aff3-437c-bb13-be0c15e65afb", "marked_for_delete": false, "overridden": false, "_system_owned": true, "_create_time": 1633385506468, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1633385506468, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_nat_rules

Additional Errors: