CosmosDbThroughput class
Class representing a CosmosDB throughput.
Constructors
- CosmosDbThroughput(int throughput)
-
Creates a new manual
throughput
RUs. Must be a multiple of 100. Minimum allowed is 400 RUs. - CosmosDbThroughput.autoScale(int maxThroughput)
-
Creates a new auto-scale throughput for
maxThroughput
RUs. Must be a multiple of 1000. Minimum allowed is 1000 RUs. - CosmosDbThroughput.none()
- Used for servles instances where throughput can't be set
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- minimum → CosmosDbThroughput
-
Minimum manual throughput (400 RU).
final
Static Methods
-
createHeader(
int throughput) → Map< String, String>