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

126 строки
9.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.Action"
fullName: "com.azure.resourcemanager.network.models.Action"
name: "Action"
nameWithType: "Action"
summary: "Action to be taken on a route matching a Route<wbr>Map criterion."
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 **Action**</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.Action?alt=com.azure.resourcemanager.network.models.Action&text=Action\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.Action.Action()"
fullName: "com.azure.resourcemanager.network.models.Action.Action()"
name: "Action()"
nameWithType: "Action.Action()"
summary: "Creates an instance of Action class."
syntax: "public Action()"
desc: "Creates an instance of Action class."
methods:
- uid: "com.azure.resourcemanager.network.models.Action.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.Action.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Action.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Action 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 Action fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Action."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Action from the JsonReader."
returns:
description: "An instance of Action if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.Action?alt=com.azure.resourcemanager.network.models.Action&text=Action\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Action.parameters()"
fullName: "com.azure.resourcemanager.network.models.Action.parameters()"
name: "parameters()"
nameWithType: "Action.parameters()"
summary: "Get the parameters property: List of parameters relevant to the action.<wbr>For instance if type is drop then parameters has list of prefixes to be dropped.<wbr>If type is add, parameters would have list of ASN numbers to be added."
syntax: "public List<Parameter> parameters()"
desc: "Get the parameters property: List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added."
returns:
description: "the parameters 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.Parameter?alt=com.azure.resourcemanager.network.models.Parameter&text=Parameter\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.Action.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.Action.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Action.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.Action.type()"
fullName: "com.azure.resourcemanager.network.models.Action.type()"
name: "type()"
nameWithType: "Action.type()"
summary: "Get the type property: Type of action to be taken."
syntax: "public RouteMapActionType type()"
desc: "Get the type property: Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'."
returns:
description: "the type value."
type: "<xref href=\"com.azure.resourcemanager.network.models.RouteMapActionType?alt=com.azure.resourcemanager.network.models.RouteMapActionType&text=RouteMapActionType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Action.validate()"
fullName: "com.azure.resourcemanager.network.models.Action.validate()"
name: "validate()"
nameWithType: "Action.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.Action.withParameters(java.util.List<com.azure.resourcemanager.network.models.Parameter>)"
fullName: "com.azure.resourcemanager.network.models.Action.withParameters(List<Parameter> parameters)"
name: "withParameters(List<Parameter> parameters)"
nameWithType: "Action.withParameters(List<Parameter> parameters)"
summary: "Set the parameters property: List of parameters relevant to the action.<wbr>For instance if type is drop then parameters has list of prefixes to be dropped.<wbr>If type is add, parameters would have list of ASN numbers to be added."
parameters:
- description: "the parameters value to set."
name: "parameters"
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.Parameter?alt=com.azure.resourcemanager.network.models.Parameter&text=Parameter\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public Action withParameters(List<Parameter> parameters)"
desc: "Set the parameters property: List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added."
returns:
description: "the Action object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.Action?alt=com.azure.resourcemanager.network.models.Action&text=Action\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Action.withType(com.azure.resourcemanager.network.models.RouteMapActionType)"
fullName: "com.azure.resourcemanager.network.models.Action.withType(RouteMapActionType type)"
name: "withType(RouteMapActionType type)"
nameWithType: "Action.withType(RouteMapActionType type)"
summary: "Set the type property: Type of action to be taken."
parameters:
- description: "the type value to set."
name: "type"
type: "<xref href=\"com.azure.resourcemanager.network.models.RouteMapActionType?alt=com.azure.resourcemanager.network.models.RouteMapActionType&text=RouteMapActionType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Action withType(RouteMapActionType type)"
desc: "Set the type property: Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'."
returns:
description: "the Action object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.Action?alt=com.azure.resourcemanager.network.models.Action&text=Action\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Action to be taken on a route matching a RouteMap criterion."
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.Action?alt=com.azure.resourcemanager.network.models.Action&text=Action\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0