AccountConsistency Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the consistency policy of a database account of the Azure Cosmos DB service.
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonAccountConsistencyConverter))]
public class AccountConsistency
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonAccountConsistencyConverter))>]
type AccountConsistency = class
Public Class AccountConsistency
- Inheritance
-
AccountConsistency
- Attributes
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
Azure SDK for .NET