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