Create an Azure blob / fileshare container through an ARM template

I am looking for a way to create a container in Azure blob and file storage using the ARM template.

I currently have an ARM template for creating storage accounts, but I want to create containers also in ARM.

{ "name": "[parameters('storageAccountName')]", "type": "Microsoft.Storage/storageAccounts", "location": "[resourceGroup().location]", "apiVersion": "[variables('storageApiVersion')]", "sku": { "name": "[variables('storageAccountType')]" }, "dependsOn": [ ], "tags": { "Environment": "[parameters('Environment')]", "Project": "[parameters('ProjectName')]", "Contact": "[parameters('ContactName')]" }, "kind": "Storage", "properties": { "encryption": { "keySource": "Microsoft.Storage", "services": { "blob": { "enabled": true } } } } } 
+5
source share
1 answer

No, you cannot do this; consult with this feedback element .

+6
source

Source: https://habr.com/ru/post/1260900/


All Articles