Package | Description |
---|---|
com.microsoft.azure.management.cosmosdb |
This package contains the classes for CosmosDB.
|
Modifier and Type | Method and Description |
---|---|
ConsistencyPolicy |
DatabaseAccountCreateUpdateParameters.consistencyPolicy()
Get the consistency policy for the Cosmos DB account.
|
ConsistencyPolicy |
CosmosDBAccount.consistencyPolicy() |
ConsistencyPolicy |
ConsistencyPolicy.withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)
Set the default consistency level and configuration settings of the Cosmos DB account.
|
ConsistencyPolicy |
ConsistencyPolicy.withMaxIntervalInSeconds(Integer maxIntervalInSeconds)
Set when used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated.
|
ConsistencyPolicy |
ConsistencyPolicy.withMaxStalenessPrefix(Long maxStalenessPrefix)
Set when used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated.
|
Modifier and Type | Method and Description |
---|---|
DatabaseAccountCreateUpdateParameters |
DatabaseAccountCreateUpdateParameters.withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
Set the consistency policy for the Cosmos DB account.
|
Copyright © 2019. All rights reserved.