ncloud_create_network_interface
Create a new network interface in a VPC subnet by specifying the VPC, subnet, and 1-3 access control groups; set dryRun to preview before creation.
Instructions
Create a new network interface in a VPC subnet. vpcNo, subnetNo and 1-3 ACG numbers are required. Use dryRun=true to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Primary private IP within the subnet range (auto-assigned when omitted; the first 6 and the last subnet addresses are reserved) | |
| vpcNo | Yes | VPC number the subnet belongs to (required; see ncloud_list_vpcs) | |
| dryRun | No | If true, returns a preview without actually creating | |
| subnetNo | Yes | Subnet number to create the network interface in (required) | |
| isBareMetal | No | true for a bare-metal server interface (requires serverInstanceNo) | |
| secondaryIpList | No | Secondary IPs to assign (together with secondaryIpCount at most 5) | |
| secondaryIpCount | No | Number of secondary IPs to auto-assign (0-5) | |
| serverInstanceNo | No | Server instance to attach to on creation (private-subnet interfaces only) | |
| networkInterfaceName | No | Network interface name (3-30 chars: lowercase letters, digits, '-'; auto-generated when omitted) | |
| accessControlGroupNoList | Yes | List of ACG numbers to apply (1-3) | |
| networkInterfaceDescription | No | Network interface description (up to 1000 bytes) |