Share via


AlertSource Struct

Definition

Source of alert

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

Fields

Preset
User

Methods

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

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

Equals(AlertSource)

Compares values of enum type AlertSource

Equals(Object)

Compares values of enum type AlertSource (override for Object)

GetHashCode()

Returns hashCode for enum AlertSource

ToString()

Returns string representation for AlertSource

Operators

Equality(AlertSource, AlertSource)

Overriding == operator for enum AlertSource

Implicit(AlertSource to String)

Implicit operator to convert AlertSource to string

Implicit(String to AlertSource)

Implicit operator to convert string to AlertSource

Inequality(AlertSource, AlertSource)

Overriding != operator for enum AlertSource

Applies to