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

148 строки
9.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.GatewayRoute"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute"
name: "GatewayRoute"
nameWithType: "GatewayRoute"
summary: "Gateway routing 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 **GatewayRoute**</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.GatewayRoute?alt=com.azure.resourcemanager.network.models.GatewayRoute&text=GatewayRoute\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.GatewayRoute()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.GatewayRoute()"
name: "GatewayRoute()"
nameWithType: "GatewayRoute.GatewayRoute()"
summary: "Creates an instance of Gateway<wbr>Route class."
syntax: "public GatewayRoute()"
desc: "Creates an instance of GatewayRoute class."
methods:
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.asPath()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.asPath()"
name: "asPath()"
nameWithType: "GatewayRoute.asPath()"
summary: "Get the as<wbr>Path property: The route's AS path sequence."
syntax: "public String asPath()"
desc: "Get the asPath property: The route's AS path sequence."
returns:
description: "the asPath value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "GatewayRoute.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Gateway<wbr>Route 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 GatewayRoute fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the GatewayRoute."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of GatewayRoute from the JsonReader."
returns:
description: "An instance of GatewayRoute 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.GatewayRoute?alt=com.azure.resourcemanager.network.models.GatewayRoute&text=GatewayRoute\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.localAddress()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.localAddress()"
name: "localAddress()"
nameWithType: "GatewayRoute.localAddress()"
summary: "Get the local<wbr>Address property: The gateway's local address."
syntax: "public String localAddress()"
desc: "Get the localAddress property: The 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.GatewayRoute.network()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.network()"
name: "network()"
nameWithType: "GatewayRoute.network()"
summary: "Get the network property: The route's network prefix."
syntax: "public String network()"
desc: "Get the network property: The route's network prefix."
returns:
description: "the network value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.nextHop()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.nextHop()"
name: "nextHop()"
nameWithType: "GatewayRoute.nextHop()"
summary: "Get the next<wbr>Hop property: The route's next hop."
syntax: "public String nextHop()"
desc: "Get the nextHop property: The route's next hop."
returns:
description: "the nextHop value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.origin()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.origin()"
name: "origin()"
nameWithType: "GatewayRoute.origin()"
summary: "Get the origin property: The source this route was learned from."
syntax: "public String origin()"
desc: "Get the origin property: The source this route was learned from."
returns:
description: "the origin value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.sourcePeer()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.sourcePeer()"
name: "sourcePeer()"
nameWithType: "GatewayRoute.sourcePeer()"
summary: "Get the source<wbr>Peer property: The peer this route was learned from."
syntax: "public String sourcePeer()"
desc: "Get the sourcePeer property: The peer this route was learned from."
returns:
description: "the sourcePeer value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "GatewayRoute.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.GatewayRoute.validate()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.validate()"
name: "validate()"
nameWithType: "GatewayRoute.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.GatewayRoute.weight()"
fullName: "com.azure.resourcemanager.network.models.GatewayRoute.weight()"
name: "weight()"
nameWithType: "GatewayRoute.weight()"
summary: "Get the weight property: The route's weight."
syntax: "public Integer weight()"
desc: "Get the weight property: The route's weight."
returns:
description: "the weight value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
type: "class"
desc: "Gateway routing 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.GatewayRoute?alt=com.azure.resourcemanager.network.models.GatewayRoute&text=GatewayRoute\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0