This commit is contained in:
Christian Vorhemus 2020-03-11 18:24:26 +01:00
Родитель fe831992a2
Коммит e5b78fe9c3
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -277,7 +277,8 @@
"apiVersion": "2018-11-01",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', variables('functionName'))]",
"[resourceId('microsoft.insights/components', variables('insightsComponent'))]"
"[resourceId('microsoft.insights/components', variables('insightsComponent'))]",
"[resourceId('Microsoft.CognitiveServices/accounts', variables('ocrName'))]"
],
"tags": {
"displayName": "appsettings"
@ -290,7 +291,9 @@
"FUNCTIONS_WORKER_RUNTIME": "node",
"FUNCTIONS_EXTENSION_VERSION": "~3",
"WEBSITE_NODE_DEFAULT_VERSION": "~10",
"FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2019-08-01').functionKeys.default]"
"FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2019-08-01').functionKeys.default]",
"CognitiveServiceKey": "[listkeys(concat(resourceId('Microsoft.CognitiveServices/accounts', variables('ocrName'))),'2017-04-18').key1]",
"CognitiveServiceName": "[variables('ocrName')]"
}
}
]
@ -301,7 +304,7 @@
"name": "[variables('ocrName')]",
"location": "westeurope",
"sku": {
"name": "F0"
"name": "S1"
},
"kind": "ComputerVision",
"properties": {