IONOS Cloud Network icon

IONOS Cloud Network

Manage IONOS Cloud Network resources (LANs, NICs, IP Blocks, NAT Gateways, Firewall Rules, Flow Logs). Developped with Love by Ascenzia (ascenzia.fr)

Firewall Rule → Get Many

AI-generated

Summary

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

Links

Discussion