我正在尝试将管道参数添加到 Azure 数据工厂中的 Azure Function 应用的发布请求正文中。看起来该字符串没有被替换,但 Microsoft 文档表明我正在以正确的方式进行操作。参见这里:https://learn.microsoft.com/en-gb/azure/data-factory/control-flow-web-activity#request-payload-schema
这是我遇到的错误的屏幕截图:
我对如何将管道参数正确插入此请求感到困惑
谢谢!
最佳答案
正如本文中提到的document ,将参数括在大括号内 @{pipeline().parameters.ParameterName}
。
下面是我的示例 API 帖子正文的示例:
{
"tourist_name": "@{pipeline().parameters.name}",
"tourist_email": "@{pipeline().parameters.email}",
"tourist_location": "@{pipeline().parameters.location}"
}
关于Azure 数据工厂 - 参数插值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72140789/