Skip to main content

CreateVpcBody

Type Alias CreateVpcBody 

Source
pub type CreateVpcBody = VpcCreateRequestInput;

Aliased Type§

pub struct CreateVpcBody {
    pub name: String,
    pub description: Option<String>,
    pub cidr_ipv4: String,
    pub allocate_cidr_ipv6: Option<bool>,
    pub tags: Option<BTreeMap<String, String>>,
    pub cidr_ipv6: Option<String>,
}

Fields§

§name: String

Resource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).

§description: Option<String>§cidr_ipv4: String

Must be private (RFC 1918): within 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16.

§allocate_cidr_ipv6: Option<bool>

Allocate a regional GUA /60. Mutually exclusive with cidr_ipv6. Existing IPv6 ranges cannot be replaced.

§tags: Option<BTreeMap<String, String>>§cidr_ipv6: Option<String>

Optional aligned locally assigned ULA (fd00::/8), /48 through /60. May be added after VPC creation.