Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
LAN → Create
AI-generatedSummary
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"}