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

Experimental Preview Deprecated

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
Experimental Preview Deprecated

The name of the managed instance. Required.

--resource-group -g
Experimental Preview Deprecated

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

Optional Parameters

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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

az sql recoverable-midb show

Experimental Preview Deprecated

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
Experimental Preview Deprecated

The id of recoverable database from geo-replicated instance.

--instance-name --mi
Experimental Preview Deprecated

The name of the managed instance. Required.

--resource-group -g
Experimental Preview Deprecated

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

Optional Parameters

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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