你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ComparisonOperationType Struct

Definition

the operator that is used to compare the metric data and the threshold.

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

Fields

Equal
GreaterThan
GreaterThanOrEqual
LessThan
LessThanOrEqual
NotEquals

Methods

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

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

Equals(ComparisonOperationType)

Compares values of enum type ComparisonOperationType

Equals(Object)

Compares values of enum type ComparisonOperationType (override for Object)

GetHashCode()

Returns hashCode for enum ComparisonOperationType

ToString()

Returns string representation for ComparisonOperationType

Operators

Equality(ComparisonOperationType, ComparisonOperationType)

Overriding == operator for enum ComparisonOperationType

Implicit(ComparisonOperationType to String)

Implicit operator to convert ComparisonOperationType to string

Implicit(String to ComparisonOperationType)

Implicit operator to convert string to ComparisonOperationType

Inequality(ComparisonOperationType, ComparisonOperationType)

Overriding != operator for enum ComparisonOperationType

Applies to