Sdílet prostřednictvím


IWithConsistencyPolicy.WithBoundedStalenessConsistency(Int64, Int32) Method

Definition

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