CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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

3 in the Azure CLI extensions reference
--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.