Struct aws_sdk_ec2::types::IpamPoolCidr
source · #[non_exhaustive]pub struct IpamPoolCidr {
pub cidr: Option<String>,
pub state: Option<IpamPoolCidrState>,
pub failure_reason: Option<IpamPoolCidrFailureReason>,
pub ipam_pool_cidr_id: Option<String>,
pub netmask_length: Option<i32>,
}
Expand description
A CIDR provisioned to an IPAM pool.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cidr: Option<String>
The CIDR provisioned to the IPAM pool. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23
. An IPv6 CIDR example is 2001:DB8::/32
.
state: Option<IpamPoolCidrState>
The state of the CIDR.
failure_reason: Option<IpamPoolCidrFailureReason>
Details related to why an IPAM pool CIDR failed to be provisioned.
ipam_pool_cidr_id: Option<String>
The IPAM pool CIDR ID.
netmask_length: Option<i32>
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.
Implementations§
source§impl IpamPoolCidr
impl IpamPoolCidr
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The CIDR provisioned to the IPAM pool. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23
. An IPv6 CIDR example is 2001:DB8::/32
.
sourcepub fn state(&self) -> Option<&IpamPoolCidrState>
pub fn state(&self) -> Option<&IpamPoolCidrState>
The state of the CIDR.
sourcepub fn failure_reason(&self) -> Option<&IpamPoolCidrFailureReason>
pub fn failure_reason(&self) -> Option<&IpamPoolCidrFailureReason>
Details related to why an IPAM pool CIDR failed to be provisioned.
sourcepub fn ipam_pool_cidr_id(&self) -> Option<&str>
pub fn ipam_pool_cidr_id(&self) -> Option<&str>
The IPAM pool CIDR ID.
sourcepub fn netmask_length(&self) -> Option<i32>
pub fn netmask_length(&self) -> Option<i32>
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.
source§impl IpamPoolCidr
impl IpamPoolCidr
sourcepub fn builder() -> IpamPoolCidrBuilder
pub fn builder() -> IpamPoolCidrBuilder
Creates a new builder-style object to manufacture IpamPoolCidr
.
Trait Implementations§
source§impl Clone for IpamPoolCidr
impl Clone for IpamPoolCidr
source§fn clone(&self) -> IpamPoolCidr
fn clone(&self) -> IpamPoolCidr
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IpamPoolCidr
impl Debug for IpamPoolCidr
source§impl PartialEq<IpamPoolCidr> for IpamPoolCidr
impl PartialEq<IpamPoolCidr> for IpamPoolCidr
source§fn eq(&self, other: &IpamPoolCidr) -> bool
fn eq(&self, other: &IpamPoolCidr) -> bool
self
and other
values to be equal, and is used
by ==
.