Share via


AlertCriteria Struct

Definition

Criteria that triggered alert

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Support.AlertCriteriaTypeConverter))]
public struct AlertCriteria : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Support.AlertCriteria>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Support.AlertCriteriaTypeConverter))>]
type AlertCriteria = struct
    interface IArgumentCompleter
Public Structure AlertCriteria
Implements IArgumentCompleter, IEquatable(Of AlertCriteria)
Inheritance
AlertCriteria
Attributes
Implements

Fields

CostThresholdExceeded
CreditThresholdApproaching
CreditThresholdReached
CrossCloudCollectionError
CrossCloudNewDataAvailable
ForecastCostThresholdExceeded
ForecastUsageThresholdExceeded
GeneralThresholdError
InvoiceDueDateApproaching
InvoiceDueDateReached
MultiCurrency
QuotaThresholdApproaching
QuotaThresholdReached
UsageThresholdExceeded

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(AlertCriteria)

Compares values of enum type AlertCriteria

Equals(Object)

Compares values of enum type AlertCriteria (override for Object)

GetHashCode()

Returns hashCode for enum AlertCriteria

ToString()

Returns string representation for AlertCriteria

Operators

Equality(AlertCriteria, AlertCriteria)

Overriding == operator for enum AlertCriteria

Implicit(AlertCriteria to String)

Implicit operator to convert AlertCriteria to string

Implicit(String to AlertCriteria)

Implicit operator to convert string to AlertCriteria

Inequality(AlertCriteria, AlertCriteria)

Overriding != operator for enum AlertCriteria

Applies to