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

ScaleRuleMetricDimension Class

Definition

Specifies an auto scale rule metric dimension.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRuleMetricDimensionTypeConverter))]
public class ScaleRuleMetricDimension : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IScaleRuleMetricDimension
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleRuleMetricDimensionTypeConverter))>]
type ScaleRuleMetricDimension = class
    interface IScaleRuleMetricDimension
    interface IJsonSerializable
Public Class ScaleRuleMetricDimension
Implements IScaleRuleMetricDimension
Inheritance
ScaleRuleMetricDimension
Attributes
Implements

Constructors

ScaleRuleMetricDimension()

Creates an new ScaleRuleMetricDimension instance.

Properties

DimensionName

Name of the dimension.

Operator

the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the values. 'NotEquals' being not equal to all of the values

Value

list of dimension values. For example: ["App1","App2"].

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScaleRuleMetricDimension.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScaleRuleMetricDimension.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IScaleRuleMetricDimension.

FromJsonString(String)

Creates a new instance of ScaleRuleMetricDimension, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScaleRuleMetricDimension into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to