Struct aws_sdk_directconnect::operation::confirm_private_virtual_interface::ConfirmPrivateVirtualInterfaceOutput
source · #[non_exhaustive]pub struct ConfirmPrivateVirtualInterfaceOutput {
pub virtual_interface_state: Option<VirtualInterfaceState>,
/* private fields */
}
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.virtual_interface_state: 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.
Implementations§
source§impl ConfirmPrivateVirtualInterfaceOutput
impl ConfirmPrivateVirtualInterfaceOutput
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.
source§impl ConfirmPrivateVirtualInterfaceOutput
impl ConfirmPrivateVirtualInterfaceOutput
sourcepub fn builder() -> ConfirmPrivateVirtualInterfaceOutputBuilder
pub fn builder() -> ConfirmPrivateVirtualInterfaceOutputBuilder
Creates a new builder-style object to manufacture ConfirmPrivateVirtualInterfaceOutput
.
Trait Implementations§
source§impl Clone for ConfirmPrivateVirtualInterfaceOutput
impl Clone for ConfirmPrivateVirtualInterfaceOutput
source§fn clone(&self) -> ConfirmPrivateVirtualInterfaceOutput
fn clone(&self) -> ConfirmPrivateVirtualInterfaceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ConfirmPrivateVirtualInterfaceOutput
impl PartialEq for ConfirmPrivateVirtualInterfaceOutput
source§fn eq(&self, other: &ConfirmPrivateVirtualInterfaceOutput) -> bool
fn eq(&self, other: &ConfirmPrivateVirtualInterfaceOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ConfirmPrivateVirtualInterfaceOutput
impl RequestId for ConfirmPrivateVirtualInterfaceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.