azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

158 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.BgpPeerStatus"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus"
name: "BgpPeerStatus"
nameWithType: "BgpPeerStatus"
summary: "BGP peer status details."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **BgpPeerStatus**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.BgpPeerStatus?alt=com.azure.resourcemanager.network.models.BgpPeerStatus&text=BgpPeerStatus\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.BgpPeerStatus()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.BgpPeerStatus()"
name: "BgpPeerStatus()"
nameWithType: "BgpPeerStatus.BgpPeerStatus()"
summary: "Creates an instance of Bgp<wbr>Peer<wbr>Status class."
syntax: "public BgpPeerStatus()"
desc: "Creates an instance of BgpPeerStatus class."
methods:
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.asn()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.asn()"
name: "asn()"
nameWithType: "BgpPeerStatus.asn()"
summary: "Get the asn property: The autonomous system number of the remote BGP peer."
syntax: "public Long asn()"
desc: "Get the asn property: The autonomous system number of the remote BGP peer."
returns:
description: "the asn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.connectedDuration()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.connectedDuration()"
name: "connectedDuration()"
nameWithType: "BgpPeerStatus.connectedDuration()"
summary: "Get the connected<wbr>Duration property: For how long the peering has been up."
syntax: "public String connectedDuration()"
desc: "Get the connectedDuration property: For how long the peering has been up."
returns:
description: "the connectedDuration value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "BgpPeerStatus.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Bgp<wbr>Peer<wbr>Status from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static BgpPeerStatus fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the BgpPeerStatus."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of BgpPeerStatus from the JsonReader."
returns:
description: "An instance of BgpPeerStatus if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.BgpPeerStatus?alt=com.azure.resourcemanager.network.models.BgpPeerStatus&text=BgpPeerStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.localAddress()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.localAddress()"
name: "localAddress()"
nameWithType: "BgpPeerStatus.localAddress()"
summary: "Get the local<wbr>Address property: The virtual network gateway's local address."
syntax: "public String localAddress()"
desc: "Get the localAddress property: The virtual network gateway's local address."
returns:
description: "the localAddress value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.messagesReceived()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.messagesReceived()"
name: "messagesReceived()"
nameWithType: "BgpPeerStatus.messagesReceived()"
summary: "Get the messages<wbr>Received property: The number of BGP messages received."
syntax: "public Long messagesReceived()"
desc: "Get the messagesReceived property: The number of BGP messages received."
returns:
description: "the messagesReceived value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.messagesSent()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.messagesSent()"
name: "messagesSent()"
nameWithType: "BgpPeerStatus.messagesSent()"
summary: "Get the messages<wbr>Sent property: The number of BGP messages sent."
syntax: "public Long messagesSent()"
desc: "Get the messagesSent property: The number of BGP messages sent."
returns:
description: "the messagesSent value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.neighbor()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.neighbor()"
name: "neighbor()"
nameWithType: "BgpPeerStatus.neighbor()"
summary: "Get the neighbor property: The remote BGP peer."
syntax: "public String neighbor()"
desc: "Get the neighbor property: The remote BGP peer."
returns:
description: "the neighbor value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.routesReceived()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.routesReceived()"
name: "routesReceived()"
nameWithType: "BgpPeerStatus.routesReceived()"
summary: "Get the routes<wbr>Received property: The number of routes learned from this peer."
syntax: "public Long routesReceived()"
desc: "Get the routesReceived property: The number of routes learned from this peer."
returns:
description: "the routesReceived value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.state()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.state()"
name: "state()"
nameWithType: "BgpPeerStatus.state()"
summary: "Get the state property: The BGP peer state."
syntax: "public BgpPeerState state()"
desc: "Get the state property: The BGP peer state."
returns:
description: "the state value."
type: "<xref href=\"com.azure.resourcemanager.network.models.BgpPeerState?alt=com.azure.resourcemanager.network.models.BgpPeerState&text=BgpPeerState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "BgpPeerStatus.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.BgpPeerStatus.validate()"
fullName: "com.azure.resourcemanager.network.models.BgpPeerStatus.validate()"
name: "validate()"
nameWithType: "BgpPeerStatus.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
type: "class"
desc: "BGP peer status details."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.BgpPeerStatus?alt=com.azure.resourcemanager.network.models.BgpPeerStatus&text=BgpPeerStatus\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0