Class BgpPeerStatus
- java.lang.Object
-
- com.azure.resourcemanager.network.models.BgpPeerStatus
-
public final class BgpPeerStatus extends Object
BGP peer status details.
-
-
Constructor Summary
Constructors Constructor Description BgpPeerStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longasn()Get the asn property: The autonomous system number of the remote BGP peer.StringconnectedDuration()Get the connectedDuration property: For how long the peering has been up.StringlocalAddress()Get the localAddress property: The virtual network gateway's local address.LongmessagesReceived()Get the messagesReceived property: The number of BGP messages received.LongmessagesSent()Get the messagesSent property: The number of BGP messages sent.Stringneighbor()Get the neighbor property: The remote BGP peer.LongroutesReceived()Get the routesReceived property: The number of routes learned from this peer.BgpPeerStatestate()Get the state property: The BGP peer state.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
localAddress
public String localAddress()
Get the localAddress property: The virtual network gateway's local address.- Returns:
- the localAddress value.
-
neighbor
public String neighbor()
Get the neighbor property: The remote BGP peer.- Returns:
- the neighbor value.
-
asn
public Long asn()
Get the asn property: The autonomous system number of the remote BGP peer.- Returns:
- the asn value.
-
state
public BgpPeerState state()
Get the state property: The BGP peer state.- Returns:
- the state value.
-
connectedDuration
public String connectedDuration()
Get the connectedDuration property: For how long the peering has been up.- Returns:
- the connectedDuration value.
-
routesReceived
public Long routesReceived()
Get the routesReceived property: The number of routes learned from this peer.- Returns:
- the routesReceived value.
-
messagesSent
public Long messagesSent()
Get the messagesSent property: The number of BGP messages sent.- Returns:
- the messagesSent value.
-
messagesReceived
public Long messagesReceived()
Get the messagesReceived property: The number of BGP messages received.- Returns:
- the messagesReceived value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-