Files
presidio/presidio-image-redactor/deploytoazure.json
balteravishay 15fad0c1fe deploy to azure (#632)
Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>
2021-03-24 09:57:13 +02:00

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')]"
}
}
}
}
]
}