Table of Contents

Class AccountConsistency

Namespace
Microsoft.Azure.Cosmos
Assembly
Microsoft.Azure.Cosmos.Client.dll

Represents the consistency policy of a database account of the Azure Cosmos DB service.

public class AccountConsistency
Inheritance
AccountConsistency
Inherited Members
Extension Methods

Constructors

AccountConsistency()

public AccountConsistency()

Properties

DefaultConsistencyLevel

Get or set the default consistency level in the Azure Cosmos DB service.

public ConsistencyLevel DefaultConsistencyLevel { get; }

Property Value

ConsistencyLevel

MaxStalenessIntervalInSeconds

For bounded staleness consistency, the maximum allowed staleness in terms time interval in the Azure Cosmos DB service.

public int MaxStalenessIntervalInSeconds { get; }

Property Value

int

MaxStalenessPrefix

For bounded staleness consistency, the maximum allowed staleness in terms difference in sequence numbers (aka version) in the Azure Cosmos DB service.

public int MaxStalenessPrefix { get; }

Property Value

int