Attach public ip to nic base on parameter like public or privateonly with multiple VM'S [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 10 months ago . How to attach public ip based on parameter privateonly or public, trying to create it with multiple vms. I am giving here full template which i am running. { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "location": {