Last active
July 2, 2017 13:47
-
-
Save mrik23/4ce2b9193e6c4bcdc08ab0da10c0cc44 to your computer and use it in GitHub Desktop.
Example ARM template with functions 2
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": "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