How to include backup resource in azure VM deploy json template

Brass Contributor



I have the json template to  deploy the azure encrypted VM  and it is working fine. Now, i want to include the backup resource part in the same template to include the VM in to the backup vault.


Can anyone help to share some template resource for this ?



1 Reply

Just to add,


my recovery service vault is in diff resource group (other than VM resource group)