Share via


az backup deleted-vault

Manage soft-deleted Recovery Services vaults.

Commands

Name Description Type Status
az backup deleted-vault get

Get details of a soft-deleted Recovery Services vault.

Core GA
az backup deleted-vault list

List soft-deleted Recovery Services vaults.

Core GA
az backup deleted-vault list-containers

List backup containers in a soft-deleted vault.

Core GA
az backup deleted-vault undelete

Restore a soft-deleted Recovery Services vault.

Core GA

az backup deleted-vault get

Get details of a soft-deleted Recovery Services vault.

az backup deleted-vault get [--acquire-policy-token]
                            [--change-reference]
                            [--deleted-vault-id --ids]
                            [--location]
                            [--name]

Examples

Get details of a soft-deleted vault by name and location.

az backup deleted-vault get --location eastus --name deletedVaultName

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--deleted-vault-id --ids

ID of the deleted vault.

--location -l

Location of the deleted vault.

--name -n

Name of the deleted vault.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az backup deleted-vault list

List soft-deleted Recovery Services vaults.

az backup deleted-vault list --location

Examples

List soft-deleted vaults in a specific location under the active subscription.

az backup deleted-vault list --location eastus

Required Parameters

--location -l

Location of the deleted vault.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az backup deleted-vault list-containers

List backup containers in a soft-deleted vault.

az backup deleted-vault list-containers [--acquire-policy-token]
                                        [--change-reference]
                                        [--deleted-vault-id --ids]
                                        [--location]
                                        [--name]

Examples

List backup containers in a soft-deleted vault.

az backup deleted-vault list-containers --name MyVault

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--deleted-vault-id --ids

ID of the deleted vault.

--location -l

Location of the deleted vault.

--name -n

Name of the deleted vault.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az backup deleted-vault undelete

Restore a soft-deleted Recovery Services vault.

az backup deleted-vault undelete [--acquire-policy-token]
                                 [--change-reference]
                                 [--deleted-vault-id --ids]
                                 [--location]
                                 [--name]

Examples

Restore a soft-deleted vault by name and location.

az backup deleted-vault undelete --name MyVault --location eastus

Restore a soft-deleted vault using its ARM ID.

az backup deleted-vault undelete --ids /subscriptions/{subscription-id}/locations/{location}/deletedVaults/{deleted-vault-name}

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--deleted-vault-id --ids

ID of the deleted vault.

--location -l

Location of the deleted vault.

--name -n

Name of the deleted vault.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False