Adopt ARM template
This commit is contained in:
Родитель
c6b38d1977
Коммит
4cbf5cfa18
|
@ -238,25 +238,13 @@
|
|||
"redundancyMode": "None"
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"type": "Microsoft.Web/sites/host/functionKeys",
|
||||
"apiVersion": "2018-11-01",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Web/Sites', variables('functionName'))]"
|
||||
],
|
||||
"name": "[concat(variables('functionName'), '/default/internal')]",
|
||||
"properties": {
|
||||
"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')]",
|
||||
"[resourceId('Microsoft.Web/sites/host/functionKeys', variables('functionName'), 'default', 'internal')]"
|
||||
"[resourceId('Microsoft.Web/sites/config/', variables('functionName'), 'appsettings')]"
|
||||
],
|
||||
"properties": {
|
||||
"RepoUrl": "[variables('repoURL')]",
|
||||
|
@ -270,8 +258,7 @@
|
|||
"apiVersion": "2018-11-01",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Web/Sites', variables('functionName'))]",
|
||||
"[resourceId('microsoft.insights/components', variables('insightsComponent'))]",
|
||||
"[resourceId('Microsoft.Web/sites/host/functionKeys', variables('functionName'), 'default', 'internal')]"
|
||||
"[resourceId('microsoft.insights/components', variables('insightsComponent'))]"
|
||||
],
|
||||
"tags": {
|
||||
"displayName": "appsettings"
|
||||
|
@ -283,8 +270,7 @@
|
|||
"CosmosDBConnectionString": "[listConnectionStrings(resourceId('Microsoft.DocumentDB/databaseAccounts', variables('databaseName')), '2019-12-12').connectionStrings[0].connectionString]",
|
||||
"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]"
|
||||
"WEBSITE_NODE_DEFAULT_VERSION": "~10"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче