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 → Create

AI-generated

Summary

Create a LAN in a specified datacenter

Inputs

  • datacenterId (required) — The unique identifier of the datacenter where the LAN will be created
  • lanName (required) — The name to assign to the new LAN
  • additionalFields — Optional extra settings such as Public, PCC ID, IPv4 CIDR Block, and IPv6 CIDR Block

Output shape

a single LAN object

Returns the created LAN resource, including its generated ID and any read‑only fields like IPv4 CIDR Block; may contain optional fields that are only present after creation

Examples

Example 1: Create a basic LAN with name and default additional fields

datacenterId: dc-12345, lanName: MyLAN, additionalFields: {}

Example 2: Create a LAN with public internet and IPv4 CIDR block

datacenterId: dc-12345, lanName: PublicLAN, additionalFields: {"public": true, "ipv4CidrBlock": "10.0.0.0/24"}

Links

Discussion