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)

LAN → Get Many

AI-generated

Summary

Retrieves multiple LANs in a datacenter

Inputs

  • datacenterId (required) — The unique ID of the datacenter
  • returnAll — Whether to return all results or only up to a given limit
  • limit — Max number of results to return (1‑1000); used only when Return All is disabled

Output shape

an array of LAN objects

Each item represents a LAN; pagination controlled by returnAll and limit; default limit 50, maximum 1000

Examples

Example 1: Fetch all LANs without pagination

resource=lan, operation=getMany, returnAll=true (no limit)

Example 2: Fetch a bounded list of LANs

resource=lan, operation=getMany, returnAll=false, limit=50

Example 3: Iterate through pages of LANs

First call: resource=lan, operation=getMany, returnAll=false, limit=100; subsequent calls repeat the same parameters until fewer than limit items are returned

Links

Discussion