create
Create a new subnet network in your project. This command allows you to add a new subnet with the specified details.
Usage
cldkctl flexi network subnet create [flags]Aliases
create, crt, addSteps
Follow the steps below to run and view the result of this command:
Interactive Mode
Run the following command in your terminal:
cldkctl flexi network subnet create -iThe terminal displays a list of available VPCs. Select the VPC where the subnet will be created.
Enter the Subnet Name.
Enter the IP address for the subnet.
Select the Network Size for the subnet.

When prompted, confirm the action by selecting y, or cancel the process by selecting n.

Once completed successfully, the terminal displays the success message.

Non-Interactive Mode
Provide all required values using command flags.
Add
--auto-confirmor-yto skip confirmation prompts in non-interactive mode.Run the command in your terminal.
Once completed successfully, the terminal displays the success message.

Flags
--auto-confirm
-y
false
Skip confirmation prompt in non-interactive mode
--help
-h
Help for the create command.
--interactive
-i
false
Force interactive TUI mode
--ip string
IP address
--name string
-n
Subnet name (required in non-interactive mode)
--network-size string
Network size: 6, 18, 24, or 29
--vpc-id string
VPC ID (required in non-interactive mode)
Last updated
