Delen via


CosmosDBBaseUsage Class

Definition

The usage data for a usage request.

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

Properties

CurrentValue

Current value for this metric.

Limit

Maximum value for this metric.

Name

The name information for the metric.

QuotaPeriod

The quota period used to summarize the usage values.

Unit

The unit of the metric.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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.

IJsonModel<CosmosDBBaseUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBBaseUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBBaseUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBBaseUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to