Class BgpPeerStatus
java.lang.Object
com.azure.resourcemanager.network.models.BgpPeerStatus
BGP peer status details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasn()Get the asn property: The autonomous system number of the remote BGP peer.Get the connectedDuration property: For how long the peering has been up.Get the localAddress property: The virtual network gateway's local address.Get the messagesReceived property: The number of BGP messages received.Get the messagesSent property: The number of BGP messages sent.neighbor()Get the neighbor property: The remote BGP peer.Get the routesReceived property: The number of routes learned from this peer.state()Get the state property: The BGP peer state.voidvalidate()Validates the instance.
-
Constructor Details
-
BgpPeerStatus
public BgpPeerStatus()Creates an instance of BgpPeerStatus class.
-
-
Method Details
-
localAddress
Get the localAddress property: The virtual network gateway's local address.- Returns:
- the localAddress value.
-
neighbor
Get the neighbor property: The remote BGP peer.- Returns:
- the neighbor value.
-
asn
Get the asn property: The autonomous system number of the remote BGP peer.- Returns:
- the asn value.
-
state
Get the state property: The BGP peer state.- Returns:
- the state value.
-
connectedDuration
Get the connectedDuration property: For how long the peering has been up.- Returns:
- the connectedDuration value.
-
routesReceived
Get the routesReceived property: The number of routes learned from this peer.- Returns:
- the routesReceived value.
-
messagesSent
Get the messagesSent property: The number of BGP messages sent.- Returns:
- the messagesSent value.
-
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.
-