BgpPeerStatus Class
- java.
lang. Object - com.
microsoft. azure. management. network. BgpPeerStatus
- com.
public class BgpPeerStatus
BGP peer status details.
Constructor | Description | |
---|---|---|
Bgp |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
asn()
Get the autonomous system number of the remote BGP peer. |
java.lang.String |
connected Get for how long the peering has been up. |
java.lang.String |
local Get the virtual network gateway's local address. |
java.lang.Long |
messages Get the number of BGP messages received. |
java.lang.Long |
messages Get the number of BGP messages sent. |
java.lang.String |
neighbor()
Get the remote BGP peer. |
java.lang.Long |
routes Get the number of routes learned from this peer. |
Bgp |
state()
Get the BGP peer state. |
BgpPeerStatus
public BgpPeerStatus()
asn
public Integer asn()
Get the autonomous system number of the remote BGP peer.
Returns:
connectedDuration
public String connectedDuration()
Get for how long the peering has been up.
Returns:
localAddress
public String localAddress()
Get the virtual network gateway's local address.
Returns:
messagesReceived
public Long messagesReceived()
Get the number of BGP messages received.
Returns:
messagesSent
public Long messagesSent()
Get the number of BGP messages sent.
Returns:
neighbor
public String neighbor()
Get the remote BGP peer.
Returns:
routesReceived
public Long routesReceived()
Get the number of routes learned from this peer.
Returns:
state
public BgpPeerState state()
Get the BGP peer state. Possible values include: 'Unknown', 'Stopped', 'Idle', 'Connecting', 'Connected'.
Returns: