BgpPeerStatus Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. BgpPeerStatus
- com.
Implements
public final class BgpPeerStatus
implements JsonSerializable<BgpPeerStatus>
BGP peer status details.
Constructor Summary
Constructor | Description |
---|---|
BgpPeerStatus() |
Creates an instance of Bgp |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
asn()
Get the asn property: The autonomous system number of the remote BGP peer. |
String |
connectedDuration()
Get the connected |
static
Bgp |
fromJson(JsonReader jsonReader)
Reads an instance of Bgp |
String |
localAddress()
Get the local |
Long |
messagesReceived()
Get the messages |
Long |
messagesSent()
Get the messages |
String |
neighbor()
Get the neighbor property: The remote BGP peer. |
Long |
routesReceived()
Get the routes |
Bgp |
state()
Get the state property: The BGP peer state. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
BgpPeerStatus
public BgpPeerStatus()
Creates an instance of BgpPeerStatus class.
Method Details
asn
public Long asn()
Get the asn property: The autonomous system number of the remote BGP peer.
Returns:
connectedDuration
public String connectedDuration()
Get the connectedDuration property: For how long the peering has been up.
Returns:
fromJson
public static BgpPeerStatus fromJson(JsonReader jsonReader)
Reads an instance of BgpPeerStatus from the JsonReader.
Parameters:
Returns:
Throws:
localAddress
public String localAddress()
Get the localAddress property: The virtual network gateway's local address.
Returns:
messagesReceived
public Long messagesReceived()
Get the messagesReceived property: The number of BGP messages received.
Returns:
messagesSent
public Long messagesSent()
Get the messagesSent property: The number of BGP messages sent.
Returns:
neighbor
public String neighbor()
Get the neighbor property: The remote BGP peer.
Returns:
routesReceived
public Long routesReceived()
Get the routesReceived property: The number of routes learned from this peer.
Returns:
state
public BgpPeerState state()
Get the state property: The BGP peer state.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java