Share via


EmailNotification Class

Definition

Email notification of an autoscale event.

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

Constructors

EmailNotification()

Initializes a new instance of EmailNotification.

Properties

CustomEmails

the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.

SendToSubscriptionAdministrator

a value indicating whether to send email to subscription administrator.

SendToSubscriptionCoAdministrators

a value indicating whether to send email to subscription co-administrators.

Explicit Interface Implementations

IJsonModel<EmailNotification>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EmailNotification>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EmailNotification>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EmailNotification>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EmailNotification>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to