PartitionUsage Class

Definition

The partition level usage data for a usage request.

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

Properties

CurrentValue

Current value for this metric.

(Inherited from CosmosDBBaseUsage)
Limit

Maximum value for this metric.

(Inherited from CosmosDBBaseUsage)
Name

The name information for the metric.

(Inherited from CosmosDBBaseUsage)
PartitionId

The partition id (GUID identifier) of the usages.

PartitionKeyRangeId

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

QuotaPeriod

The quota period used to summarize the usage values.

(Inherited from CosmosDBBaseUsage)
Unit

The unit of the metric.

(Inherited from CosmosDBBaseUsage)

Explicit Interface Implementations

IJsonModel<CosmosDBBaseUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from CosmosDBBaseUsage)
IJsonModel<PartitionUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartitionUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBBaseUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from CosmosDBBaseUsage)
IPersistableModel<PartitionUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartitionUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartitionUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to