{ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "storageaccountname": { "type": "string", "minlength": 8, "maxlength": 16, "metadata": { "description": "Name of Storage Account" } }, "storagelocation": { "type": "string", "defaultValue": "[resourceGroup().location]", "metadata": { "description": "Geographic Location of Storage" }, "allowedValues": [ "westeurope", "northeurope" ] }, "storagekind": { "type": "string", "metadata": { "description": "Specifies which type of storage account to create. The general-purpose StorageV2 choice is recommended and used in most cases", "refurl": "https://docs.microsoft.com/en-us/rest/api/storagerp/storage-accounts/create#kind" }, "defaultValue": "StorageV2", "allowedValues": [ "StorageV2" ] }, "storagesku": { "type": "string", "metadata": { "description": "Defines the capabilities of the Storage account, such as redundancy strategy and encryption", "refurl": "https://docs.microsoft.com/en-us/rest/api/storagerp/storage-accounts/create#sku" }, "defaultValue": "Standard_LRS", "allowedValues": [ "Standard_LRS", "Standard_GRS" ] } }, "functions": [], "variables": {}, "resources": [ { "name": "[parameters('storageaccountname')]", "type": "Microsoft.Storage/storageAccounts", "apiVersion": "2021-04-01", "tags": { "displayName": "storageaccount1" }, "location": "[parameters('storagelocation')]", "kind": "[parameters('storagekind')]", "sku": { "name": "[parameters('storagesku')]", "tier": "Standard" } } ], "outputs": {} }