Share via


AlertProperties Class

Definition

The properties of an alert.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AlertPropertiesTypeConverter))]
public class AlertProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAlertProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AlertPropertiesTypeConverter))>]
type AlertProperties = class
    interface IAlertProperties
    interface IJsonSerializable
Public Class AlertProperties
Implements IAlertProperties
Inheritance
AlertProperties
Attributes
Implements

Constructors

AlertProperties()

Creates an new AlertProperties instance.

Properties

CustomEmailAddress

The custom email address for sending emails.

Locale

The locale for the email notification.

SendToOwner

A value indicating whether to send email to subscription administrator.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AlertProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AlertProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAlertProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AlertProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to