144 строки
11 KiB
YAML
144 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction"
|
|
name: "RuleEmailAction"
|
|
nameWithType: "RuleEmailAction"
|
|
summary: "Specifies the action to send email when the rule condition is evaluated."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction?alt=com.azure.resourcemanager.monitor.models.RuleAction&text=RuleAction\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.fromJson(com.azure.json.JsonReader)?alt=com.azure.resourcemanager.monitor.models.RuleAction.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.odataType()?alt=com.azure.resourcemanager.monitor.models.RuleAction.odataType&text=odataType\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.toJson(com.azure.json.JsonWriter)?alt=com.azure.resourcemanager.monitor.models.RuleAction.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.validate()?alt=com.azure.resourcemanager.monitor.models.RuleAction.validate&text=validate\" data-throw-if-not-resolved=\"False\" />"
|
|
- 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 **RuleEmailAction**</br> extends <xref href=\"com.azure.resourcemanager.monitor.models.RuleAction?alt=com.azure.resourcemanager.monitor.models.RuleAction&text=RuleAction\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction.RuleEmailAction()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.RuleEmailAction()"
|
|
name: "RuleEmailAction()"
|
|
nameWithType: "RuleEmailAction.RuleEmailAction()"
|
|
summary: "Creates an instance of Rule<wbr>Email<wbr>Action class."
|
|
syntax: "public RuleEmailAction()"
|
|
desc: "Creates an instance of RuleEmailAction class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction.customEmails()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.customEmails()"
|
|
name: "customEmails()"
|
|
nameWithType: "RuleEmailAction.customEmails()"
|
|
summary: "Get the custom<wbr>Emails property: the list of administrator's custom email addresses to notify of the activation of the alert."
|
|
syntax: "public List<String> customEmails()"
|
|
desc: "Get the customEmails property: the list of administrator's custom email addresses to notify of the activation of the alert."
|
|
returns:
|
|
description: "the customEmails 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.monitor.models.RuleEmailAction.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "RuleEmailAction.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Rule<wbr>Email<wbr>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 RuleEmailAction fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the RuleEmailAction."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of RuleEmailAction from the JsonReader."
|
|
returns:
|
|
description: "An instance of RuleEmailAction 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.monitor.models.RuleEmailAction?alt=com.azure.resourcemanager.monitor.models.RuleEmailAction&text=RuleEmailAction\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction.odataType()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.odataType()"
|
|
name: "odataType()"
|
|
nameWithType: "RuleEmailAction.odataType()"
|
|
summary: "Get the odata<wbr>Type property: specifies the type of the action."
|
|
overridden: "com.azure.resourcemanager.monitor.models.RuleAction.odataType()"
|
|
syntax: "public String odataType()"
|
|
desc: "Get the odataType property: specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction."
|
|
returns:
|
|
description: "the odataType value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction.sendToServiceOwners()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.sendToServiceOwners()"
|
|
name: "sendToServiceOwners()"
|
|
nameWithType: "RuleEmailAction.sendToServiceOwners()"
|
|
summary: "Get the send<wbr>ToService<wbr>Owners property: Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
|
|
syntax: "public Boolean sendToServiceOwners()"
|
|
desc: "Get the sendToServiceOwners property: Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
|
|
returns:
|
|
description: "the sendToServiceOwners value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "RuleEmailAction.toJson(JsonWriter jsonWriter)"
|
|
overridden: "com.azure.resourcemanager.monitor.models.RuleAction.toJson(com.azure.json.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.RuleEmailAction.validate()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.validate()"
|
|
name: "validate()"
|
|
nameWithType: "RuleEmailAction.validate()"
|
|
summary: "Validates the instance."
|
|
overridden: "com.azure.resourcemanager.monitor.models.RuleAction.validate()"
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction.withCustomEmails(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.withCustomEmails(List<String> customEmails)"
|
|
name: "withCustomEmails(List<String> customEmails)"
|
|
nameWithType: "RuleEmailAction.withCustomEmails(List<String> customEmails)"
|
|
summary: "Set the custom<wbr>Emails property: the list of administrator's custom email addresses to notify of the activation of the alert."
|
|
parameters:
|
|
- description: "the customEmails value to set."
|
|
name: "customEmails"
|
|
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 RuleEmailAction withCustomEmails(List<String> customEmails)"
|
|
desc: "Set the customEmails property: the list of administrator's custom email addresses to notify of the activation of the alert."
|
|
returns:
|
|
description: "the RuleEmailAction object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RuleEmailAction?alt=com.azure.resourcemanager.monitor.models.RuleEmailAction&text=RuleEmailAction\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.RuleEmailAction.withSendToServiceOwners(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.RuleEmailAction.withSendToServiceOwners(Boolean sendToServiceOwners)"
|
|
name: "withSendToServiceOwners(Boolean sendToServiceOwners)"
|
|
nameWithType: "RuleEmailAction.withSendToServiceOwners(Boolean sendToServiceOwners)"
|
|
summary: "Set the send<wbr>ToService<wbr>Owners property: Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
|
|
parameters:
|
|
- description: "the sendToServiceOwners value to set."
|
|
name: "sendToServiceOwners"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public RuleEmailAction withSendToServiceOwners(Boolean sendToServiceOwners)"
|
|
desc: "Set the sendToServiceOwners property: Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
|
|
returns:
|
|
description: "the RuleEmailAction object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RuleEmailAction?alt=com.azure.resourcemanager.monitor.models.RuleEmailAction&text=RuleEmailAction\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.monitor.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0
|