Partager via


AlertPropertiesDefinition Class

Definition

defines the type of alert

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.AlertPropertiesDefinitionTypeConverter))]
public class AlertPropertiesDefinition : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IAlertPropertiesDefinition, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IAlertPropertiesDefinitionInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.AlertPropertiesDefinitionTypeConverter))>]
type AlertPropertiesDefinition = class
    interface IAlertPropertiesDefinition
    interface IJsonSerializable
    interface IAlertPropertiesDefinitionInternal
Public Class AlertPropertiesDefinition
Implements IAlertPropertiesDefinition, IAlertPropertiesDefinitionInternal
Inheritance
AlertPropertiesDefinition
Attributes
Implements

Constructors

AlertPropertiesDefinition()

Creates an new AlertPropertiesDefinition instance.

Properties

Category

Alert category

Criterion

Criteria that triggered alert

Type

type of alert

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AlertPropertiesDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AlertPropertiesDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IAlertPropertiesDefinition.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AlertPropertiesDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to