Adopt ARM template
This commit is contained in:
Родитель
cef8bdb7c9
Коммит
6b6abb175e
|
@ -238,21 +238,6 @@
|
|||
"redundancyMode": "None"
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"apiVersion": "2018-11-01",
|
||||
"name": "web",
|
||||
"type": "sourcecontrols",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Web/Sites', variables('functionName'))]",
|
||||
"[resourceId('Microsoft.Web/sites/config/', variables('functionName'), 'appsettings')]",
|
||||
"[resourceId('Microsoft.Web/sites/host/functionKeys', variables('functionName'), 'default', 'internal')]"
|
||||
],
|
||||
"properties": {
|
||||
"RepoUrl": "[variables('repoURL')]",
|
||||
"branch": "[variables('branch')]",
|
||||
"IsManualIntegration": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Microsoft.Web/sites/host/functionKeys",
|
||||
"apiVersion": "2018-11-01",
|
||||
|
@ -265,6 +250,20 @@
|
|||
"name": "internal"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "2018-11-01",
|
||||
"name": "web",
|
||||
"type": "sourcecontrols",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Web/Sites', variables('functionName'))]",
|
||||
"[resourceId('Microsoft.Web/sites/config/', variables('functionName'), 'appsettings')]"
|
||||
],
|
||||
"properties": {
|
||||
"RepoUrl": "[variables('repoURL')]",
|
||||
"branch": "[variables('branch')]",
|
||||
"IsManualIntegration": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "appsettings",
|
||||
"type": "config",
|
||||
|
@ -284,7 +283,7 @@
|
|||
"FUNCTIONS_WORKER_RUNTIME": "node",
|
||||
"FUNCTIONS_EXTENSION_VERSION": "~3",
|
||||
"WEBSITE_NODE_DEFAULT_VERSION": "~10",
|
||||
"FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2016-08-01').functionKeys.internal]"
|
||||
"FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2016-08-01').functionKeys.default]"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче