MetricDimension Class

Definition

Specifies a metric dimension.

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

Constructors

MetricDimension(String, String, IEnumerable<String>)

Initializes a new instance of MetricDimension.

Properties

Name

Name of the dimension.

Operator

the dimension operator. Only 'Include' and 'Exclude' are supported.

Values

list of dimension values.

Explicit Interface Implementations

IJsonModel<MetricDimension>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MetricDimension>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MetricDimension>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MetricDimension>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MetricDimension>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to