Share via


RuleEmailAction Class

Definition

Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case.

[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleEmailAction")]
public class RuleEmailAction : Microsoft.Azure.Management.Monitor.Models.RuleAction
[<Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleEmailAction")>]
type RuleEmailAction = class
    inherit RuleAction
Public Class RuleEmailAction
Inherits RuleAction
Inheritance
RuleEmailAction
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

RuleEmailAction()

Initializes a new instance of the RuleEmailAction class.

RuleEmailAction(Nullable<Boolean>, IList<String>)

Initializes a new instance of the RuleEmailAction class.

Properties

CustomEmails

Gets or sets the list of administrator's custom email addresses to notify of the activation of the alert.

SendToServiceOwners

Gets or sets whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.

Applies to