0

is there a way to add an array of sourceaddressprefixes for the same security rule , i already have the variable "sourceaddresspprefix" with single Ip

  • you want to specify a list of ips to populate the sourceaddressprefixes property ? – Thomas Jan 22 '20 at 10:51
  • yes exactly i already have something like this , but i have many ips that goes under the same name and i want to regroup them in an array { "name": "APP-05", "source": "string", "destination": "string", "action": "Allow", "port": "" } – user7562445 Jan 22 '20 at 12:56
  • you could pass it as a comma separated list parameter => `ips:ip1,ip2` and then set the sourceaddressprefixes: `"[split(parameters('ips'), ',')]"`. – Thomas Jan 22 '20 at 21:55

0 Answers0