az cosmosdb restorable-database-account

Note

This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.

Manage restorable Azure Cosmos DB accounts.

Commands

Name Description Type Status
az cosmosdb restorable-database-account list

List all the database accounts that can be restored.

Core GA
az cosmosdb restorable-database-account list (cosmosdb-preview extension)

List all the database accounts that can be restored.

Extension GA
az cosmosdb restorable-database-account show

Show the details of a database account that can be restored.

Core GA
az cosmosdb restorable-database-account show (cosmosdb-preview extension)

Show the details of a database account that can be restored.

Extension GA

az cosmosdb restorable-database-account list

List all the database accounts that can be restored.

az cosmosdb restorable-database-account list [--account-name]
                                             [--location]

Optional Parameters

--account-name -n

Name 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.

az cosmosdb restorable-database-account list (cosmosdb-preview extension)

List all the database accounts that can be restored.

az cosmosdb restorable-database-account list [--account-name]
                                             [--location]

Optional Parameters

--account-name -n

Name 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.

az cosmosdb restorable-database-account show

Show the details of a database account that can be restored.

az cosmosdb restorable-database-account show [--instance-id]
                                             [--location]

Optional 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.

az cosmosdb restorable-database-account show (cosmosdb-preview extension)

Show the details of a database account that can be restored.

az cosmosdb restorable-database-account show [--instance-id]
                                             [--location]

Optional 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.