Dear All,
We have a Azure virtual Desktop infra. We have created a NSG rule and associated with the individual VM NICs.
The subnet is shared with other Azure services, so we are unable to attach at the subnet level.
Now, part of monthly patching we may have to delete the VMs and recreate using the updated Master image. The entire process will be done using Azure Devops.
Query: I need to automate the process of associating the NSG with individual VM nics after the VM creation. Could someone help on this?