다음을 통해 공유


CosmosDBMetricName Class

Definition

A metric name.

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

Properties

LocalizedValue

The friendly name of the metric.

Value

The name of the metric.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBMetricName>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBMetricName>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBMetricName>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBMetricName>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBMetricName>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to