Class RuleEmailAction
Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleEmailAction")]
public class RuleEmailAction : Microsoft.Azure.Management.Monitor.Models.RuleAction
Constructors
RuleEmailAction()
Initializes a new instance of the RuleEmailAction class.
Declaration
public RuleEmailAction ();
RuleEmailAction(Nullable<Boolean>, IList<String>)
Initializes a new instance of the RuleEmailAction class.
Declaration
public RuleEmailAction (Nullable<bool> sendToServiceOwners = null, System.Collections.Generic.IList<string> customEmails = null);
Parameters
|
Nullable<Boolean>
sendToServiceOwners
Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. |
|
IList<String>
customEmails
the list of administrator's custom email addresses to notify of the activation of the alert. |
Properties
CustomEmails
Gets or sets the list of administrator's custom email addresses to notify of the activation of the alert.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="customEmails")]
public System.Collections.Generic.IList<string> CustomEmails { get; set; }
Property Value
|
IList<String>
|
SendToServiceOwners
Gets or sets whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="sendToServiceOwners")]
public Nullable<bool> SendToServiceOwners { get; set; }
Property Value
|
Nullable<Boolean>
|