Share via


AlertProperties Class

Definition

Alert properties.

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

Constructors

AlertProperties()

Creates an new AlertProperties instance.

Properties

CloseTime

dateTime in which alert was closed

CostEntityId

related budget

CreationTime

dateTime in which alert was created

DefinitionCategory

Alert category

DefinitionCriterion

Criteria that triggered alert

DefinitionType

type of alert

Description

Alert description

DetailAmount

budget threshold amount

DetailCompanyName

company name

DetailContactEmail

list of emails to contact

DetailContactGroup

list of action groups to broadcast to

DetailContactRole

list of contact roles

DetailCurrentSpend

current spend

DetailDepartmentName

department name

DetailEnrollmentEndDate

datetime of enrollmentEndDate

DetailEnrollmentNumber

enrollment number

DetailEnrollmentStartDate

datetime of enrollmentStartDate

DetailInvoicingThreshold

invoicing threshold

DetailMeterFilter

array of meters to filter by

DetailOperator

operator used to compare currentSpend with amount

DetailOverridingAlert

overriding alert

DetailPeriodStartDate

datetime of periodStartDate

DetailResourceFilter

array of resources to filter by

DetailResourceGroupFilter

array of resourceGroups to filter by

DetailTagFilter

tags to filter by

DetailThreshold

notification threshold percentage as a decimal which activated this alert

DetailTimeGrainType

Type of timegrain cadence

DetailTriggeredBy

notificationId that triggered this alert

DetailUnit

unit of currency being used

ModificationTime

dateTime in which alert was last modified

Source

Source of alert

Status

alert status

StatusModificationTime

dateTime in which the alert status was last modified

StatusModificationUserName

User who last modified the alert

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.CostManagement.Models.Api20211001.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.

Explicit Interface Implementations

IAlertPropertiesInternal.Definition

Internal Acessors for Definition

IAlertPropertiesInternal.Detail

Internal Acessors for Detail

Applies to