198 строки
13 KiB
YAML
198 строки
13 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.network.models.HubRoute"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute"
|
|
name: "HubRoute"
|
|
nameWithType: "HubRoute"
|
|
summary: "Route<wbr>Table route."
|
|
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 **HubRoute**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.models.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.HubRoute()"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.HubRoute()"
|
|
name: "HubRoute()"
|
|
nameWithType: "HubRoute.HubRoute()"
|
|
summary: "Creates an instance of Hub<wbr>Route class."
|
|
syntax: "public HubRoute()"
|
|
desc: "Creates an instance of HubRoute class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.destinationType()"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.destinationType()"
|
|
name: "destinationType()"
|
|
nameWithType: "HubRoute.destinationType()"
|
|
summary: "Get the destination<wbr>Type property: The type of destinations (eg: CIDR, Resource<wbr>Id, Service)."
|
|
syntax: "public String destinationType()"
|
|
desc: "Get the destinationType property: The type of destinations (eg: CIDR, ResourceId, Service)."
|
|
returns:
|
|
description: "the destinationType value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.destinations()"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.destinations()"
|
|
name: "destinations()"
|
|
nameWithType: "HubRoute.destinations()"
|
|
summary: "Get the destinations property: List of all destinations."
|
|
syntax: "public List<String> destinations()"
|
|
desc: "Get the destinations property: List of all destinations."
|
|
returns:
|
|
description: "the destinations value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "HubRoute.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Hub<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 HubRoute fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of HubRoute from the JsonReader."
|
|
returns:
|
|
description: "An instance of HubRoute 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.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.name()"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.name()"
|
|
name: "name()"
|
|
nameWithType: "HubRoute.name()"
|
|
summary: "Get the name property: The name of the Route that is unique within a Route<wbr>Table."
|
|
syntax: "public String name()"
|
|
desc: "Get the name property: The name of the Route that is unique within a RouteTable. This name can be used to access this route."
|
|
returns:
|
|
description: "the name value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.nextHop()"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.nextHop()"
|
|
name: "nextHop()"
|
|
nameWithType: "HubRoute.nextHop()"
|
|
summary: "Get the next<wbr>Hop property: Next<wbr>Hop resource ID."
|
|
syntax: "public String nextHop()"
|
|
desc: "Get the nextHop property: NextHop resource ID."
|
|
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.HubRoute.nextHopType()"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.nextHopType()"
|
|
name: "nextHopType()"
|
|
nameWithType: "HubRoute.nextHopType()"
|
|
summary: "Get the next<wbr>Hop<wbr>Type property: The type of next hop (eg: Resource<wbr>Id)."
|
|
syntax: "public String nextHopType()"
|
|
desc: "Get the nextHopType property: The type of next hop (eg: ResourceId)."
|
|
returns:
|
|
description: "the nextHopType value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "HubRoute.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.HubRoute.validate()"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.validate()"
|
|
name: "validate()"
|
|
nameWithType: "HubRoute.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.withDestinationType(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.withDestinationType(String destinationType)"
|
|
name: "withDestinationType(String destinationType)"
|
|
nameWithType: "HubRoute.withDestinationType(String destinationType)"
|
|
summary: "Set the destination<wbr>Type property: The type of destinations (eg: CIDR, Resource<wbr>Id, Service)."
|
|
parameters:
|
|
- description: "the destinationType value to set."
|
|
name: "destinationType"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public HubRoute withDestinationType(String destinationType)"
|
|
desc: "Set the destinationType property: The type of destinations (eg: CIDR, ResourceId, Service)."
|
|
returns:
|
|
description: "the HubRoute object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.withDestinations(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.withDestinations(List<String> destinations)"
|
|
name: "withDestinations(List<String> destinations)"
|
|
nameWithType: "HubRoute.withDestinations(List<String> destinations)"
|
|
summary: "Set the destinations property: List of all destinations."
|
|
parameters:
|
|
- description: "the destinations value to set."
|
|
name: "destinations"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public HubRoute withDestinations(List<String> destinations)"
|
|
desc: "Set the destinations property: List of all destinations."
|
|
returns:
|
|
description: "the HubRoute object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.withName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.withName(String name)"
|
|
name: "withName(String name)"
|
|
nameWithType: "HubRoute.withName(String name)"
|
|
summary: "Set the name property: The name of the Route that is unique within a Route<wbr>Table."
|
|
parameters:
|
|
- description: "the name value to set."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public HubRoute withName(String name)"
|
|
desc: "Set the name property: The name of the Route that is unique within a RouteTable. This name can be used to access this route."
|
|
returns:
|
|
description: "the HubRoute object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.withNextHop(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.withNextHop(String nextHop)"
|
|
name: "withNextHop(String nextHop)"
|
|
nameWithType: "HubRoute.withNextHop(String nextHop)"
|
|
summary: "Set the next<wbr>Hop property: Next<wbr>Hop resource ID."
|
|
parameters:
|
|
- description: "the nextHop value to set."
|
|
name: "nextHop"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public HubRoute withNextHop(String nextHop)"
|
|
desc: "Set the nextHop property: NextHop resource ID."
|
|
returns:
|
|
description: "the HubRoute object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.HubRoute.withNextHopType(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.network.models.HubRoute.withNextHopType(String nextHopType)"
|
|
name: "withNextHopType(String nextHopType)"
|
|
nameWithType: "HubRoute.withNextHopType(String nextHopType)"
|
|
summary: "Set the next<wbr>Hop<wbr>Type property: The type of next hop (eg: Resource<wbr>Id)."
|
|
parameters:
|
|
- description: "the nextHopType value to set."
|
|
name: "nextHopType"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public HubRoute withNextHopType(String nextHopType)"
|
|
desc: "Set the nextHopType property: The type of next hop (eg: ResourceId)."
|
|
returns:
|
|
description: "the HubRoute object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "RouteTable route."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.models.HubRoute?alt=com.azure.resourcemanager.network.models.HubRoute&text=HubRoute\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.network.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0
|