Azure 数据工厂 - 参数插值

标签 azure azure-functions azure-data-factory

我正在尝试将管道参数添加到 Azure 数据工厂中的 Azure Function 应用的发布请求正文中。看起来该字符串没有被替换,但 Microsoft 文档表明我正在以正确的方式进行操作。参见这里:https://learn.microsoft.com/en-gb/azure/data-factory/control-flow-web-activity#request-payload-schema

这是我遇到的错误的屏幕截图:

enter image description here

我对如何将管道参数正确插入此请求感到困惑

谢谢!

最佳答案

正如本文中提到的document ,将参数括在大括号内 @{pipeline().parameters.ParameterName}

下面是我的示例 API 帖子正文的示例:

{

            "tourist_name": "@{pipeline().parameters.name}",
            "tourist_email": "@{pipeline().parameters.email}",
            "tourist_location": "@{pipeline().parameters.location}"
}

enter image description here

关于Azure 数据工厂 - 参数插值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72140789/

相关文章:

c# - 如何加载自定义字体以在 Windows Azure 上绘制图像?

azure-functions - 使用 context.done() 后我会得到 Promise 吗?

azure - 我们可以在 ADF 中编写插入查询查找事件吗

Azure Functions 使用 Binder 更新 DocumentDb 文档

c# - 在 Azure DevOps 中运行 Azure Function v1 单元测试

ASP.NET Core Web API 在本地运行,但不在 Azure 应用服务上运行

visual-studio - 在 azure 函数项目 Visual Studio 中添加 Entity Framework 作为 nuget 与手册

azure - 在 Azure Function 中处理 OneDrive 文件后是否可以删除该文件?

azure - 使用 Azure 从 Rest API 提取数据

azure - 如何使用数据工厂迭代文件夹并合并其中的所有文件?