Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
Firewall Rule → Get Many
AI-generatedSummary
Retrieve multiple firewall rules for a NIC
Inputs
- datacenterId (required) — The ID of the datacenter containing the NIC
- serverId (required) — The ID of the server to which the NIC belongs
- nicId (required) — The ID of the NIC whose firewall rules are fetched
- returnAll — If false (default), pagination limit applies; if true, all matching rules are returned
- limit — Maximum number of rules to return when returnAll is false; defaults to 50 and must be between 1 and 1000
Output shape
a list of firewall rule objects
Pagination governed by limit; when returnAll is true the full result set is returned, otherwise up to limit items.
Examples
Example 1: Fetch all firewall rules for a NIC without hitting the default limit
datacenterId = 12345, serverId = 67890, nicId = 54321, returnAll = true
Example 2: Retrieve up to 100 rules with explicit limit
datacenterId = 12345, serverId = 67890, nicId = 54321, limit = 100