mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-23 11:20:55 -05:00
deploy to azure (#632)
Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,12 @@
|
||||
The Presidio Image Redactor is a Python based module for detecting and redacting PII
|
||||
text entities in images.
|
||||
|
||||
## Deploy Presidio image redactor to Azure
|
||||
|
||||
Use the following button to deploy presidio image redactor to your Azure subscription.
|
||||
|
||||
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2Fpresidio%2Fmain%2Fpresidio-image-redactor%2Fdeploytoazure.json)
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
78
presidio-image-redactor/deploytoazure.json
Normal file
78
presidio-image-redactor/deploytoazure.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"$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')]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user