Struct aws_sdk_ec2::model::IpamResourceCidr
source · [−]#[non_exhaustive]pub struct IpamResourceCidr {Show 15 fields
pub ipam_id: Option<String>,
pub ipam_scope_id: Option<String>,
pub ipam_pool_id: Option<String>,
pub resource_region: Option<String>,
pub resource_owner_id: Option<String>,
pub resource_id: Option<String>,
pub resource_name: Option<String>,
pub resource_cidr: Option<String>,
pub resource_type: Option<IpamResourceType>,
pub resource_tags: Option<Vec<IpamResourceTag>>,
pub ip_usage: Option<f64>,
pub compliance_status: Option<IpamComplianceStatus>,
pub management_state: Option<IpamManagementState>,
pub overlap_status: Option<IpamOverlapStatus>,
pub vpc_id: Option<String>,
}
Expand description
The CIDR for an IPAM resource.
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.ipam_id: Option<String>
The IPAM ID for an IPAM resource.
ipam_scope_id: Option<String>
The scope ID for an IPAM resource.
ipam_pool_id: Option<String>
The pool ID for an IPAM resource.
resource_region: Option<String>
The Amazon Web Services Region for an IPAM resource.
resource_owner_id: Option<String>
The Amazon Web Services account number of the owner of an IPAM resource.
resource_id: Option<String>
The ID of an IPAM resource.
resource_name: Option<String>
The name of an IPAM resource.
resource_cidr: Option<String>
The CIDR for an IPAM resource.
resource_type: Option<IpamResourceType>
The type of IPAM resource.
The tags for an IPAM resource.
ip_usage: Option<f64>
The IP address space in the IPAM pool that is allocated to this resource. To convert the decimal to a percentage, multiply the decimal by 100.
compliance_status: Option<IpamComplianceStatus>
The compliance status of the IPAM resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.
management_state: Option<IpamManagementState>
The management state of the resource. For more information about management states, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.
overlap_status: Option<IpamOverlapStatus>
The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.
vpc_id: Option<String>
The ID of a VPC.
Implementations
sourceimpl IpamResourceCidr
impl IpamResourceCidr
sourcepub fn ipam_scope_id(&self) -> Option<&str>
pub fn ipam_scope_id(&self) -> Option<&str>
The scope ID for an IPAM resource.
sourcepub fn ipam_pool_id(&self) -> Option<&str>
pub fn ipam_pool_id(&self) -> Option<&str>
The pool ID for an IPAM resource.
sourcepub fn resource_region(&self) -> Option<&str>
pub fn resource_region(&self) -> Option<&str>
The Amazon Web Services Region for an IPAM resource.
sourcepub fn resource_owner_id(&self) -> Option<&str>
pub fn resource_owner_id(&self) -> Option<&str>
The Amazon Web Services account number of the owner of an IPAM resource.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of an IPAM resource.
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
The name of an IPAM resource.
sourcepub fn resource_cidr(&self) -> Option<&str>
pub fn resource_cidr(&self) -> Option<&str>
The CIDR for an IPAM resource.
sourcepub fn resource_type(&self) -> Option<&IpamResourceType>
pub fn resource_type(&self) -> Option<&IpamResourceType>
The type of IPAM resource.
The tags for an IPAM resource.
sourcepub fn ip_usage(&self) -> Option<f64>
pub fn ip_usage(&self) -> Option<f64>
The IP address space in the IPAM pool that is allocated to this resource. To convert the decimal to a percentage, multiply the decimal by 100.
sourcepub fn compliance_status(&self) -> Option<&IpamComplianceStatus>
pub fn compliance_status(&self) -> Option<&IpamComplianceStatus>
The compliance status of the IPAM resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.
sourcepub fn management_state(&self) -> Option<&IpamManagementState>
pub fn management_state(&self) -> Option<&IpamManagementState>
The management state of the resource. For more information about management states, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.
sourcepub fn overlap_status(&self) -> Option<&IpamOverlapStatus>
pub fn overlap_status(&self) -> Option<&IpamOverlapStatus>
The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide.
sourceimpl IpamResourceCidr
impl IpamResourceCidr
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IpamResourceCidr
.
Trait Implementations
sourceimpl Clone for IpamResourceCidr
impl Clone for IpamResourceCidr
sourcefn clone(&self) -> IpamResourceCidr
fn clone(&self) -> IpamResourceCidr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IpamResourceCidr
impl Debug for IpamResourceCidr
sourceimpl PartialEq<IpamResourceCidr> for IpamResourceCidr
impl PartialEq<IpamResourceCidr> for IpamResourceCidr
sourcefn eq(&self, other: &IpamResourceCidr) -> bool
fn eq(&self, other: &IpamResourceCidr) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IpamResourceCidr) -> bool
fn ne(&self, other: &IpamResourceCidr) -> bool
This method tests for !=
.
impl StructuralPartialEq for IpamResourceCidr
Auto Trait Implementations
impl RefUnwindSafe for IpamResourceCidr
impl Send for IpamResourceCidr
impl Sync for IpamResourceCidr
impl Unpin for IpamResourceCidr
impl UnwindSafe for IpamResourceCidr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more