Struct rusoto_directconnect::BGPPeer
source · [−]pub struct BGPPeer {
pub address_family: Option<String>,
pub amazon_address: Option<String>,
pub asn: Option<i64>,
pub auth_key: Option<String>,
pub aws_device_v2: Option<String>,
pub bgp_peer_id: Option<String>,
pub bgp_peer_state: Option<String>,
pub bgp_status: Option<String>,
pub customer_address: Option<String>,
}
Expand description
Information about a BGP peer.
Fields
address_family: Option<String>
The address family for the BGP peer.
amazon_address: Option<String>
The IP address assigned to the Amazon interface.
asn: Option<i64>
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
auth_key: Option<String>
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
aws_device_v2: Option<String>
The Direct Connect endpoint on which the BGP peer terminates.
bgp_peer_id: Option<String>
The ID of the BGP peer.
bgp_peer_state: Option<String>
The state of the BGP peer. The following are the possible values:
-
verifying
: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces. -
pending
: The BGP peer is created, and remains in this state until it is ready to be established. -
available
: The BGP peer is ready to be established. -
deleting
: The BGP peer is being deleted. -
deleted
: The BGP peer is deleted and cannot be established.
bgp_status: Option<String>
The status of the BGP peer. The following are the possible values:
-
up
: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session. -
down
: The BGP peer is down. -
unknown
: The BGP peer status is not available.
customer_address: Option<String>
The IP address assigned to the customer interface.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for BGPPeer
impl<'de> Deserialize<'de> for BGPPeer
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BGPPeer
Auto Trait Implementations
impl RefUnwindSafe for BGPPeer
impl Send for BGPPeer
impl Sync for BGPPeer
impl Unpin for BGPPeer
impl UnwindSafe for BGPPeer
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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