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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET