Class AccountConsistencyPolicy
Inheritance
System.Object
AccountConsistencyPolicy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.CosmosDB.Outputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AccountConsistencyPolicy
Fields
View SourceConsistencyLevel
The Consistency Level to use for this CosmosDB Account - can be either BoundedStaleness, Eventual, Session, Strong or ConsistentPrefix.
Declaration
public readonly string ConsistencyLevel
Field Value
| Type | Description |
|---|---|
| System.String |
MaxIntervalInSeconds
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 (1 day). Defaults to 5. Required when consistency_level is set to BoundedStaleness.
Declaration
public readonly int? MaxIntervalInSeconds
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
MaxStalenessPrefix
When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 10 – 2147483647. Defaults to 100. Required when consistency_level is set to BoundedStaleness.
Declaration
public readonly int? MaxStalenessPrefix
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |