Share via


Alert Class

Definition

Implements the Alert class.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AlertTypeConverter))]
public class Alert : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAlert, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AlertTypeConverter))>]
type Alert = class
    interface IAlert
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Alert
Implements IAlert, IValidates
Inheritance
Alert
Attributes
Implements

Constructors

Alert()

Creates an new Alert instance.

Properties

CustomEmailAddress

The custom email address for sending emails.

Id

Resource Id

Locale

The locale for the email notification.

Location

Resource Location

Name

Resource Name

SendToOwner

A value indicating whether to send email to subscription administrator.

Type

Resource Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Alert.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Alert.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Alert into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to