DEV Community

Discussion on: Quick Tips for Advanced Azure Resource Manager Templates deployment with Visual Studio 2017

Collapse
 
twids profile image
twids

"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"name": "[variables('storageName')]",
"apiVersion": "2018-07-01",
"location": "[variables('location')]",
"resources": [
{
"type": "blobServices/containers",
"apiVersion": "2018-03-01-preview",
"name": "[concat('default/', variables('storageBlobName'))]",
"properties": {
"publicAccess": "Blob"
},
"dependsOn": ["[variables('storageName')]"]
}
]
}
]

To create a storage container using ARM template

Collapse
 
pnmcosta profile image
Pedro Maia Costa

Sweet, thanks, I knew it would come up at some point. Thanks for the sample.