[英]Add dynamic content to annotations in Azure Data Factory
Is it possible to add dynamic content like pipeline parameters to Azure Data Factory annotations, so that i can filter on them and group by them in the monitor?是否可以将管道参数等动态内容添加到 Azure 数据工厂注释中,以便我可以过滤它们并在监视器中按它们分组?
It is possible, but very limited.这是可能的,但非常有限。 You cannot add dynamic content to annotations in trigger or datasets.
您不能将动态内容添加到触发器或数据集中的注释。 If you do, the elements will validate, but they will throw an error on execution.
如果这样做,元素将验证,但它们会在执行时引发错误。
But it is possible to add dynamic content in pipeline annotations.但是可以在管道注释中添加动态内容。 As annotations have been disappearing from the UI, you need to open the code of the pipeline (either by cloning the repo to your local machine and open the json file, or by clicking on the {} sign in the top right corner of your pipeline view).
由于注释已从 UI 中消失,您需要打开管道的代码(通过将 repo 克隆到本地计算机并打开 json 文件,或单击管道右上角的 {} 符号看法)。 On the very bottom you will find
在最底部你会发现
"annotations": []
Here you can add for example dynamic pipeline parameters like this:在这里,您可以添加例如动态管道参数,如下所示:
"annotations": [
"@pipeline().parameters.<parametername>"
]
For every run of the pipeline an annotation will be added with the parameter set for the current run.对于管道的每次运行,都会添加一个注释,其中包含当前运行的参数集。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.