ScaleRuleMetricDimension Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |