我正在尝试使用 ARM 模板部署文件系统 API 连接。
我找不到此连接的parametersValue架构,因此尝试按照Azure门户上显示的参数命名它们
在 Azure 门户上编辑 API 连接屏幕截图1 https://i.stack.imgur.com/mw7Re.png
{
"apiVersion": "2016-06-01",
"name": "filesystem",
"type": "Microsoft.Web/connections",
"location": "[resourceGroup().location]",
"properties": {
"api": {
"id": "[concat(subscription().id,'/providers/Microsoft.Web/locations/westus/managedApis/filesystem')]"
},
"parameterValues": {
"displayName": "FileSyetem",
"rootFolder": "[parameters('rootFolder')]",
"authenticationType": "Windows",
"username": "[parameters('username')]",
"password": "[parameters('password')]"
}
}
但是,由于错误的parameterValue名称displayName和authenticationType,部署失败
以下是部署日志中的错误 - 错误请求
输入参数无效。请参阅详细信息以获取更多信息。
详细信息:错误代码:参数未定义。消息:参数
连接上不允许使用“displayName”,因为它不是
注册 API 时定义为连接参数...
有谁知道文件系统连接的正确 json 架构?我找不到它https://resources.azure.com https://resources.azure.com .