pub struct SubnetRequired {
pub cidr_block: String,
pub compartment_id: String,
pub id: String,
pub lifecycle_state: SubnetLifecycleState,
pub route_table_id: String,
pub vcn_id: String,
pub virtual_router_ip: String,
pub virtual_router_mac: String,
}Expand description
Required fields for Subnet
Fields§
§cidr_block: StringThe subnet’s CIDR block.
Example: {@code 10.0.1.0/24}
compartment_id: StringThe OCID of the compartment containing the subnet.
id: StringThe subnet’s Oracle ID (OCID).
lifecycle_state: SubnetLifecycleStateThe subnet’s current state.
route_table_id: StringThe OCID of the route table that the subnet uses.
vcn_id: StringThe OCID of the VCN the subnet is in.
virtual_router_ip: StringThe IP address of the virtual router.
Example: {@code 10.0.14.1}
virtual_router_mac: StringThe MAC address of the virtual router.
Example: {@code 00:00:00:00:00:01}
Auto Trait Implementations§
impl Freeze for SubnetRequired
impl RefUnwindSafe for SubnetRequired
impl Send for SubnetRequired
impl Sync for SubnetRequired
impl Unpin for SubnetRequired
impl UnsafeUnpin for SubnetRequired
impl UnwindSafe for SubnetRequired
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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