Compartilhar via


AutoscaleNotification Class

Definition

Autoscale notification.

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

Constructors

AutoscaleNotification()

Creates an new AutoscaleNotification instance.

Properties

EmailCustomEmail

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

EmailSendToSubscriptionAdministrator

a value indicating whether to send email to subscription administrator.

EmailSendToSubscriptionCoAdministrator

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

Operation

the operation associated with the notification and its value must be "scale"

Webhook

the collection of webhook notifications.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutoscaleNotification.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutoscaleNotification.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutoscaleNotification into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to