IWithConsistencyPolicy.WithBoundedStalenessConsistency(Int64, Int32) Method
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.
The bounded staleness consistency policy for the CosmosDB account.
public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithWriteReplication WithBoundedStalenessConsistency (long maxStalenessPrefix, int maxIntervalInSeconds);
abstract member WithBoundedStalenessConsistency : int64 * int -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithWriteReplication
Public Function WithBoundedStalenessConsistency (maxStalenessPrefix As Long, maxIntervalInSeconds As Integer) As IWithWriteReplication
Parameters
- maxStalenessPrefix
- Int64
The max staleness prefix.
- maxIntervalInSeconds
- Int32
The max interval in seconds.
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET