Language

AlertConfiguration Class

Definition

Alert configuration details

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.AlertConfigurationTypeConverter))]
public class AlertConfiguration : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IAlertConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.AlertConfigurationTypeConverter))>]
type AlertConfiguration = class
    interface IAlertConfiguration
    interface IJsonSerializable
Public Class AlertConfiguration
Implements IAlertConfiguration
Inheritance
AlertConfiguration
Attributes
Implements

Constructors

Name Description
AlertConfiguration()

Creates an new AlertConfiguration instance.

Properties

Name Description
ActionGroupId

Optional list of action group resource IDs to be notified when the alert is triggered.

Description

The alert rule description.

Severity

The severity of triggered alert.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AlertConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AlertConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IAlertConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AlertConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to