az backup vault backup-properties

Properties of the Recovery Services vault.

Commands

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 backup-properties set

Sets backup related properties of the Recovery Services vault.

az backup vault backup-properties set [--backup-storage-redundancy {GeoRedundant, LocallyRedundant, ZoneRedundant}]
                                      [--classic-alerts {Disable, Enable}]
                                      [--cross-region-restore-flag {False, True}]
                                      [--hybrid-backup-security-features {Disable, Enable}]
                                      [--ids]
                                      [--job-failure-alerts {Disable, Enable}]
                                      [--name]
                                      [--resource-group]
                                      [--soft-delete-feature-state {Disable, Enable}]
                                      [--subscription]
                                      [--tenant-id]

Examples

Sets backup related properties of the Recovery Services vault. (autogenerated)

az backup vault backup-properties set --backup-storage-redundancy GeoRedundant --name MyRecoveryServicesVault --resource-group MyResourceGroup --subscription MySubscription

Optional Parameters

--backup-storage-redundancy

Set backup storage properties for a Recovery Services vault.

accepted values: GeoRedundant, LocallyRedundant, ZoneRedundant
--classic-alerts

Use this property to specify whether backup alerts from the classic solution should be received.

accepted values: Disable, Enable
--cross-region-restore-flag

Set cross-region-restore feature state for a Recovery Services Vault. Default: False.

accepted values: False, True
--hybrid-backup-security-features

Use this field to set the security features for hybrid backups in a Recovery Services Vault.

accepted values: Disable, Enable
--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.

--job-failure-alerts

Use this property to specify whether built-in Azure Monitor alerts should be received for every job failure.

accepted values: Disable, Enable
--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>.

--soft-delete-feature-state

Set soft-delete feature state for a Recovery Services Vault.

accepted values: Disable, Enable
--subscription

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

--tenant-id

ID of the tenant if the Resource Guard protecting the vault exists in a different tenant.

az backup vault backup-properties show

Gets backup related properties of the Recovery Services vault.

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

Examples

Gets backup related properties of the Recovery Services vault. (autogenerated)

az backup vault backup-properties 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.

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