Sdílet prostřednictvím


CosmosDBThroughputBucket Class

Definition

Cosmos DB throughput bucket object.

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

Constructors

CosmosDBThroughputBucket(Int32, Int32)

Initializes a new instance of CosmosDBThroughputBucket.

Properties

Id

Represents the throughput bucket id.

MaxThroughputPercentage

Represents maximum percentage throughput that can be used by the bucket.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBThroughputBucket>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBThroughputBucket>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBThroughputBucket>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBThroughputBucket>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBThroughputBucket>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to