public static interface CosmosDBAccount.UpdateStages.WithConsistencyPolicy
| Modifier and Type | Method and Description |
|---|---|
CosmosDBAccount.UpdateStages.WithOptionals |
withBoundedStalenessConsistency(long maxStalenessPrefix,
int maxIntervalInSeconds)
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
withEventualConsistency()
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
withSessionConsistency()
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
withStrongConsistency()
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals withEventualConsistency()
CosmosDBAccount.UpdateStages.WithOptionals withSessionConsistency()
CosmosDBAccount.UpdateStages.WithOptionals withBoundedStalenessConsistency(long maxStalenessPrefix, int maxIntervalInSeconds)
maxStalenessPrefix - the max staleness prefixmaxIntervalInSeconds - the max interval in secondsCosmosDBAccount.UpdateStages.WithOptionals withStrongConsistency()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/