ncloud_create_subnet
Create a subnet in a Naver Cloud Platform VPC by specifying CIDR, zone, network ACL, and type. Use dryRun to preview without actual creation.
Instructions
Create a new subnet in a VPC. Use dryRun=true to preview without creating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number to create the subnet in | |
| dryRun | No | If true, returns a preview without actually creating the subnet | |
| subnet | Yes | Subnet CIDR block (e.g., 10.0.1.0/24) | |
| zoneCode | Yes | Zone code (e.g., KR-1, KR-2) | |
| subnetName | No | Subnet name (max 30 characters) | |
| networkAclNo | Yes | Network ACL number to associate | |
| usageTypeCode | No | Usage type code (GEN, LOADB, BM, NATGW). Default: GEN | |
| subnetTypeCode | Yes | Subnet type code (PUBLIC or PRIVATE) |