CosmosDBCreateUpdateConfig Class

Definition

CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput".

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

Constructors

CosmosDBCreateUpdateConfig()

Initializes a new instance of CosmosDBCreateUpdateConfig.

Properties

AutoscaleMaxThroughput

Represents maximum throughput, the resource can scale up to.

Throughput

Request Units per second. For example, "throughput": 10000.

Explicit Interface Implementations

IJsonModel<CosmosDBCreateUpdateConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBCreateUpdateConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBCreateUpdateConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBCreateUpdateConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBCreateUpdateConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to