Public/Deploy/PaaS/web-static/New-CmAzPaasWebStatic.Storage.json
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "location": { "type": "string", "metadata": { "description": "Location for all resources." } }, "storageAccountName": { "type": "string", "metadata": { "description": "The name of the storage account" } }, "StorageService": { "type": "String" } }, "resources": [ { "name": "[parameters('storageAccountName')]", "type": "Microsoft.Storage/storageAccounts", "apiVersion": "2019-06-01", "location": "[parameters('location')]", "tags": { "cm-service": "[parameters('StorageService')]" }, "properties": { "accessTier": "Hot", "supportsHttpsTrafficOnly": true, "largeFileSharesState": "disabled" }, "dependsOn": [], "sku": { "name": "Standard_LRS" }, "kind": "StorageV2" }, { "type": "Microsoft.Storage/storageAccounts/blobServices", "apiVersion": "2019-06-01", "name": "[concat(parameters('storageAccountName'), '/default')]", "dependsOn": [ "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName'))]" ], "sku": { "name": "Standard_LRS" }, "properties": { "cors": { "corsRules": [] }, "deleteRetentionPolicy": { "enabled": false } } }, { "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "apiVersion": "2019-06-01", "name": "[concat(parameters('storageAccountName'), '/default/$web')]", "dependsOn": [ "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccountName'), 'default')]", "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName'))]" ], "properties": { "publicAccess": "Blob" } } ] } |