Udostępnij za pośrednictwem


PartitionMetric Class

Definition

The metric values for a single partition.

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

Properties

EndOn

The end time for the metric (ISO-8601 format).

(Inherited from CosmosDBBaseMetric)
MetricValues

The metric values for the specified time window and timestep.

(Inherited from CosmosDBBaseMetric)
Name

The name information for the metric.

(Inherited from CosmosDBBaseMetric)
PartitionId

The partition id (GUID identifier) of the metric values.

PartitionKeyRangeId

The partition key range id (integer identifier) of the metric values.

StartOn

The start time for the metric (ISO-8601 format).

(Inherited from CosmosDBBaseMetric)
TimeGrain

The time grain to be used to summarize the metric values.

(Inherited from CosmosDBBaseMetric)
Unit

The unit of the metric.

(Inherited from CosmosDBBaseMetric)

Explicit Interface Implementations

IJsonModel<CosmosDBBaseMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from CosmosDBBaseMetric)
IJsonModel<CosmosDBBaseMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CosmosDBBaseMetric)
IJsonModel<PartitionMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartitionMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBBaseMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CosmosDBBaseMetric)
IPersistableModel<CosmosDBBaseMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CosmosDBBaseMetric)
IPersistableModel<CosmosDBBaseMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CosmosDBBaseMetric)
IPersistableModel<PartitionMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartitionMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartitionMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to