RuleEmailAction Class

Definition

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

public class RuleEmailAction : Azure.ResourceManager.Monitor.Models.AlertRuleAction, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.RuleEmailAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.RuleEmailAction>
type RuleEmailAction = class
    inherit AlertRuleAction
    interface IJsonModel<RuleEmailAction>
    interface IPersistableModel<RuleEmailAction>
Public Class RuleEmailAction
Inherits AlertRuleAction
Implements IJsonModel(Of RuleEmailAction), IPersistableModel(Of RuleEmailAction)
Inheritance
RuleEmailAction
Implements

Constructors

RuleEmailAction()

Initializes a new instance of RuleEmailAction.

Properties

CustomEmails

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

SendToServiceOwners

Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.

Explicit Interface Implementations

IJsonModel<AlertRuleAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from AlertRuleAction)
IJsonModel<AlertRuleAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from AlertRuleAction)
IJsonModel<RuleEmailAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RuleEmailAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AlertRuleAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from AlertRuleAction)
IPersistableModel<AlertRuleAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from AlertRuleAction)
IPersistableModel<AlertRuleAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from AlertRuleAction)
IPersistableModel<RuleEmailAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RuleEmailAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RuleEmailAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to