Κοινή χρήση μέσω


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

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

Set soft-delete retention duration time in days for a Recovery Services Vault.

--soft-delete-feature-state

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

Accepted values: AlwaysOn, 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.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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