-
-
Save justinyoo/1bf1483c8b2bb7e9be5a to your computer and use it in GitHub Desktop.
Adding Blob Container to Azure Storage Account through Azure Resource Group Template
This file contains 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
{ | |
"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