共用方式為


ThroughputSettingsResourceInfo Class

Definition

Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both.

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

Constructors

ThroughputSettingsResourceInfo()

Initializes a new instance of ThroughputSettingsResourceInfo.

Properties

AutoscaleSettings

Cosmos DB resource for autoscale settings. Either throughput is required or autoscaleSettings is required, but not both.

InstantMaximumThroughput

The offer throughput value to instantly scale up without triggering splits.

MinimumThroughput

The minimum throughput of the resource.

OfferReplacePending

The throughput replace is pending.

SoftAllowedMaximumThroughput

The maximum throughput value or the maximum maxThroughput value (for autoscale) that can be specified.

Throughput

Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ThroughputSettingsResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ThroughputSettingsResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ThroughputSettingsResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ThroughputSettingsResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ThroughputSettingsResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to