Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConsistencyPolicy

Package version

The consistency policy for the Cosmos DB database account.

Hierarchy

  • ConsistencyPolicy

Index

Properties

defaultConsistencyLevel

defaultConsistencyLevel: DefaultConsistencyLevel

The default consistency level and configuration settings of the Cosmos DB account.

Optional maxIntervalInSeconds

maxIntervalInSeconds: undefined | number

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. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.

Optional maxStalenessPrefix

maxStalenessPrefix: undefined | number

When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'.

Generated using TypeDoc