pub type GetSubnetResource = Subnet;Aliased Type§
pub struct GetSubnetResource {Show 13 fields
pub id: String,
pub crn: String,
pub vpc: ResourceRef,
pub route_table: SubnetRouteTable,
pub name: String,
pub description: Option<String>,
pub cidr_ipv4: String,
pub gateway_ipv4: String,
pub cidr_ipv6: Option<Nullable<String>>,
pub gateway_ipv6: Option<Nullable<String>>,
pub tags: BTreeMap<String, String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§crn: String§vpc: ResourceRef§route_table: SubnetRouteTableRoute table associated with this subnet; null when the table is unavailable.
name: StringResource 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§gateway_ipv4: String§cidr_ipv6: Option<Nullable<String>>The dual-stack IPv6 /64, if the subnet is v6-enabled. Its presence (vs the v4 cidr_ipv4) is how a client tells the subnet’s families apart.
gateway_ipv6: Option<Nullable<String>>§created_at: String§updated_at: String