CmdID / az / az cosmosdb / az cosmosdb softdeleted-account
az cosmosdb softdeleted-account recover
Recover a soft-deleted Azure Cosmos DB account. Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
Examples
Recover a soft-deleted Azure Cosmos DB account.
az cosmosdb softdeleted-account recover --location westus --name MyAccount --resource-group MyResourceGroupIdentify--locationLocation of the soft-deleted account.--nameName of the soft-deleted Cosmos DB account to recover.--resource-groupName of the resource group.Options
--location, -lLocation of the soft-deleted account.--name, -nName of the soft-deleted Cosmos DB account to recover.--resource-group, -gName of the resource group.