Consistency Policy Args
data class ConsistencyPolicyArgs(val defaultConsistencyLevel: Output<DefaultConsistencyLevel>, val maxIntervalInSeconds: Output<Int>? = null, val maxStalenessPrefix: Output<Double>? = null) : ConvertibleToJava<ConsistencyPolicyArgs>
The consistency policy for the Cosmos DB database account.
Constructors
Link copied to clipboard
constructor(defaultConsistencyLevel: Output<DefaultConsistencyLevel>, maxIntervalInSeconds: Output<Int>? = null, maxStalenessPrefix: Output<Double>? = null)
Properties
Link copied to clipboard
The default consistency level and configuration settings of the Cosmos DB account.
Link copied to clipboard
When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.
Link copied to clipboard
When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.