IONOS Cloud (Infrastructure) icon

IONOS Cloud (Infrastructure)

Manage IONOS Cloud infrastructure resources

Actions140

Firewall Rule → Get Many

AI-generated

Summary

Gets firewall rules for a specific NIC in a server within a datacenter.

Inputs

  • datacenterId (required) — ID of the datacenter containing the server.
  • serverId (required) — ID of the server that owns the NIC.
  • nicId (required) — ID of the NIC whose firewall rules are listed.
  • limit — Maximum number of rules to return per page (default 50, used when Return All is disabled).
  • returnAll — If true, returns all rules using pagination; otherwise respects limit.
  • includeRequestStatus — Include request tracking ID and status URL from async operations.
  • includeResponseHeaders — Include HTTP response headers and status code; response body nested under body key.
  • requestOptions — Advanced HTTP options (batching, SSL, proxy, timeout).

Output shape

Array of firewall rule objects; when Include Response Headers is true, an object { body: [...], headers: {}, statusCode: number }. When Return All is true, the array contains all matching rules.

Default limit is 50 per page.

Links

Discussion