pub struct RouteCreateRequestInput {
pub description: Option<String>,
pub destination_cidr: String,
pub next_hop_ip: Option<Nullable<String>>,
pub target_internet_gateway: Option<String>,
pub target_nat_gateway: Option<String>,
pub target_egress_only_gateway: Option<String>,
pub tags: Option<BTreeMap<String, String>>,
}Fields§
§description: Option<String>§destination_cidr: String§next_hop_ip: Option<Nullable<String>>Unicast next hop inside this VPC’s CIDR (same IP family as destination_cidr). Not for internet egress — use a gateway target id instead.
target_internet_gateway: Option<String>Gateway UUID, CRN or exact account-scoped name. Must belong to the route table VPC and match the destination_cidr address family. Exactly one route target is required.
target_nat_gateway: Option<String>Gateway UUID, CRN or exact account-scoped name. Must belong to the route table VPC and match the destination_cidr address family. Exactly one route target is required.
target_egress_only_gateway: Option<String>Gateway UUID, CRN or exact account-scoped name. Must belong to the route table VPC and match the destination_cidr address family. Exactly one route target is required.
Implementations§
Trait Implementations§
Source§impl Clone for RouteCreateRequestInput
impl Clone for RouteCreateRequestInput
Source§impl Debug for RouteCreateRequestInput
impl Debug for RouteCreateRequestInput
Source§impl<'de> Deserialize<'de> for RouteCreateRequestInput
impl<'de> Deserialize<'de> for RouteCreateRequestInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RouteCreateRequestInput
impl RefUnwindSafe for RouteCreateRequestInput
impl Send for RouteCreateRequestInput
impl Sync for RouteCreateRequestInput
impl Unpin for RouteCreateRequestInput
impl UnsafeUnpin for RouteCreateRequestInput
impl UnwindSafe for RouteCreateRequestInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more