gpt4 book ai didi

azure - 如何从 Schedule 类型触发器将参数传递到 ADF 管道?

转载 作者:行者123 更新时间:2023-12-03 02:35:51 31 4
gpt4 key购买 nike

有没有办法将参数从 Schedule 类型触发器传递到 ADF 管道?

最佳答案

是的,可以。

首先,向管道添加参数:

enter image description here

然后您可以编辑触发器的 json 文件:

{
"name": "trigger2",
"properties": {
"annotations": [],
"runtimeState": "Started",
"pipelines": [
{
"pipelineReference": {
"referenceName": "pipeline3",
"type": "PipelineReference"
},
"parameters": {
"test1": "111"
}
}
],
"type": "ScheduleTrigger",
"typeProperties": {
"recurrence": {
"frequency": "Minute",
"interval": 1,
"startTime": "2020-08-06T02:18:00.000Z",
"timeZone": "UTC"
}
}
}
}

这是文档:

https://learn.microsoft.com/en-us/azure/data-factory/concepts-pipeline-execution-triggers#schedule-trigger-definition

我这边没问题,请你这边试试。

关于azure - 如何从 Schedule 类型触发器将参数传递到 ADF 管道?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63271278/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com