AzureCosmosDBResource.addCosmosDatabase
Method
interface AzureCosmosDBResource { // ... omitted for brevity addCosmosDatabase( name: string, databaseName?: string): AzureCosmosDBDatabaseResource;}Signature
method
addCosmosDatabase builderAdds a database to the associated Cosmos DB account resource.
addCosmosDatabase( name: string, databaseName?: string): AzureCosmosDBDatabaseResourceParameters
namestringThe name of the database resource.databaseName stringoptionalThe name of the database. If not provided, this defaults to the same value as `name`.Returns
AzureCosmosDBDatabaseResource Defined on
This method is defined on the following type: