AutoscaleRuleMetricDimension Class

Definition

Specifies an auto scale rule metric dimension.

public class AutoscaleRuleMetricDimension : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.AutoscaleRuleMetricDimension>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.AutoscaleRuleMetricDimension>
type AutoscaleRuleMetricDimension = class
    interface IJsonModel<AutoscaleRuleMetricDimension>
    interface IPersistableModel<AutoscaleRuleMetricDimension>
Public Class AutoscaleRuleMetricDimension
Implements IJsonModel(Of AutoscaleRuleMetricDimension), IPersistableModel(Of AutoscaleRuleMetricDimension)
Inheritance
AutoscaleRuleMetricDimension
Implements

Constructors

AutoscaleRuleMetricDimension(String, ScaleRuleMetricDimensionOperationType, IEnumerable<String>)

Initializes a new instance of AutoscaleRuleMetricDimension.

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.

Values

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

Explicit Interface Implementations

IJsonModel<AutoscaleRuleMetricDimension>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AutoscaleRuleMetricDimension>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleRuleMetricDimension>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleRuleMetricDimension>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AutoscaleRuleMetricDimension>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to