Udostępnij za pośrednictwem


AccountConsistency Class

Definition

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

public class AccountConsistency
type AccountConsistency = class
Public Class AccountConsistency
Inheritance
AccountConsistency

Constructors

AccountConsistency()

Properties

DefaultConsistencyLevel

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

MaxStalenessIntervalInSeconds

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

MaxStalenessPrefix

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

Applies to