BgpPeerStatus Class

  • java.lang.Object
    • com.microsoft.azure.management.network.BgpPeerStatus

public class BgpPeerStatus

BGP peer status details.

Constructor Summary

Constructor Description
BgpPeerStatus()

Method Summary

Modifier and Type Method and Description
java.lang.Integer asn()

Get the autonomous system number of the remote BGP peer.

java.lang.String connectedDuration()

Get for how long the peering has been up.

java.lang.String localAddress()

Get the virtual network gateway's local address.

java.lang.Long messagesReceived()

Get the number of BGP messages received.

java.lang.Long messagesSent()

Get the number of BGP messages sent.

java.lang.String neighbor()

Get the remote BGP peer.

java.lang.Long routesReceived()

Get the number of routes learned from this peer.

BgpPeerState state()

Get the BGP peer state.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BgpPeerStatus

public BgpPeerStatus()

Method Details

asn

public Integer asn()

Get the autonomous system number of the remote BGP peer.

Returns:

the asn value

connectedDuration

public String connectedDuration()

Get for how long the peering has been up.

Returns:

the connectedDuration value

localAddress

public String localAddress()

Get the virtual network gateway's local address.

Returns:

the localAddress value

messagesReceived

public Long messagesReceived()

Get the number of BGP messages received.

Returns:

the messagesReceived value

messagesSent

public Long messagesSent()

Get the number of BGP messages sent.

Returns:

the messagesSent value

neighbor

public String neighbor()

Get the remote BGP peer.

Returns:

the neighbor value

routesReceived

public Long routesReceived()

Get the number of routes learned from this peer.

Returns:

the routesReceived value

state

public BgpPeerState state()

Get the BGP peer state. Possible values include: 'Unknown', 'Stopped', 'Idle', 'Connecting', 'Connected'.

Returns:

the state value

Applies to