#[non_exhaustive]pub struct ConfirmTransitVirtualInterfaceOutput {
pub virtual_interface_state: Option<VirtualInterfaceState>,
}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 callingDeleteVirtualInterfaceuntil 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 theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
Implementations
sourceimpl ConfirmTransitVirtualInterfaceOutput
impl ConfirmTransitVirtualInterfaceOutput
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 callingDeleteVirtualInterfaceuntil 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 theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
sourceimpl ConfirmTransitVirtualInterfaceOutput
impl ConfirmTransitVirtualInterfaceOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConfirmTransitVirtualInterfaceOutput.
Trait Implementations
sourceimpl Clone for ConfirmTransitVirtualInterfaceOutput
impl Clone for ConfirmTransitVirtualInterfaceOutput
sourcefn clone(&self) -> ConfirmTransitVirtualInterfaceOutput
fn clone(&self) -> ConfirmTransitVirtualInterfaceOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<ConfirmTransitVirtualInterfaceOutput> for ConfirmTransitVirtualInterfaceOutput
impl PartialEq<ConfirmTransitVirtualInterfaceOutput> for ConfirmTransitVirtualInterfaceOutput
sourcefn eq(&self, other: &ConfirmTransitVirtualInterfaceOutput) -> bool
fn eq(&self, other: &ConfirmTransitVirtualInterfaceOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConfirmTransitVirtualInterfaceOutput) -> bool
fn ne(&self, other: &ConfirmTransitVirtualInterfaceOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for ConfirmTransitVirtualInterfaceOutput
Auto Trait Implementations
impl RefUnwindSafe for ConfirmTransitVirtualInterfaceOutput
impl Send for ConfirmTransitVirtualInterfaceOutput
impl Sync for ConfirmTransitVirtualInterfaceOutput
impl Unpin for ConfirmTransitVirtualInterfaceOutput
impl UnwindSafe for ConfirmTransitVirtualInterfaceOutput
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