Class AccountConsistencyPolicyArgs
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.Inputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AccountConsistencyPolicyArgs : ResourceArgs
Constructors
View SourceAccountConsistencyPolicyArgs()
Declaration
public AccountConsistencyPolicyArgs()
Properties
View SourceConsistencyLevel
The Consistency Level to use for this CosmosDB Account - can be either BoundedStaleness, Eventual, Session, Strong or ConsistentPrefix.
Declaration
public Input<string> ConsistencyLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> MaxIntervalInSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> MaxStalenessPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |