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 © 2019. All rights reserved.