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

ScaleDirection Struct

Definition

the scale direction. Whether the scaling action increases or decreases the number of instances.

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

Fields

Decrease
Increase
None

Methods

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

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

Equals(Object)

Compares values of enum type ScaleDirection (override for Object)

Equals(ScaleDirection)

Compares values of enum type ScaleDirection

GetHashCode()

Returns hashCode for enum ScaleDirection

ToString()

Returns string representation for ScaleDirection

Operators

Equality(ScaleDirection, ScaleDirection)

Overriding == operator for enum ScaleDirection

Implicit(ScaleDirection to String)

Implicit operator to convert ScaleDirection to string

Implicit(String to ScaleDirection)

Implicit operator to convert string to ScaleDirection

Inequality(ScaleDirection, ScaleDirection)

Overriding != operator for enum ScaleDirection

Applies to