简体   繁体   English

为 Azure 数据工厂中的注释添加动态内容

[英]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.

相关问题 添加动态内容 - Azure 数据工厂 ADF - Add Dynamic Content - Azure Data Factory ADF 添加动态内容-Azure数据工厂ADF V2 - Add Dynamic Content - Azure Data Factory ADF V2 Azure数据工厂V2动态内容 - Azure Data Factory V2 Dynamic Content Azure 数据工厂动态内容参数 - Azure Data Factory Dynamic content parameter 如何将动态内容添加到 Azure 数据工厂数据集中的“第一行作为标题”条件? - How can I add dynamic content to “First Row As Header” condition in Azure Data Factory Dataset? Azure 数据工厂 - 尝试将参数添加到 REST API 请求正文中的动态内容 - Azure Data Factory - attempting to add params to dynamic content in the body of a REST API request Azure 数据工厂在动态内容字段中添加具有 JSONPath 表达式值的逻辑运算符 - Azure Data Factory add logical operators with JSONPath expression values in dynamic content field 如何在不添加转义字符的情况下在动态内容(Azure 数据工厂)中保留或添加引号? - How to keep or add quotation marks in dynamic content (Azure Data Factory) without escape characters being added? Azure 数据工厂 - 复制数据 - 映射 - 动态内容表达式 - Azure Data Factory - Copy data - mapping - dynamic content expression Azure 数据工厂 - 在动态内容中使用系统变量 - Azure Data Factory - Use system variable in Dynamic Content
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM