[英]How to pass parameters to an ADF pipeline from Schedule type trigger?
Is there a way to pass parameters to an ADF pipeline from Schedule type trigger?有没有办法将参数从 Schedule 类型触发器传递到 ADF 管道?
Yes, you can.是的你可以。
First, add parameter to your pipeline:首先,将参数添加到您的管道:
And then you can edit the json file of your trigger:然后您可以编辑触发器的 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"
}
}
}
}
This is the doc:这是文档:
https://docs.microsoft.com/en-us/azure/data-factory/concepts-pipeline-execution-triggers#schedule-trigger-definition https://docs.microsoft.com/en-us/azure/data-factory/concepts-pipeline-execution-triggers#schedule-trigger-definition
On my side it is no problem, please have a try on your side.在我这边没问题,请在你这边试试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.