Struct aws_sdk_ec2::types::IpamScope
source · #[non_exhaustive]pub struct IpamScope {
pub owner_id: Option<String>,
pub ipam_scope_id: Option<String>,
pub ipam_scope_arn: Option<String>,
pub ipam_arn: Option<String>,
pub ipam_region: Option<String>,
pub ipam_scope_type: Option<IpamScopeType>,
pub is_default: Option<bool>,
pub description: Option<String>,
pub pool_count: Option<i32>,
pub state: Option<IpamScopeState>,
pub tags: Option<Vec<Tag>>,
}
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.
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.owner_id: Option<String>
The Amazon Web Services account ID of the owner of the scope.
ipam_scope_id: Option<String>
The ID of the scope.
ipam_scope_arn: Option<String>
The Amazon Resource Name (ARN) of the scope.
ipam_arn: Option<String>
The ARN of the IPAM.
ipam_region: Option<String>
The Amazon Web Services Region of the IPAM scope.
ipam_scope_type: Option<IpamScopeType>
The type of the scope.
is_default: Option<bool>
Defines if the scope is the default scope or not.
description: Option<String>
The description of the scope.
pool_count: Option<i32>
The number of pools in the scope.
state: 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.
Implementations§
source§impl 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 Amazon Resource Name (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.