任何想法为什么?
I在下面还获得了相同的无效输出检查。
对象不应具有“复制”字段。而不是将“复制”函数移至“属性”对象之外。
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"functionAppName": {
"type": "String",
"metadata": {
"description": "The name of the Function App."
}
}
},
"resources": [
{
"type": "Microsoft.Web/sites/config",
"apiVersion": "2020-06-01",
"name": "[concat(parameters('functionAppName'), '/appsettings')]",
"copy": [
{
"name": "Ghost",
"count": 3
}
],
"properties": {
"FUNCTIONS_EXTENSION_VERSION": "~4",
"WEBSITE_NODE_DEFAULT_VERSION": "6.5.0",
"WEBSITE_RUN_FROM_PACKAGE": "1",
"FUNCTIONS_WORKER_RUNTIME": "powershell",
"FUNCTIONS_WORKER_RUNTIME_VERSION": "~7",
"OperationalLogType": "OperationalRecord",
"AuditLogType": "AuditRecord",
"appSettings": [
{
"name": "[concat('customentry-', copyIndex('appSettingsLoop'))]",
"value": "CustomValue"
}
]
}
}
]
}