Share via


MonitorEmailReceiver Class

Definition

An email receiver.

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

Constructors

MonitorEmailReceiver(String, String)

Initializes a new instance of MonitorEmailReceiver.

Properties

EmailAddress

The email address of this receiver.

Name

The name of the email receiver. Names must be unique across all receivers within an action group.

Status

The receiver status of the e-mail.

UseCommonAlertSchema

Indicates whether to use common alert schema.

Explicit Interface Implementations

IJsonModel<MonitorEmailReceiver>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorEmailReceiver>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorEmailReceiver>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorEmailReceiver>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorEmailReceiver>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to