Struct aws_sdk_directconnect::model::VirtualInterface
source · [−]#[non_exhaustive]pub struct VirtualInterface { /* private fields */ }
Expand description
Information about a virtual interface.
Implementations
sourceimpl VirtualInterface
impl VirtualInterface
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 virtual interface.
sourcepub fn virtual_interface_id(&self) -> Option<&str>
pub fn virtual_interface_id(&self) -> Option<&str>
The ID of the virtual interface.
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of the connection.
sourcepub fn virtual_interface_type(&self) -> Option<&str>
pub fn virtual_interface_type(&self) -> Option<&str>
The type of virtual interface. The possible values are private
and public
.
sourcepub fn virtual_interface_name(&self) -> Option<&str>
pub fn virtual_interface_name(&self) -> Option<&str>
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
sourcepub fn asn(&self) -> i32
pub fn asn(&self) -> i32
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
sourcepub fn amazon_side_asn(&self) -> Option<i64>
pub fn amazon_side_asn(&self) -> Option<i64>
The autonomous system number (ASN) for the Amazon side of the connection.
sourcepub fn auth_key(&self) -> Option<&str>
pub fn auth_key(&self) -> Option<&str>
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
sourcepub fn amazon_address(&self) -> Option<&str>
pub fn amazon_address(&self) -> Option<&str>
The IP address assigned to the Amazon interface.
sourcepub fn customer_address(&self) -> Option<&str>
pub fn customer_address(&self) -> Option<&str>
The IP address assigned to the customer interface.
sourcepub fn address_family(&self) -> Option<&AddressFamily>
pub fn address_family(&self) -> Option<&AddressFamily>
The address family for the BGP peer.
sourcepub fn virtual_interface_state(&self) -> Option<&VirtualInterfaceState>
pub fn virtual_interface_state(&self) -> Option<&VirtualInterfaceState>
The state of the virtual interface. The following are the possible values:
-
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending
: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available
: A virtual interface that is able to forward traffic. -
down
: A virtual interface that is BGP down. -
deleting
: A virtual interface is in this state immediately after callingDeleteVirtualInterface
until it can no longer forward traffic. -
deleted
: A virtual interface that cannot forward traffic. -
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirming
state is deleted by the virtual interface owner, the virtual interface enters theRejected
state. -
unknown
: The state of the virtual interface is not available.
sourcepub fn customer_router_config(&self) -> Option<&str>
pub fn customer_router_config(&self) -> Option<&str>
The customer router configuration.
sourcepub fn mtu(&self) -> Option<i32>
pub fn mtu(&self) -> Option<i32>
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
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 virtual_gateway_id(&self) -> Option<&str>
pub fn virtual_gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway. Applies only to private virtual interfaces.
sourcepub fn direct_connect_gateway_id(&self) -> Option<&str>
pub fn direct_connect_gateway_id(&self) -> Option<&str>
The ID of the Direct Connect gateway.
sourcepub fn route_filter_prefixes(&self) -> Option<&[RouteFilterPrefix]>
pub fn route_filter_prefixes(&self) -> Option<&[RouteFilterPrefix]>
The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
sourcepub fn bgp_peers(&self) -> Option<&[BgpPeer]>
pub fn bgp_peers(&self) -> Option<&[BgpPeer]>
The BGP peers configured on this virtual interface.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The Amazon Web Services Region where the virtual interface is located.
sourcepub fn aws_device_v2(&self) -> Option<&str>
pub fn aws_device_v2(&self) -> Option<&str>
The Direct Connect endpoint that terminates the physical connection.
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.
The tags associated with the virtual interface.
sourcepub fn site_link_enabled(&self) -> Option<bool>
pub fn site_link_enabled(&self) -> Option<bool>
Indicates whether SiteLink is enabled.
sourceimpl VirtualInterface
impl VirtualInterface
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VirtualInterface
.
Trait Implementations
sourceimpl Clone for VirtualInterface
impl Clone for VirtualInterface
sourcefn clone(&self) -> VirtualInterface
fn clone(&self) -> VirtualInterface
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more