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

126 строки
9.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.Actions"
fullName: "com.azure.resourcemanager.monitor.models.Actions"
name: "Actions"
nameWithType: "Actions"
summary: "Actions to invoke when the alert fires."
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 **Actions**</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.monitor.models.Actions?alt=com.azure.resourcemanager.monitor.models.Actions&text=Actions\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.Actions.Actions()"
fullName: "com.azure.resourcemanager.monitor.models.Actions.Actions()"
name: "Actions()"
nameWithType: "Actions.Actions()"
summary: "Creates an instance of Actions class."
syntax: "public Actions()"
desc: "Creates an instance of Actions class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.Actions.actionGroups()"
fullName: "com.azure.resourcemanager.monitor.models.Actions.actionGroups()"
name: "actionGroups()"
nameWithType: "Actions.actionGroups()"
summary: "Get the action<wbr>Groups property: Action Group resource Ids to invoke when the alert fires."
syntax: "public List<String> actionGroups()"
desc: "Get the actionGroups property: Action Group resource Ids to invoke when the alert fires."
returns:
description: "the actionGroups value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.monitor.models.Actions.customProperties()"
fullName: "com.azure.resourcemanager.monitor.models.Actions.customProperties()"
name: "customProperties()"
nameWithType: "Actions.customProperties()"
summary: "Get the custom<wbr>Properties property: The properties of an alert payload."
syntax: "public Map<String,String> customProperties()"
desc: "Get the customProperties property: The properties of an alert payload."
returns:
description: "the customProperties value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.monitor.models.Actions.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.models.Actions.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Actions.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Actions 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 Actions fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Actions."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Actions from the JsonReader."
returns:
description: "An instance of Actions 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.monitor.models.Actions?alt=com.azure.resourcemanager.monitor.models.Actions&text=Actions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Actions.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.models.Actions.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Actions.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.monitor.models.Actions.validate()"
fullName: "com.azure.resourcemanager.monitor.models.Actions.validate()"
name: "validate()"
nameWithType: "Actions.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.Actions.withActionGroups(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.monitor.models.Actions.withActionGroups(List<String> actionGroups)"
name: "withActionGroups(List<String> actionGroups)"
nameWithType: "Actions.withActionGroups(List<String> actionGroups)"
summary: "Set the action<wbr>Groups property: Action Group resource Ids to invoke when the alert fires."
parameters:
- description: "the actionGroups value to set."
name: "actionGroups"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public Actions withActionGroups(List<String> actionGroups)"
desc: "Set the actionGroups property: Action Group resource Ids to invoke when the alert fires."
returns:
description: "the Actions object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Actions?alt=com.azure.resourcemanager.monitor.models.Actions&text=Actions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Actions.withCustomProperties(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.resourcemanager.monitor.models.Actions.withCustomProperties(Map<String,String> customProperties)"
name: "withCustomProperties(Map<String,String> customProperties)"
nameWithType: "Actions.withCustomProperties(Map<String,String> customProperties)"
summary: "Set the custom<wbr>Properties property: The properties of an alert payload."
parameters:
- description: "the customProperties value to set."
name: "customProperties"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public Actions withCustomProperties(Map<String,String> customProperties)"
desc: "Set the customProperties property: The properties of an alert payload."
returns:
description: "the Actions object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Actions?alt=com.azure.resourcemanager.monitor.models.Actions&text=Actions\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Actions to invoke when the alert fires."
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.monitor.models.Actions?alt=com.azure.resourcemanager.monitor.models.Actions&text=Actions\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.42.0