az backup vault backup-properties
Properties of the Recovery Services vault.
Commands
Name | Description | Type | Status |
---|---|---|---|
az backup vault backup-properties set |
Sets backup related properties of the Recovery Services vault. |
Core | GA |
az backup vault backup-properties show |
Gets backup related properties of the Recovery Services vault. |
Core | GA |
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-duration]
[--soft-delete-feature-state {AlwaysOn, Disable, Enable}]
[--subscription]
[--tenant-id]
Examples
Sets backup related properties of the Recovery Services vault. (autogenerated)
az backup vault backup-properties set --classic-alerts Enabled --name MyRecoveryServicesVault --resource-group MyResourceGroup --subscription MySubscription
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Set backup storage properties for a Recovery Services vault.
Property | Value |
---|---|
Accepted values: | GeoRedundant, LocallyRedundant, ZoneRedundant |
Use this property to specify whether backup alerts from the classic solution should be received.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Set cross-region-restore feature state for a Recovery Services Vault. Default: False.
Property | Value |
---|---|
Accepted values: | False, True |
Use this field to set the security features for hybrid backups in a Recovery Services Vault.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Use this property to specify whether built-in Azure Monitor alerts should be received for every job failure.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Name of the Recovery services vault.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Set soft-delete retention duration time in days for a Recovery Services Vault.
Set soft-delete feature state for a Recovery Services Vault.
Property | Value |
---|---|
Accepted values: | AlwaysOn, Disable, Enable |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
ID of the tenant if the Resource Guard protecting the vault exists in a different tenant.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of the Recovery services vault.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |