ARM模板部署不会删除旧管道 [英] ARM Template deployment does not remove old pipelines

查看:60
本文介绍了ARM模板部署不会删除旧管道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ARM模板部署数据工厂.删除管道时,不会从目标环境中删除旧版本.重命名时也会发生同样的情况,我的目标环境然后包含一个具有旧名称的管道和一个具有新名称的管道.

I'm deploying my data factory using ARM Templates. When I delete a pipeline, the old version is not deleted from the target environment. The same happens with renaming, my target environment then contains a pipeline with the old and AND a pipeline with the new name.

如何删除带有ARM模板部署的旧管道?

How do I delete old pipelines with ARM Template deployments?

注意:我只想删除数据工厂内部的孤立管道,而不要擦除整个数据工厂.

Note: I only want to delete the orphaned pipelines inside the data factory, not wipe out the entire data factory.

推荐答案

为了删除数据工厂内部的管道,您需要运行Microsoft

In order to delete pipelines inside the data factory, you need to run the script published by Microsoft here.

请注意,这需要使用新的Azure"Az" powershell模块,如果您正在使用Azure DevOps,则需要使用预览V4 powershell任务.

Note that this requires the use of the new Azure "Az" powershell modules, if you are using Azure DevOps requires the use of the preview V4 powershell tasks.

这篇关于ARM模板部署不会删除旧管道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆