Last active
January 17, 2017 21:17
-
-
Save bobalob/243e1970a5c9601a33e48b0b37b88893 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"publicIpNames": { | |
"type": "array", | |
"defaultValue": [ | |
"dave-ninja-ip", | |
"dave-super-ip", | |
"dave-mega-ip" | |
] | |
} | |
}, | |
"variables": {}, | |
"resources": [ | |
{ | |
"apiVersion": "2015-06-15", | |
"type": "Microsoft.Network/publicIPAddresses", | |
"name": "[parameters('publicIpNames')[copyIndex()]]", | |
"location": "[resourceGroup().location]", | |
"copy": { | |
"name": "publicIpLoop", | |
"count": "[length(parameters('publicIpNames'))]" | |
}, | |
"properties": { | |
"publicIPAllocationMethod": "Dynamic" | |
} | |
} | |
], | |
"outputs": { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment