Share via


az cosmosdb mongodb restorable-database

Manage different versions of mongodb databases that are restorable in a Azure Cosmos DB account.

Commands

Name Description Type Status
az cosmosdb mongodb restorable-database list

List all the versions of all the mongodb databases that were created / modified / deleted in the given restorable account.

Core GA

az cosmosdb mongodb restorable-database list

List all the versions of all the mongodb databases that were created / modified / deleted in the given restorable account.

az cosmosdb mongodb restorable-database list --instance-id
                                             --location

Required Parameters

--instance-id -i

InstanceId of the Account.

--location -l

Location.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.