Share via


az sql recoverable-midb

Recoverable managed databases command group.

Commands

Name Description Type Status
az sql recoverable-midb list

Get all recoverable managed databases for given instance name.

Core GA
az sql recoverable-midb show

Get recoverable managed database.

Core GA

az sql recoverable-midb list

Get all recoverable managed databases for given instance name.

az sql recoverable-midb list --instance-name
                             --resource-group

Examples

List all recoverable managed databases for given instance name

az sql recoverable-midb list -g mygroup --mi myinstance

Required Parameters

--instance-name --mi

The name of the managed instance. Required.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

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 sql recoverable-midb show

Get recoverable managed database.

az sql recoverable-midb show --database-name
                             --instance-name
                             --resource-group

Examples

Get recoverable managed database

az sql recoverable-midb show -g mygroup --mi myinstance -n mymanageddb

Required Parameters

--database-name -n

The id of recoverable database from geo-replicated instance.

--instance-name --mi

The name of the managed instance. Required.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

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.