SubnetCreateRequest

SubnetCreateRequest

NameDescriptionSchemaDefault
allocation_pools
optional
Allocation Pools
Example : [{"start":"192.167.1.2", "end":"192.167.1.100"}]
array[object]
cidr
required
Subnet Cidr
Example : 192.167.1.0/24
string
description
optional
Description
Example : Subnet Description
any of [string, null]
dns_nameservers
optional
DNS Name Servers
Example : ["1.1.1.1", "2.2.2.2"]
array[string]
host_routes
optional
Host Routes
Example : [{"destination":"192.168.10.0/24", "nexthop":"192.168.10.0"}]
array[object]
name
required
Subnet Name
Example : subnetName
Pattern : ^[a-zA-Z0-9-]*$
Minimum length : 3
Maximum length : 20
string
tags
optional
Tag List
array[Tag]
type
required
Subnet Type
Example : GENERAL
enum (GENERAL, LOCAL, VPC_ENDPOINT)
vpc_id
required
VPC Id
Example : 7df8abb4912e4709b1cb237daccca7a8
string