Share via


IWithConsistencyPolicy.WithBoundedStalenessConsistency(Int32, Int32) Method

Definition

The consistency policy for the CosmosDB account.

public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals WithBoundedStalenessConsistency (int maxStalenessPrefix, int maxIntervalInSeconds);
abstract member WithBoundedStalenessConsistency : int * int -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals
Public Function WithBoundedStalenessConsistency (maxStalenessPrefix As Integer, maxIntervalInSeconds As Integer) As IWithOptionals

Parameters

maxStalenessPrefix
Int32

The max staleness prefix.

maxIntervalInSeconds
Int32

The max interval in seconds.

Returns

Applies to