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)
Creates a database.
|
CosmosDatabaseResponse |
CosmosClient.createDatabase(CosmosDatabaseProperties databaseProperties)
Creates a Cosmos database.
|
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)
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.createDatabaseIfNotExists(CosmosDatabaseProperties databaseProperties)
CREATE a Database if it does not already exist on the service.
|
Modifier and Type | Method and Description |
---|---|
CosmosDatabaseProperties |
CosmosDatabaseResponse.getProperties()
Gets the cosmos database properties
|
CosmosDatabaseProperties |
CosmosDatabaseProperties.setId(String id)
Sets the name of the resource.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.