Condividi tramite


CosmosDBBaseConfig Class

Definition

Cosmos DB options resource object.

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

Constructors

CosmosDBBaseConfig()

Initializes a new instance of CosmosDBBaseConfig.

Properties

AutoscaleMaxThroughput

Represents maximum throughput, the resource can scale up to.

Throughput

Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBBaseConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBBaseConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBBaseConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBBaseConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBBaseConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to