ThroughputSettingsResource Class

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

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.cosmosdb._serialization.Model
ThroughputSettingsResource

Constructor

ThroughputSettingsResource(*, throughput: int | None = None, autoscale_settings: _models.AutoscaleSettingsResource | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
throughput
int

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

autoscale_settings

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

Variables

Name Description
throughput
int

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

autoscale_settings

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

minimum_throughput
str

The minimum throughput of the resource.

offer_replace_pending
str

The throughput replace is pending.

instant_maximum_throughput
str

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

soft_allowed_maximum_throughput
str

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