CmdID / az / az cosmosdb / az cosmosdb sql / az cosmosdb sql softdeleted-container
az cosmosdb sql softdeleted-container list
List all soft-deleted containers in a database. Azure CLI extensions reference
1 example 4 options Its page in the Azure CLI extensions reference
Examples
List all soft-deleted containers in a database.
az cosmosdb sql softdeleted-container list --location westus --account-name MyAccount --database-name MyDatabase --resource-group MyResourceGroupIdentify--locationLocation of the account.--account-nameName of the Cosmos DB account.--database-nameName of the database.--resource-groupName of the resource group.Options
--account-name, -aName of the Cosmos DB account.--database-name, -dName of the database.--location, -lLocation of the account.--resource-group, -gName of the resource group.