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<CosmosDatabaseResponse> |
CosmosAsyncClient.createDatabase(CosmosDatabaseProperties databaseProperties,
CosmosDatabaseRequestOptions options)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties,
CosmosDatabaseRequestOptions options)
Creates a 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> |
CosmosAsyncDatabase.delete(CosmosDatabaseRequestOptions options)
Deletes a database.
|
CosmosDatabaseResponse |
CosmosDatabase.delete(CosmosDatabaseRequestOptions options)
Delete the current Cosmos database while specifying additional request options.
|
Mono<CosmosDatabaseResponse> |
CosmosAsyncDatabase.read(CosmosDatabaseRequestOptions options)
Reads a database.
|
CosmosDatabaseResponse |
CosmosDatabase.read(CosmosDatabaseRequestOptions options)
Reads the current Cosmos database while specifying additional request options.
|
Modifier and Type | Method and Description |
---|---|
CosmosDatabaseRequestOptions |
CosmosDatabaseRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
CosmosDatabaseRequestOptions |
CosmosDatabaseRequestOptions.setIfNoneMatchETag(String ifNoneMatchETag)
Sets the If-None-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.