Struct aws_sdk_ec2::model::IpamScope
source · [−]#[non_exhaustive]pub struct IpamScope { /* private fields */ }
Expand description
In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
For more information, see How IPAM works in the Amazon VPC IPAM User Guide.
Implementations
sourceimpl IpamScope
impl IpamScope
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The Amazon Web Services account ID of the owner of the scope.
sourcepub fn ipam_scope_id(&self) -> Option<&str>
pub fn ipam_scope_id(&self) -> Option<&str>
The ID of the scope.
sourcepub fn ipam_scope_arn(&self) -> Option<&str>
pub fn ipam_scope_arn(&self) -> Option<&str>
The ARN of the scope.
sourcepub fn ipam_region(&self) -> Option<&str>
pub fn ipam_region(&self) -> Option<&str>
The Amazon Web Services Region of the IPAM scope.
sourcepub fn ipam_scope_type(&self) -> Option<&IpamScopeType>
pub fn ipam_scope_type(&self) -> Option<&IpamScopeType>
The type of the scope.
sourcepub fn is_default(&self) -> Option<bool>
pub fn is_default(&self) -> Option<bool>
Defines if the scope is the default scope or not.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the scope.
sourcepub fn pool_count(&self) -> Option<i32>
pub fn pool_count(&self) -> Option<i32>
The number of pools in the scope.
sourcepub fn state(&self) -> Option<&IpamScopeState>
pub fn state(&self) -> Option<&IpamScopeState>
The state of the IPAM scope.
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
Trait Implementations
sourceimpl PartialEq<IpamScope> for IpamScope
impl PartialEq<IpamScope> for IpamScope
impl StructuralPartialEq for IpamScope
Auto Trait Implementations
impl RefUnwindSafe for IpamScope
impl Send for IpamScope
impl Sync for IpamScope
impl Unpin for IpamScope
impl UnwindSafe for IpamScope
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