Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
NAT Gateway Rule → Get Many
AI-generatedSummary
Retrieve multiple NAT gateway rules for a specific NAT gateway.
Inputs
- datacenterId (required) — The unique ID of the datacenter
- natGatewayId (required) — The unique ID of the NAT gateway
Output shape
An array of NAT gateway rule objects.
When returnAll is false, limit controls the maximum number of results (1-1000). When returnAll is true, all available rules are returned.
Examples
Example 1: Fetch up to 50 NAT gateway rules for a NAT gateway
datacenterId + natGatewayId, returnAll=false, limit=50