Modifier and Type | Method and Description |
---|---|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties,
CosmosDatabaseRequestOptions options)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties,
int throughput)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties,
int throughput,
CosmosDatabaseRequestOptions options)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(String id)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(String id,
int throughput)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabaseIfNotExists(CosmosDatabaseProperties databaseProperties)
Create a Database if it does not already exist on the service
|
CosmosDatabaseResponse |
CosmosClient.createDatabaseIfNotExists(String id)
Create a Database if it does not already exist on the service
|
CosmosDatabaseResponse |
CosmosDatabase.delete()
Delete a database.
|
CosmosDatabaseResponse |
CosmosDatabase.delete(CosmosDatabaseRequestOptions options)
Delete a database.
|
CosmosDatabaseResponse |
CosmosDatabase.read()
Reads a database
|
CosmosDatabaseResponse |
CosmosDatabase.read(CosmosDatabaseRequestOptions options)
Reads a database.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.