mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-23 11:20:55 -05:00
78 lines
2.5 KiB
JSON
78 lines
2.5 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": "P2V2",
|
|
"metadata": {
|
|
"description": "The SKU of App Service Plan."
|
|
},
|
|
"allowedValues": [
|
|
"F2",
|
|
"B2",
|
|
"S2",
|
|
"P2V2",
|
|
"P1V3",
|
|
"I2"
|
|
]
|
|
},
|
|
"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-analyzer",
|
|
"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": {
|
|
"anonymizer": {
|
|
"value": false
|
|
},
|
|
"analyzer": {
|
|
"value": false
|
|
},
|
|
"imageRedactorWebAppName": {
|
|
"value": "[parameters('webAppName')]"
|
|
},
|
|
"imageRedactorSku": {
|
|
"value": "[parameters('sku')]"
|
|
},
|
|
"location": {
|
|
"value": "[parameters('location')]"
|
|
},
|
|
"ipRestriction": {
|
|
"value": "[parameters('ipRestriction')]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |