az backup vault

Online storage entity in Azure used to hold data such as backup copies, recovery points and backup policies.

Commands

az backup vault backup-properties

Properties of the Recovery Services vault.

az backup vault backup-properties set

Sets backup related properties of the Recovery Services vault.

az backup vault backup-properties show

Gets backup related properties of the Recovery Services vault.

az backup vault create

Create a new Recovery Services vault.

az backup vault delete

Delete an existing Recovery services vault.

az backup vault encryption

Encryption details of a Recovery Services Vault.

az backup vault encryption show

Show details of encryption properties of a Recovery Services Vault.

az backup vault encryption update

Update encryption properties of a Recovery Services Vault.

az backup vault identity

Identity details of a Recovery Services Vault.

az backup vault identity assign

Assign Identities to Recovery Services vault.

az backup vault identity remove

Remove Identities of Recovery Services vault.

az backup vault identity show

Show Identities of Recovery Services vault.

az backup vault list

List Recovery service vaults within a subscription.

az backup vault show

Show details of a particular Recovery service vault.

az backup vault create

Create a new Recovery Services vault.

az backup vault create --location
                       --name
                       --resource-group
                       [--subscription]
                       [--tags]

Examples

Create a new Recovery Services vault. (autogenerated)

az backup vault create --location westus2 --name MyRecoveryServicesVault --resource-group MyResourceGroup

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--name -n

Name of the Recovery services vault.

--resource-group -g

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

Optional Parameters

--subscription

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

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

az backup vault delete

Delete an existing Recovery services vault.

az backup vault delete [--force]
                       [--ids]
                       [--name]
                       [--resource-group]
                       [--subscription]
                       [--yes]

Examples

Delete an existing Recovery services vault. (autogenerated)

az backup vault delete --name MyRecoveryServicesVault --resource-group MyResourceGroup --yes

Optional Parameters

--force

Force completion of the requested action.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the Recovery services vault.

--resource-group -g

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

--subscription

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

--yes -y

Do not prompt for confirmation.

az backup vault list

List Recovery service vaults within a subscription.

az backup vault list [--query-examples]
                     [--resource-group]
                     [--subscription]

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

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

az backup vault show

Show details of a particular Recovery service vault.

az backup vault show [--ids]
                     [--name]
                     [--query-examples]
                     [--resource-group]
                     [--subscription]

Examples

Show details of a particular Recovery service vault. (autogenerated)

az backup vault show --name MyRecoveryServicesVault --resource-group MyResourceGroup

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the Recovery services vault.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

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