CmdID / az / az cosmosdb / az cosmosdb mongodb
az cosmosdb mongodb database
Manage Azure Cosmos DB MongoDB databases. Azure CLI reference
8 commands 4 options Its page in the Azure CLI reference
Commands
createCreate an MongoDB database under an Azure Cosmos DB account.deleteDelete the MongoDB database under an Azure Cosmos DB account.existsChecks if an Azure Cosmos DB MongoDB database existslistList the MongoDB databases under an Azure Cosmos DB account.mergeMerges the partitions of a mongodb database.restoreRestore a deleted mongodb database within the same account.showShow the details of a MongoDB database under an Azure Cosmos DB account.throughputManage throughput of MongoDB database under an Azure Cosmos DB account.Options
--account-name, -aCosmosdb account name.--max-throughputThe maximum throughput resource can scale to (RU/s).--name, -nDatabase name--throughputThe throughput of MongoDB database (RU/s).