diff --git a/storage/storage2.json b/storage/storage2.json new file mode 100644 index 0000000..02a7d59 --- /dev/null +++ b/storage/storage2.json @@ -0,0 +1,80 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]" + }, + "storageAccountName": { + "type": "string" + }, + "accountType": { + "type": "string", + "defaultValue": "Standard_LRS", + "allowedValues": [ + "Standard_LRS", + "Standard_GRS", + "Standard_RAGRS", + "Standard_ZRS", + "Premium_LRS", + "Premium_ZRS", + "Standard_GZRS", + "Standard_RAGZRS" + ] + }, + "kind": { + "type": "string" + }, + "accessTier": { + "type": "string" + }, + "containerName": { + "type": "string" + }, + "minimumTlsVersion": { + "type": "string" + }, + "supportsHttpsTrafficOnly": { + "type": "bool" + }, + "allowBlobPublicAccess": { + "type": "bool" + } + }, + "variables": {}, + "resources": [ + { + "name": "[parameters('storageAccountName')]", + "type": "Microsoft.Storage/storageAccounts", + "apiVersion": "2019-06-01", + "location": "[parameters('location')]", + "properties": { + "accessTier": "[parameters('accessTier')]", + "minimumTlsVersion": "[parameters('minimumTlsVersion')]", + "supportsHttpsTrafficOnly": "[parameters('supportsHttpsTrafficOnly')]", + "allowBlobPublicAccess": "[parameters('allowBlobPublicAccess')]" + }, + "dependsOn": [], + "sku": { + "name": "[parameters('accountType')]" + }, + "kind": "[parameters('kind')]", + "tags": {}, + "resources": [ + { + "type": "blobServices/containers", + "apiVersion": "2019-06-01", + "name": "[concat('default/', parameters('containerName'))]", + "properties": { + "publicAccess": "Container" + }, + "dependsOn": [ + "[parameters('storageAccountName')]" + ] + } + ] + } + ], + "outputs": {} +}