Partager via


EmailNotification Class

Definition

Email notification of an autoscale event.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.EmailNotificationTypeConverter))]
public class EmailNotification : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.IEmailNotification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.EmailNotificationTypeConverter))>]
type EmailNotification = class
    interface IEmailNotification
    interface IJsonSerializable
Public Class EmailNotification
Implements IEmailNotification
Inheritance
EmailNotification
Attributes
Implements

Constructors

Name Description
EmailNotification()

Creates an new EmailNotification instance.

Properties

Name Description
CustomEmail

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.

SendToSubscriptionCoAdministrator

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EmailNotification.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EmailNotification.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.IEmailNotification.

FromJsonString(String)

Creates a new instance of EmailNotification, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EmailNotification into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to