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

136 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.VnetRoute"
fullName: "com.azure.resourcemanager.network.models.VnetRoute"
name: "VnetRoute"
nameWithType: "VnetRoute"
summary: "List of routes that control routing from Virtual<wbr>Hub into a virtual network connection."
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 **VnetRoute**</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.VnetRoute?alt=com.azure.resourcemanager.network.models.VnetRoute&text=VnetRoute\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.VnetRoute.VnetRoute()"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.VnetRoute()"
name: "VnetRoute()"
nameWithType: "VnetRoute.VnetRoute()"
summary: "Creates an instance of Vnet<wbr>Route class."
syntax: "public VnetRoute()"
desc: "Creates an instance of VnetRoute class."
methods:
- uid: "com.azure.resourcemanager.network.models.VnetRoute.bgpConnections()"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.bgpConnections()"
name: "bgpConnections()"
nameWithType: "VnetRoute.bgpConnections()"
summary: "Get the bgp<wbr>Connections property: The list of references to Hub<wbr>Bgp<wbr>Connection objects."
syntax: "public List<SubResource> bgpConnections()"
desc: "Get the bgpConnections property: The list of references to HubBgpConnection objects."
returns:
description: "the bgpConnections value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.VnetRoute.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "VnetRoute.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Vnet<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 VnetRoute fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the VnetRoute."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of VnetRoute from the JsonReader."
returns:
description: "An instance of VnetRoute if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.VnetRoute?alt=com.azure.resourcemanager.network.models.VnetRoute&text=VnetRoute\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.VnetRoute.staticRoutes()"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.staticRoutes()"
name: "staticRoutes()"
nameWithType: "VnetRoute.staticRoutes()"
summary: "Get the static<wbr>Routes property: List of all Static Routes."
syntax: "public List<StaticRoute> staticRoutes()"
desc: "Get the staticRoutes property: List of all Static Routes."
returns:
description: "the staticRoutes value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.StaticRoute?alt=com.azure.resourcemanager.network.models.StaticRoute&text=StaticRoute\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.VnetRoute.staticRoutesConfig()"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.staticRoutesConfig()"
name: "staticRoutesConfig()"
nameWithType: "VnetRoute.staticRoutesConfig()"
summary: "Get the static<wbr>Routes<wbr>Config property: Configuration for static routes on this Hub<wbr>Vnet<wbr>Connection."
syntax: "public StaticRoutesConfig staticRoutesConfig()"
desc: "Get the staticRoutesConfig property: Configuration for static routes on this HubVnetConnection."
returns:
description: "the staticRoutesConfig value."
type: "<xref href=\"com.azure.resourcemanager.network.models.StaticRoutesConfig?alt=com.azure.resourcemanager.network.models.StaticRoutesConfig&text=StaticRoutesConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.VnetRoute.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "VnetRoute.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.VnetRoute.validate()"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.validate()"
name: "validate()"
nameWithType: "VnetRoute.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.VnetRoute.withStaticRoutes(java.util.List<com.azure.resourcemanager.network.models.StaticRoute>)"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.withStaticRoutes(List<StaticRoute> staticRoutes)"
name: "withStaticRoutes(List<StaticRoute> staticRoutes)"
nameWithType: "VnetRoute.withStaticRoutes(List<StaticRoute> staticRoutes)"
summary: "Set the static<wbr>Routes property: List of all Static Routes."
parameters:
- description: "the staticRoutes value to set."
name: "staticRoutes"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.StaticRoute?alt=com.azure.resourcemanager.network.models.StaticRoute&text=StaticRoute\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public VnetRoute withStaticRoutes(List<StaticRoute> staticRoutes)"
desc: "Set the staticRoutes property: List of all Static Routes."
returns:
description: "the VnetRoute object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.VnetRoute?alt=com.azure.resourcemanager.network.models.VnetRoute&text=VnetRoute\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.VnetRoute.withStaticRoutesConfig(com.azure.resourcemanager.network.models.StaticRoutesConfig)"
fullName: "com.azure.resourcemanager.network.models.VnetRoute.withStaticRoutesConfig(StaticRoutesConfig staticRoutesConfig)"
name: "withStaticRoutesConfig(StaticRoutesConfig staticRoutesConfig)"
nameWithType: "VnetRoute.withStaticRoutesConfig(StaticRoutesConfig staticRoutesConfig)"
summary: "Set the static<wbr>Routes<wbr>Config property: Configuration for static routes on this Hub<wbr>Vnet<wbr>Connection."
parameters:
- description: "the staticRoutesConfig value to set."
name: "staticRoutesConfig"
type: "<xref href=\"com.azure.resourcemanager.network.models.StaticRoutesConfig?alt=com.azure.resourcemanager.network.models.StaticRoutesConfig&text=StaticRoutesConfig\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VnetRoute withStaticRoutesConfig(StaticRoutesConfig staticRoutesConfig)"
desc: "Set the staticRoutesConfig property: Configuration for static routes on this HubVnetConnection."
returns:
description: "the VnetRoute object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.VnetRoute?alt=com.azure.resourcemanager.network.models.VnetRoute&text=VnetRoute\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "List of routes that control routing from VirtualHub into a virtual network connection."
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.VnetRoute?alt=com.azure.resourcemanager.network.models.VnetRoute&text=VnetRoute\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0