Skip to content

Instantly share code, notes, and snippets.

@mrik23
Last active July 2, 2017 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrik23/b6359138672aebaaf6efbcfc3f801205 to your computer and use it in GitHub Desktop.
Save mrik23/b6359138672aebaaf6efbcfc3f801205 to your computer and use it in GitHub Desktop.
Example ARM Template with functions
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"apiVersion": "2016-01-01",
"type": "Microsoft.Storage/storageAccounts",
"name": "[concat('storage', copyIndex(), uniqueString(resourceGroup().id))]",
"location": "[resourceGroup().location]",
"sku": {
"name": "Standard_LRS"
},
"kind": "Storage",
"properties": {},
"copy": {
"name": "storagecopy",
"count": 5
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment