CmdID / az / az dataprotection / az dataprotection backup-vault / az dataprotection backup-vault resource-guard-mapping
az dataprotection backup-vault resource-guard-mapping create
Create a ResourceGuard mapping Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
Examples
Create a ResourceGuard mapping
az dataprotection backup-vault resource-guard-mapping create -n "DppResourceGuardProxy" -g "sampleRG" --vault-name "sampleVault" --resource-guard-id "/subscription/00000000-0000-0000-0000-000000000000/resourcegroups/sampleRG/providers/Microsoft.DataProtection/resourceGuards/sampleResourceGuard"Identify-nThe name of the resource guard mapping-gName of resource group.--vault-nameThe name of the backup vault.--resource-guard-idARM Id of the resource guard to be mapped toOptions
--resource-guard-mapping-name, --name, -nThe name of the resource guard mapping--resource-guard-resource-id, --resource-guard-idARM Id of the resource guard to be mapped to--vault-name, -vThe name of the backup vault.