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
intThe max staleness prefix.
maxIntervalInSeconds
intThe max interval in seconds.
Returns
WithEventualConsistency()
The consistency policy for the CosmosDB account.
IWithOptionals WithEventualConsistency()
Returns
WithSessionConsistency()
The consistency policy for the CosmosDB account.
IWithOptionals WithSessionConsistency()
Returns
WithStrongConsistency()
The consistency policy for the CosmosDB account.
IWithOptionals WithStrongConsistency()