Skip to content

Instantly share code, notes, and snippets.

@mrik23
Last active July 2, 2017 13:47
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/4ce2b9193e6c4bcdc08ab0da10c0cc44 to your computer and use it in GitHub Desktop.
Save mrik23/4ce2b9193e6c4bcdc08ab0da10c0cc44 to your computer and use it in GitHub Desktop.
Example ARM template with functions 2
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageAccountType": {
"type": "string"
}
},
"variables": {
"storageAccountName": "[concat('sa', uniquestring(resourceGroup().id))]"
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"name": "[variables('storageAccountName')]",
"apiVersion": "2016-01-01",
"location": "[resourceGroup().location]",
"sku": {
"name": "[parameters('storageAccountType')]"
},
"kind": "Storage",
"properties": {
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment