pub type GetRouteResource = Route;Aliased Type§
pub struct GetRouteResource {
pub id: String,
pub crn: String,
pub description: Option<String>,
pub destination_cidr: String,
pub target_type: RouteTargetType,
pub next_hop_ip: Option<Nullable<String>>,
pub target_internet_gateway: Option<ResourceRef>,
pub target_nat_gateway: Option<ResourceRef>,
pub target_egress_only_gateway: Option<ResourceRef>,
pub tags: BTreeMap<String, String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§crn: String§description: Option<String>§destination_cidr: String§target_type: RouteTargetType§next_hop_ip: Option<Nullable<String>>Set when target_type=ip. Mutex with the target_* fields. Must be a unicast address inside this VPC’s CIDR (same IP family as destination_cidr); internet egress uses target_internet_gateway / target_nat_gateway.
target_internet_gateway: Option<ResourceRef>Set when target_type=internet_gateway.
target_nat_gateway: Option<ResourceRef>Set when target_type=nat_gateway. Supports IPv4 and IPv6; IPv6 requires an IPv6-enabled hosting subnet.
target_egress_only_gateway: Option<ResourceRef>Set when target_type=egress_only_gateway (IPv6 only). Gives the subnet outbound IPv6 and replies only.
created_at: String§updated_at: String