list_nat_rules
List NAT rules on a Tier-1 gateway using pagination to inspect existing rules before creating or deleting, helping avoid ID conflicts and verify rule intent.
Instructions
[READ] List NAT rules on a Tier-1 gateway (USER section).
Returns the result envelope; check truncated before calling it complete.
Page it: limit is the page size (1-1000, default 50; 0 or negative is
rejected), offset is how many rows to skip, and the response carries
next_offset — pass that back as offset and stop when it is null. Do not
loop on truncated: that says this page is not the whole collection, so it
stays true on the last page of a walk.
Get tier1_id from list_tier1_gateways first. Use this before create_nat_rule to avoid an id clash, and before delete_nat_rule to confirm what a rule does. Only the USER section is listed — NSX-internal NAT is not shown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1-1000 (default 50). | |
| offset | No | Rows to skip; pass the previous response's `next_offset`. | |
| target | No | NSX Manager target from config (default if omitted). | |
| tier1_id | Yes | Gateway ID, as returned by list_tier1_gateways. |