Create StorageAccount
This template creates a StorageAccount in Azure
AAzure Storage is a Microsoft-managed service providing cloud storage that is highly available, secure, durable, scalable, and redundant. Azure Storage includes Azure Blobs (objects), Azure Data Lake Storage Gen2, Azure Files, Azure Queues, and Azure Tables.
Parameters
Parameter name | Required | Description |
---|---|---|
StorageAccountName | Yes | The name of the Azure Storage Account where the templates are stored. |
ContainerName | Yes | The Container inside the Storage Account. |
SasToken | Yes | The Shared Access Signature for the Storage Account. |
StorageAccountName
The name of the Azure Storage Account where the templates are stored.
ContainerName
The Container inside the Storage Account.
SasToken
The Shared Access Signature for the Storage Account.
Outputs
Name | Type | Description |
---|---|---|
armTemplate | object | Fully populated template |
Snippets
Parameter file
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"template": "azuredeploy.json"
},
"parameters": {
"StorageAccountName": {
"value": ""
},
"ContainerName": {
"value": ""
},
"SasToken": {
"value": ""
}
}
}
Command line
PowerShell
New-AzResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateFile <path-to-template> -TemplateParameterFile <path-to-templateparameter>
Azure CLI
az group deployment create --name <deployment-name> --resource-group <resource-group-name> --template-file <path-to-template> --parameters @<path-to-templateparameterfile>