简体   繁体   English

如何在 azure 数据工厂中从管道 b 监视管道 a

[英]How to Monitor pipeline a from pipeline b in azure datafactory

I have 2 pipelines, A and B.我有 2 条管道,A 和 B。

I want to monitor the current status of A from B. If A is currently running then do not run B, but if A is already completed or did not run then start pipeline B.我想从 B 监视 A 的当前状态。如果 A 当前正在运行,则不运行 B,但如果 A 已经完成或未运行,则启动管道 B。

This should be done in Azure Data Factory.这应该在 Azure 数据工厂中完成。

How can I approach this?我该如何处理?

you can use the REST API to check for the status:您可以使用 REST API 检查状态:

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns?api-version=2018-06-01

learn.microsoft.com/en-us/rest/api/datafactory/pipeline-runs/query-by-factory learn.microsoft.com/zh-cn/rest/api/datafactory/pipeline-runs/query-by-factory

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM