我正在尝试使用ARM模板部署文件系统API连接.我找不到此连接的parametersValue架构,因此尝试命名Azure门户上显示的参数
编辑在Azure门户1上拍摄的API连接屏幕
{
"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,部署失败
以下是部署日志中的错误 - 错误请求
输入参数无效.详细信息请参见详细信息.详细信息:errorCode:ParameterNotDefined.消息:连接上不允许参数'displayName',因为在注册API时未将其定义为连接参数...
有谁知道文件系统连接的正确json架构?我在https://resources.azure.com上找不到它.