Udostępnij za pośrednictwem


CosmosDBMetricValue Class

Definition

Represents metrics values.

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

Properties

Average

The average value of the metric.

Count

The number of values for the metric.

Maximum

The max value of the metric.

Minimum

The min value of the metric.

Timestamp

The metric timestamp (ISO-8601 format).

Total

The total value of the metric.

Explicit Interface Implementations

IJsonModel<CosmosDBMetricValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBMetricValue>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBMetricValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBMetricValue>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBMetricValue>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to