Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created July 10, 2015 21:33
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 justinyoo/1bf1483c8b2bb7e9be5a to your computer and use it in GitHub Desktop.
Save justinyoo/1bf1483c8b2bb7e9be5a to your computer and use it in GitHub Desktop.
Adding Blob Container to Azure Storage Account through Azure Resource Group Template
{
"apiVersion": "2015-05-01-preview",
"name": "[parameters('newStorageAccountName')]",
"type": "Microsoft.Storage/storageAccounts",
"location": "[parameters('location')]",
"tags": {
"displayName": "Storage Account"
},
"properties": {
"name": "[parameters('newStorageAccountName')]",
"accountType": "[parameters('storageAccountType')]"
},
"resources": [
{
"name": "[parameters('containerName')]",
"type": "container",
"location": "[parameters('location')]",
"tags": {
"displayName": "Blob Container"
},
"apiVersion": "2015-05-01-preview",
"dependsOn": [
"[concat('Microsoft.Storage/storageAccounts/', parameters('newStorageAccountName'))]"
],
"properties": {
"permission": "Off"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment