Partager via


AlertOperator Struct

Definition

operator used to compare currentSpend with amount

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

Fields

EqualTo
GreaterThan
GreaterThanOrEqualTo
LessThan
LessThanOrEqualTo
None

Methods

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

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

Equals(AlertOperator)

Compares values of enum type AlertOperator

Equals(Object)

Compares values of enum type AlertOperator (override for Object)

GetHashCode()

Returns hashCode for enum AlertOperator

ToString()

Returns string representation for AlertOperator

Operators

Equality(AlertOperator, AlertOperator)

Overriding == operator for enum AlertOperator

Implicit(AlertOperator to String)

Implicit operator to convert AlertOperator to string

Implicit(String to AlertOperator)

Implicit operator to convert string to AlertOperator

Inequality(AlertOperator, AlertOperator)

Overriding != operator for enum AlertOperator

Applies to