{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "storageType": { "type": "string", "allowedValues": [ "FileStorage", "AzureBlobStorage" ], "metadata": { "description": "Choose a storage type for storing files the Report Server generates. A complete list of files generated by the Report Server can be viewed here." }, "defaultValue": "FileStorage" }, "WebAppName": { "type": "string", "maxLength": 24, "minLength": 3, "metadata": { "description": "App name for Report Server. The name must be between 3 and 24 characters long, and can contain only numbers and lowercase letters." } }, "storageAccountName": { "type": "string", "maxLength": 24, "minLength": 3, "metadata": { "description": "Storage account name for Report Server. The name must be between 3 to 24 characters long, and can contain only numbers and lowercase letters." }, "defaultValue": "storageaccountname" }, "storageAccountType": { "type": "string", "allowedValues": [ "Standard_LRS", "Standard_GRS", "Standard_RAGRS" ], "metadata": { "description": "Type of the storage account created" }, "defaultValue": "Standard_LRS" } }, "variables": { "templatelink": "[concat('https://raw.githubusercontent.com/syncfusion/enterpriseserver-reportazure/master/armtemplates/v2.3.0.82/',parameters('storageType'),'-ReportServer.json')]" }, "resources": [ { "apiVersion": "2015-01-01", "name": "[concat(parameters('storageType'),'-ReportServer.json')]", "type": "Microsoft.Resources/deployments", "properties": { "mode": "Incremental", "templateLink": { "uri": "[variables('templatelink')]", "contentVersion": "1.0.0.0" }, "parameters": { "WebAppName": { "value": "[parameters('WebAppName')]" }, "storageAccountName": { "value": "[parameters('storageAccountName')]" }, "storageAccountType": { "value": "[parameters('storageAccountType')]" } } } } ] }