Microsoft.Storage storageAccounts/blobServices/containers template reference

Template format

To create a Microsoft.Storage/storageAccounts/blobServices/containers resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
  "apiVersion": "2018-07-01",
  "properties": {
    "publicAccess": "string",
    "metadata": {}
  },
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Storage/storageAccounts/blobServices/containers object

Name Type Required Value
name string Yes The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
type enum Yes containers
-or-
Microsoft.Storage/storageAccounts/blobServices/containers

See Set name and type for child resources.
apiVersion enum Yes 2018-07-01
properties object Yes Properties of the blob container. - ContainerProperties object
resources array No immutabilityPolicies

ContainerProperties object

Name Type Required Value
publicAccess enum No Specifies whether data in the container may be accessed publicly and the level of access. - Container, Blob, None
metadata object No A name-value pair to associate with the container as metadata.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a V2 data factory

Deploy to Azure
This template creates a V2 data factory that copies data from a folder in an Azure Blob Storage to another folder in the storage.
Create a data share from a storage account

Deploy to Azure
This template creates a data share from a storage account
Use ARM template to create IoT Hub, route and view messages.

Deploy to Azure
Use this template to deploy an IoT Hub and a storage account. Run an app to send messages to the hub that are routed to storage, then view the results.
Create AML workspace with multiple Datasets & Datastores

Deploy to Azure
This template creates Azure Machine Learning workspace with multiple datasets & datastores.
Create Storage Account and Blob Container

Deploy to Azure
Creates an Azure Storage account and a blob container. Template originally authored by John Downs.
Create a storage account with multiple Blob containers

Deploy to Azure
Creates an Azure storage account and multiple blob containers.
Web App with diagnostics logging to Blob Container

Deploy to Azure
Deploy a Web App with diagnostics logging to Storage Account Blob Container enabled.