Condividi tramite


MetricDimension Class

Definition

Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, where instance name is dimension of the metric HTTP request

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

Properties

DisplayName

Gets the display name.

InternalName

Gets the internal name.

IsToBeExportedForShoebox

Gets the is to be exported for shoebox.

Name

Gets the name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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