Deploying Blob Containers with ARM Templates
3.5 (70.91%) 11 vote[s]

ARM templates are a great way to programmatically deploy your Azure resources. They act as declarative descriptions of the desired state of an Azure resource group, and while they can be frustrating to work with, overall the ability to use templates to deploy your Azure resources provides a lot of value.

One common frustration with ARM templates is that certain resource types simply can’t be deployed with them. Until recently, one such resource type was a blob container. ARM templates could deploy Azure Storage accounts, but not blob containers, queues, or tables within them.

That has now changed, and it’s possible to deploy a blob container through an ARM template. Here’s an example template that deploys a container called logs within a storage account:

Queues and tables still can’t be deployed this way, though – hopefully that’s coming soon.

Category:
Azure Infrastructure, Azure Platform
Tags:
, ,

2
Leave a Reply

Leave a Reply

  Subscribe  
newest oldest most voted
Notify of
Aleksei
Guest
Aleksei

Thanks for the template – works fine. You’ve mentioned queues and table, but what about files?
Azure Files have REST Api, but nowhere any examples or templates, is it possible to deploy via arm?

Follow Us!

Kloud Solutions Blog - Follow Us!