Skip to content

exo networking vpc subnet create

Description

This command creates a Subnet in a Virtual Private Cloud.

–address-family and –address-space are required.

Supported output template annotations: .ID, .Name, .Description, .Zone, .CreatedAt, .AddressFamily, .AddressSpace, .IPv4Block, .Labels, .Instances

exo networking vpc subnet create VPC-NAME|ID NAME [flags]

Options

OptionDescription
--address-familySubnet address family (currently only "inet4" is supported)
--address-spaceSubnet address space (currently only "private" is supported)
--descriptionSubnet description
--help, -hhelp for create
--ipv4-blockSubnet IPv4 CIDR (e.g. 10.0.0.0/24)
--labelSubnet label (format: key=value)
--zone, -zVPC zone

Options inherited from parent commands

OptionDescription
--config, -CSpecify an alternate config file [env EXOSCALE_CONFIG]
--output-format, -OOutput format (table|json|text), see "exo output –help" for more information
--output-templateTemplate to use if output format is "text"
--quiet, -QQuiet mode (disable non-essential command output)
--timeoutPer-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT]
--use-account, -AAccount to use in config file [env EXOSCALE_ACCOUNT]

Related Commands

Last updated on