Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
NIC → Create
AI-generatedSummary
Creates a NIC on a specified server within a datacenter
Inputs
- datacenterId (required) — The unique ID of the datacenter
- serverId (required) — The unique ID of the server
- nicName (required) — The name of the NIC
- lan (required) — The LAN to connect the NIC to
- additionalFields — Additional configuration options for the NIC (e.g., DHCP, firewall settings, IPs)
Output shape
a single NIC object
Returns the created NIC details; no pagination or envelope wrapping
Examples
Example 1: Create a NIC named 'web-nic' on server '12345' in datacenter '98765' with DHCP enabled
datacenterId: '98765', serverId: '12345', nicName: 'web-nic', lan: '1', additionalFields: { dhcp: true }