Files
presidio/presidio-anonymizer/deploytoazure.json
balteravishay 74ca4eb2e4 Fix Deploy to Azure templates (#628)
* add image reductor to arm template

* no image reductor in sample

* fix description

* redactor
2021-03-22 14:17:26 +02:00

77 lines
2.4 KiB
JSON

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"webAppName": {
"type": "string",
"defaultValue": "[concat('webApp-', uniqueString(resourceGroup().id))]",
"minLength": 2,
"metadata": {
"description": "Web app name."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
},
"sku": {
"type": "string",
"defaultValue": "P1V2",
"metadata": {
"description": "The SKU of App Service Plan."
},
"allowedValues": [
"F1",
"B1",
"S1",
"P1V2",
"I1"
]
},
"ipRestriction": {
"type": "string",
"defaultValue": "any",
"metadata": {
"description": "Optional IP range to restrict access to."
}
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2019-10-01",
"name": "presidio-anonymizer",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/microsoft/presidio/main/docs/samples/deployments/app-service/presidio-services.json",
"contentVersion": "1.0.0.0"
},
"parameters": {
"analyzer": {
"value": false
},
"imageRedactor": {
"value": false
},
"anonymizerWebAppName": {
"value": "[parameters('webAppName')]"
},
"anonymizerSku": {
"value": "[parameters('sku')]"
},
"location": {
"value": "[parameters('location')]"
},
"ipRestriction": {
"value": "[parameters('ipRestriction')]"
}
}
}
}
]
}