Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
Modifier and Type | Method and Description |
---|---|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties)
Creates a Cosmos database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties,
CosmosDatabaseRequestOptions options)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties,
ThroughputProperties throughputProperties)
Creates a Cosmos database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties,
ThroughputProperties throughputProperties,
CosmosDatabaseRequestOptions options)
Creates a Cosmos database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(String id)
Creates a Cosmos database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(String id,
ThroughputProperties throughputProperties)
Creates a Cosmos database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabaseIfNotExists(String id)
Create a Cosmos 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.
|
CosmosDatabaseResponse |
CosmosDatabase.delete()
Deletes the current Cosmos database.
|
CosmosDatabaseResponse |
CosmosDatabase.delete(CosmosDatabaseRequestOptions options)
Delete the current Cosmos database while specifying additional request options.
|
CosmosDatabaseResponse |
CosmosDatabase.read()
Reads the current Cosmos database.
|
CosmosDatabaseResponse |
CosmosDatabase.read(CosmosDatabaseRequestOptions options)
Reads the current Cosmos database while specifying additional request options.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.