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

查看:34
本文介绍了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.

推荐答案

要删除数据工厂内部的管道,需要运行微软发布的脚本此处.

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

请注意,这需要使用新的 AzureAz"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天全站免登陆