Skip to content

Instantly share code, notes, and snippets.

@Nosmadas
Created March 3, 2017 12:09
Show Gist options
  • Save Nosmadas/c21ccec7d7c63baf051da0f9a45d3d16 to your computer and use it in GitHub Desktop.
Save Nosmadas/c21ccec7d7c63baf051da0f9a45d3d16 to your computer and use it in GitHub Desktop.
storageaccount-arm.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageAccountName": {
"type": "String"
},
"storageAccountLocation": {
"type": "String",
"allowedValues": ["northeurope", "westeurope"],
"defaultValue": "northeurope"
}
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"name": "[parameters('storageAccountName')]",
"apiVersion": "2015-06-15",
"location": "[parameters('storageAccountLocation')]",
"properties": {
"accountType": "Standard_LRS"
}
}
],
"outputs": {
"accesskeys": {
"value": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName')), '2015-06-15')]",
"type" : "object"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment