Class BgpPeerStatus

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

public class BgpPeerStatus extends Object
BGP peer status details.
  • Constructor Details

    • BgpPeerStatus

      public BgpPeerStatus()
  • Method Details

    • localAddress

      public String localAddress()
      Get the virtual network gateway's local address.
      Returns:
      the localAddress value
    • neighbor

      public String neighbor()
      Get the remote BGP peer.
      Returns:
      the neighbor value
    • asn

      public Integer asn()
      Get the autonomous system number of the remote BGP peer.
      Returns:
      the asn value
    • state

      public BgpPeerState state()
      Get the BGP peer state. Possible values include: 'Unknown', 'Stopped', 'Idle', 'Connecting', 'Connected'.
      Returns:
      the state value
    • connectedDuration

      public String connectedDuration()
      Get for how long the peering has been up.
      Returns:
      the connectedDuration value
    • routesReceived

      public Long routesReceived()
      Get the number of routes learned from this peer.
      Returns:
      the routesReceived value
    • messagesSent

      public Long messagesSent()
      Get the number of BGP messages sent.
      Returns:
      the messagesSent value
    • messagesReceived

      public Long messagesReceived()
      Get the number of BGP messages received.
      Returns:
      the messagesReceived value