Table of Contents

Interface IWithConsistencyPolicy

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The stage of the cosmos db update allowing to set the consistency policy.

public interface IWithConsistencyPolicy

Methods

WithBoundedStalenessConsistency(int, int)

The consistency policy for the CosmosDB account.

IWithOptionals WithBoundedStalenessConsistency(int maxStalenessPrefix, int maxIntervalInSeconds)

Parameters

maxStalenessPrefix int

The max staleness prefix.

maxIntervalInSeconds int

The max interval in seconds.

Returns

IWithOptionals

WithEventualConsistency()

The consistency policy for the CosmosDB account.

IWithOptionals WithEventualConsistency()

Returns

IWithOptionals

WithSessionConsistency()

The consistency policy for the CosmosDB account.

IWithOptionals WithSessionConsistency()

Returns

IWithOptionals

WithStrongConsistency()

The consistency policy for the CosmosDB account.

IWithOptionals WithStrongConsistency()

Returns

IWithOptionals