שתף באמצעות


az backup vault resource-guard-mapping

Resource Guard Mapping details of the Recovery Services vault.

Commands

Name Description Type Status
az backup vault resource-guard-mapping delete

Delete resource guard mapping of the Recovery Services vault.

Core GA
az backup vault resource-guard-mapping show

Get resource guard mapping of the Recovery Services vault.

Core GA
az backup vault resource-guard-mapping update

Create/Update resource guard mapping of the Recovery Services vault.

Core GA

az backup vault resource-guard-mapping delete

Delete resource guard mapping of the Recovery Services vault.

az backup vault resource-guard-mapping delete [--ids]
                                              [--name]
                                              [--resource-group]
                                              [--subscription]
                                              [--tenant-id]
                                              [--yes]

Examples

Delete resource guard mapping of the Recovery Services vault.

az backup vault resource-guard-mapping delete --resource-group MyResourceGroup --name MyVault

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.

--tenant-id

ID of the tenant where the Resource Guard exists in Cross-Tenant scenarios.

--yes -y

Do not prompt for confirmation.

Default value: False
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 resource-guard-mapping show

Get resource guard mapping of the Recovery Services vault.

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

Examples

Get resource guard mapping of the Recovery Services vault.

az backup vault resource-guard-mapping show --resource-group MyResourceGroup --name MyVault

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.

az backup vault resource-guard-mapping update

Create/Update resource guard mapping of the Recovery Services vault.

az backup vault resource-guard-mapping update --resource-guard-id
                                              [--ids]
                                              [--name]
                                              [--resource-group]
                                              [--subscription]
                                              [--tenant-id]

Examples

Create/Update resource guard mapping of the Recovery Services vault.

az backup vault resource-guard-mapping update --resource-group MyResourceGroup --name MyVault --resource-guard-id MyResourceGuardId

Required Parameters

--resource-guard-id

ARM ID of the Resource Guard to be associated with the vault.

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.

--tenant-id

ID of the tenant where the Resource Guard exists in Cross-Tenant scenarios.

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.