[通过ARM启用Azure NSGFlow时,出现错误。
以下链接中的模板和参数文件:
https://github.com/azure-nsgflow
出现如下错误:
Unable to process template language expressions for resource
'/subscriptions/205dcef5-f966-48e3-9671-265c7379e647/resourceGroups/NetworkWatcherRG/providers/Microsoft.Resources/deployments/deployFlowLogs'
at line '76' and column '9'. 'The template function 'copyIndex' is not expected at this location.
The function can only be used in a resource with copy specified.
Please see https://aka.ms/arm-copy for usage details.
您需要在virtualNetworks资源上指定复制参数。
"copy": [
{
"name": "xxx",
"count": "xxx",
"input": { ... }
}]