Struct aws_sdk_directconnect::model::Lag
source · [−]#[non_exhaustive]pub struct Lag { /* private fields */ }
Expand description
Information about a link aggregation group (LAG).
Implementations
sourceimpl Lag
impl Lag
sourcepub fn connections_bandwidth(&self) -> Option<&str>
pub fn connections_bandwidth(&self) -> Option<&str>
The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
sourcepub fn number_of_connections(&self) -> i32
pub fn number_of_connections(&self) -> i32
The number of physical dedicated connections bundled by the LAG, up to a maximum of 10.
sourcepub fn owner_account(&self) -> Option<&str>
pub fn owner_account(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the LAG.
sourcepub fn lag_state(&self) -> Option<&LagState>
pub fn lag_state(&self) -> Option<&LagState>
The state of the LAG. The following are the possible values:
-
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter of Authorization (LOA) is available. -
pending
: The LAG has been approved and is being initialized. -
available
: The network link is established and the LAG is ready for use. -
down
: The network link is down. -
deleting
: The LAG is being deleted. -
deleted
: The LAG is deleted. -
unknown
: The state of the LAG is not available.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The Amazon Web Services Region where the connection is located.
sourcepub fn minimum_links(&self) -> i32
pub fn minimum_links(&self) -> i32
The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
sourcepub fn aws_device(&self) -> Option<&str>
pub fn aws_device(&self) -> Option<&str>
The Direct Connect endpoint that hosts the LAG.
sourcepub fn aws_device_v2(&self) -> Option<&str>
pub fn aws_device_v2(&self) -> Option<&str>
The Direct Connect endpoint that hosts the LAG.
sourcepub fn aws_logical_device_id(&self) -> Option<&str>
pub fn aws_logical_device_id(&self) -> Option<&str>
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
sourcepub fn connections(&self) -> Option<&[Connection]>
pub fn connections(&self) -> Option<&[Connection]>
The connections bundled by the LAG.
sourcepub fn allows_hosted_connections(&self) -> bool
pub fn allows_hosted_connections(&self) -> bool
Indicates whether the LAG can host other connections.
sourcepub fn jumbo_frame_capable(&self) -> Option<bool>
pub fn jumbo_frame_capable(&self) -> Option<bool>
Indicates whether jumbo frames (9001 MTU) are supported.
sourcepub fn has_logical_redundancy(&self) -> Option<&HasLogicalRedundancy>
pub fn has_logical_redundancy(&self) -> Option<&HasLogicalRedundancy>
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
The tags associated with the LAG.
sourcepub fn provider_name(&self) -> Option<&str>
pub fn provider_name(&self) -> Option<&str>
The name of the service provider associated with the LAG.
sourcepub fn mac_sec_capable(&self) -> Option<bool>
pub fn mac_sec_capable(&self) -> Option<bool>
Indicates whether the LAG supports MAC Security (MACsec).
sourcepub fn encryption_mode(&self) -> Option<&str>
pub fn encryption_mode(&self) -> Option<&str>
The LAG MAC Security (MACsec) encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
sourcepub fn mac_sec_keys(&self) -> Option<&[MacSecKey]>
pub fn mac_sec_keys(&self) -> Option<&[MacSecKey]>
The MAC Security (MACsec) security keys associated with the LAG.