Partager via


AlertPropertiesDetails Class

Definition

Alert details

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.AlertPropertiesDetailsTypeConverter))]
public class AlertPropertiesDetails : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IAlertPropertiesDetails, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IAlertPropertiesDetailsInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.AlertPropertiesDetailsTypeConverter))>]
type AlertPropertiesDetails = class
    interface IAlertPropertiesDetails
    interface IJsonSerializable
    interface IAlertPropertiesDetailsInternal
Public Class AlertPropertiesDetails
Implements IAlertPropertiesDetails, IAlertPropertiesDetailsInternal
Inheritance
AlertPropertiesDetails
Attributes
Implements

Constructors

AlertPropertiesDetails()

Creates an new AlertPropertiesDetails instance.

Properties

Amount

budget threshold amount

CompanyName

company name

ContactEmail

list of emails to contact

ContactGroup

list of action groups to broadcast to

ContactRole

list of contact roles

CurrentSpend

current spend

DepartmentName

department name

EnrollmentEndDate

datetime of enrollmentEndDate

EnrollmentNumber

enrollment number

EnrollmentStartDate

datetime of enrollmentStartDate

InvoicingThreshold

invoicing threshold

MeterFilter

array of meters to filter by

Operator

operator used to compare currentSpend with amount

OverridingAlert

overriding alert

PeriodStartDate

datetime of periodStartDate

ResourceFilter

array of resources to filter by

ResourceGroupFilter

array of resourceGroups to filter by

TagFilter

tags to filter by

Threshold

notification threshold percentage as a decimal which activated this alert

TimeGrainType

Type of timegrain cadence

TriggeredBy

notificationId that triggered this alert

Unit

unit of currency being used

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AlertPropertiesDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AlertPropertiesDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AlertPropertiesDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to