CosmosDBAccountImpl.IWithConsistencyPolicy.WithBoundedStalenessConsistency Method

Definition

The bounded staleness consistency policy for the CosmosDB account.

Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithWriteReplication IWithConsistencyPolicy.WithBoundedStalenessConsistency (long maxStalenessPrefix, int maxIntervalInSeconds);
abstract member Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithConsistencyPolicy.WithBoundedStalenessConsistency : int64 * int -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithWriteReplication
override this.Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithConsistencyPolicy.WithBoundedStalenessConsistency : int64 * int -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithWriteReplication
Function WithBoundedStalenessConsistency (maxStalenessPrefix As Long, maxIntervalInSeconds As Integer) As IWithWriteReplication Implements IWithConsistencyPolicy.WithBoundedStalenessConsistency

Parameters

maxStalenessPrefix
Int64

The max staleness prefix.

maxIntervalInSeconds
Int32

The max interval in seconds.

Returns

Implements

Applies to