AccountConsistencyPolicyArgs

data class AccountConsistencyPolicyArgs(val consistencyLevel: Output<String>, val maxIntervalInSeconds: Output<Int>? = null, val maxStalenessPrefix: Output<Int>? = null) : ConvertibleToJava<AccountConsistencyPolicyArgs>

Constructors

Link copied to clipboard
constructor(consistencyLevel: Output<String>, maxIntervalInSeconds: Output<Int>? = null, maxStalenessPrefix: Output<Int>? = null)

Properties

Link copied to clipboard

The Consistency Level to use for this CosmosDB Account - can be either BoundedStaleness, Eventual, Session, Strong or ConsistentPrefix.

Link copied to clipboard
val maxIntervalInSeconds: Output<Int>? = null

When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. The accepted range for this value is 5 - 86400 (1 day). Defaults to 5. Required when consistency_level is set to BoundedStaleness.

Link copied to clipboard
val maxStalenessPrefix: Output<Int>? = null

When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. The accepted range for this value is 102147483647. Defaults to 100. Required when consistency_level is set to BoundedStaleness.

Functions

Link copied to clipboard
open override fun toJava(): AccountConsistencyPolicyArgs