Powershell 为 Azure 数据工厂管道下载 ARM 模板 [英] Powershell to download ARM template for Azure data factory Pipeline

查看:26
本文介绍了Powershell 为 Azure 数据工厂管道下载 ARM 模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在 powershell 中使用 ARM 模板创建 ADF 管道,并且它必须从现有的 ADF 管道中获取输入/验证一些东西,因此我必须通过 powershell 下载现有 ADF 管道的 ARM 模板.我们可以为单个 ADF 管道或多个管道执行此操作吗?注意:现有管道不是通过 ARM 部署创建的,所以我不能使用Save-AzureRmDeploymentTemplate",因为我没有在通过门户创建管道时创建部署名称..

i have a requirement to create an ADF pipeline using ARM template in powershell and it has to take inputs/validate few things from existing ADF piepline, for that reason i have to download the ARM tempalte for existing ADF pipeline through powershell. Can we do that for single ADF pipeline or multiple ones? Note: existing pipeline is not created through ARM deployment, so i cant use "Save-AzureRmDeploymentTemplate" as i dont have deployment name created when pipeline is created through portal..

非常感谢任何帮助.

推荐答案

也许您想看看 Export-AzureRmResourceGroup.但我想您只能导出可能包含其他内容的整个资源组.如果您只想导出 ADF,您需要将您的数据工厂放在一个特殊的资源组中.

Maybe you want to take a look at Export-AzureRmResourceGroup. But I guess you can only export the entire resource group which may contain other things. You need put your data factory in a special resource group if you only want to export ADF.

另一种方法是在 ADF UI 中导出 arm 模板.

Another way is to export arm template in ADF UI.

这篇关于Powershell 为 Azure 数据工厂管道下载 ARM 模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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