Uses of Class
com.azure.cosmos.models.CosmosDatabaseResponse
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
-
Uses of CosmosDatabaseResponse in com.azure.cosmos
Modifier and TypeMethodDescriptionCosmosClient.createDatabase
(CosmosDatabaseProperties databaseProperties) Creates a Cosmos database.CosmosClient.createDatabase
(CosmosDatabaseProperties databaseProperties, CosmosDatabaseRequestOptions options) 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) Creates a Cosmos database.CosmosClient.createDatabase
(String id, ThroughputProperties throughputProperties) Creates a Cosmos database.CosmosClient.createDatabaseIfNotExists
(String id) Create a Cosmos 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.CosmosDatabase.delete()
Deletes the current Cosmos database.CosmosDatabase.delete
(CosmosDatabaseRequestOptions options) Delete the current Cosmos database while specifying additional request options.CosmosDatabase.read()
Reads the current Cosmos database.CosmosDatabase.read
(CosmosDatabaseRequestOptions options) Reads the current Cosmos database while specifying additional request options.Modifier and TypeMethodDescriptionCosmosAsyncClient.createDatabase
(CosmosDatabaseProperties databaseProperties) Creates a database.CosmosAsyncClient.createDatabase
(CosmosDatabaseProperties databaseProperties, CosmosDatabaseRequestOptions options) Creates a database.CosmosAsyncClient.createDatabase
(CosmosDatabaseProperties databaseProperties, ThroughputProperties throughputProperties) Creates a database.CosmosAsyncClient.createDatabase
(CosmosDatabaseProperties databaseProperties, ThroughputProperties throughputProperties, CosmosDatabaseRequestOptions options) Creates a database.CosmosAsyncClient.createDatabase
(String id) Creates a database.CosmosAsyncClient.createDatabase
(String id, ThroughputProperties throughputProperties) Creates a database.CosmosAsyncClient.createDatabaseIfNotExists
(CosmosDatabaseProperties databaseProperties) CREATE a Database if it does not already exist on the service.CosmosAsyncClient.createDatabaseIfNotExists
(String id) Create a Database if it does not already exist on the service.CosmosAsyncClient.createDatabaseIfNotExists
(String id, ThroughputProperties throughputProperties) Create a Database if it does not already exist on the service.CosmosAsyncDatabase.delete()
Deletes the current Cosmos database.CosmosAsyncDatabase.delete
(CosmosDatabaseRequestOptions options) Deletes the current Cosmos database while specifying additional request options.CosmosAsyncDatabase.read()
Reads a database.CosmosAsyncDatabase.read
(CosmosDatabaseRequestOptions options) Reads a database.