Azure ARM template copy function - Using Objects as parameters with multiple resource properties
I was following this Azure Document to try out Azure ARM copy operation to loop through properties of an azure resource. Looks like the page was not updated correctly so I raised an issue with the MS Docs github page. This was just minor change - where NSG properties were not correctly reprsented in that example document. You can follow below correct ARM templates.
ARM template {% gist 659a893a3a941d72f824e0f703c13fda %}
Parameter {% gist c4bcdc862196719e79c010d1d61dc4d9 %}