简体   繁体   English

Powershell为Azure数据工厂管道下载ARM模板

[英]Powershell to download ARM template for Azure data factory Pipeline

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. 我需要在powershell中使用ARM模板创建ADF管道,并且必须从现有ADF管道中获取输入/验证少量内容,因此,我必须通过powershell为现有ADF管道下载ARM模板。 Can we do that for single ADF pipeline or multiple ones? 我们可以对单个ADF管道还是对多个ADF管道这样做? 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.. 注意:现有管道不是通过ARM部署创建的,所以我不能使用“ Save-AzureRmDeploymentTemplate”,因为通过门户创建管道时没有创建部署名称。

Any help is really appreciated. 任何帮助都非常感谢。

Maybe you want to take a look at Export-AzureRmResourceGroup . 也许您想看看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,则需要将数据工厂放置在特殊的资源组中。

Another way is to export arm template in ADF UI. 另一种方法是在ADF UI中导出手臂模板。

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

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