Uses of Class
com.azure.cosmos.models.ThroughputProperties
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of ThroughputProperties in com.azure.cosmos
Modifier and TypeMethodDescriptionCosmosAsyncDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container with custom throughput properties.CosmosAsyncDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties, CosmosContainerRequestOptions options) Creates a container.CosmosAsyncDatabase.createContainer
(String id, String partitionKeyPath, ThroughputProperties throughputProperties) Creates a Cosmos container.CosmosDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container with custom throughput setting.CosmosDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties, CosmosContainerRequestOptions options) Creates a Cosmos container.CosmosDatabase.createContainer
(String id, String partitionKeyPath, ThroughputProperties throughputProperties) Create a Cosmos container.CosmosAsyncDatabase.createContainerIfNotExists
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container if it does not exist on the service.CosmosAsyncDatabase.createContainerIfNotExists
(String id, String partitionKeyPath, ThroughputProperties throughputProperties) Creates a Cosmos container if it does not exist on the service.CosmosDatabase.createContainerIfNotExists
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container if one matching the id in the properties object does not exist.CosmosDatabase.createContainerIfNotExists
(String id, String partitionKeyPath, ThroughputProperties throughputProperties) Creates a Cosmos container if one matching the id does not exist.CosmosAsyncClient.createDatabase
(CosmosDatabaseProperties databaseProperties, ThroughputProperties throughputProperties) Creates a database.CosmosAsyncClient.createDatabase
(CosmosDatabaseProperties databaseProperties, ThroughputProperties throughputProperties, CosmosDatabaseRequestOptions options) Creates a database.CosmosAsyncClient.createDatabase
(String id, ThroughputProperties throughputProperties) Creates a database.CosmosClient.createDatabase
(CosmosDatabaseProperties databaseProperties, ThroughputProperties throughputProperties) Creates a Cosmos database.CosmosClient.createDatabase
(CosmosDatabaseProperties databaseProperties, ThroughputProperties throughputProperties, CosmosDatabaseRequestOptions options) Creates a Cosmos database.CosmosClient.createDatabase
(String id, ThroughputProperties throughputProperties) Creates a Cosmos database.CosmosAsyncClient.createDatabaseIfNotExists
(String id, ThroughputProperties throughputProperties) Create a Database if it does not already exist on the service.CosmosClient.createDatabaseIfNotExists
(String id, ThroughputProperties throughputProperties) Create a Cosmos database if it does not already exist on the service.CosmosAsyncContainer.replaceThroughput
(ThroughputProperties throughputProperties) Replace the throughput.CosmosAsyncDatabase.replaceThroughput
(ThroughputProperties throughputProperties) Sets throughput provisioned for a container in measurement of Requests-per-Unit in the Azure Cosmos service.CosmosContainer.replaceThroughput
(ThroughputProperties throughputProperties) Sets the throughput for the current container.CosmosDatabase.replaceThroughput
(ThroughputProperties throughputProperties) Sets the throughput of the current database. -
Uses of ThroughputProperties in com.azure.cosmos.models
Modifier and TypeMethodDescriptionstatic ThroughputProperties
ThroughputProperties.createAutoscaledThroughput
(int autoScaleMaxThroughput) Create auto scaled provisioned throughput throughput properties.static ThroughputProperties
ThroughputProperties.createManualThroughput
(int throughput) Create fixed throughput properties.ThroughputResponse.getProperties()