azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

85 строки
6.8 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.RuleEmailAction"
fullName: "com.microsoft.azure.management.monitor.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.microsoft.azure.management.monitor.RuleAction?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **RuleEmailAction**</br> extends <xref href=\"com.microsoft.azure.management.monitor.RuleAction?alt=com.microsoft.azure.management.monitor.RuleAction&text=RuleAction\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.azure.management.monitor.RuleEmailAction.RuleEmailAction()"
fullName: "com.microsoft.azure.management.monitor.RuleEmailAction.RuleEmailAction()"
name: "RuleEmailAction()"
nameWithType: "RuleEmailAction.RuleEmailAction()"
syntax: "public RuleEmailAction()"
methods:
- uid: "com.microsoft.azure.management.monitor.RuleEmailAction.customEmails()"
fullName: "com.microsoft.azure.management.monitor.RuleEmailAction.customEmails()"
name: "customEmails()"
nameWithType: "RuleEmailAction.customEmails()"
summary: "Get the list of administrator's custom email addresses to notify of the activation of the alert."
syntax: "public List<String> customEmails()"
desc: "Get the list of administrator's custom email addresses to notify of the activation of the alert."
returns:
description: "the customEmails value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.RuleEmailAction.sendToServiceOwners()"
fullName: "com.microsoft.azure.management.monitor.RuleEmailAction.sendToServiceOwners()"
name: "sendToServiceOwners()"
nameWithType: "RuleEmailAction.sendToServiceOwners()"
summary: "Get whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
syntax: "public Boolean sendToServiceOwners()"
desc: "Get whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
returns:
description: "the sendToServiceOwners value"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.RuleEmailAction.withCustomEmails(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.monitor.RuleEmailAction.withCustomEmails(List<String> customEmails)"
name: "withCustomEmails(List<String> customEmails)"
nameWithType: "RuleEmailAction.withCustomEmails(List<String> customEmails)"
summary: "Set 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: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public RuleEmailAction withCustomEmails(List<String> customEmails)"
desc: "Set 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.microsoft.azure.management.monitor.RuleEmailAction?alt=com.microsoft.azure.management.monitor.RuleEmailAction&text=RuleEmailAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.RuleEmailAction.withSendToServiceOwners(java.lang.Boolean)"
fullName: "com.microsoft.azure.management.monitor.RuleEmailAction.withSendToServiceOwners(Boolean sendToServiceOwners)"
name: "withSendToServiceOwners(Boolean sendToServiceOwners)"
nameWithType: "RuleEmailAction.withSendToServiceOwners(Boolean sendToServiceOwners)"
summary: "Set 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: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public RuleEmailAction withSendToServiceOwners(Boolean sendToServiceOwners)"
desc: "Set 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.microsoft.azure.management.monitor.RuleEmailAction?alt=com.microsoft.azure.management.monitor.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.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4