简体   繁体   中英

Azure Data Factory V2 - publish pipeline to specified folder

While developing in Azure Portal, I can organize pipelines, datasets and linked services in folders. JSON file of pipeline will contain folder name:

"folder": {
  "name": "Business"
}

But when I publish pipeline (or any other DF V2 object) with PowerShell Cmd-Let, it goes to the root folder:

Set-AzureRmDataFactoryV2Pipeline -DataFactoryName $dataFactoryV2Name -File $filePath `
  -Name $name -ResourceGroupName $resourceGroupName

Is there a way to force Set-AzureRmDataFactoryV2Pipeline and related Cmd-Lets to honor "folder" path and publish object to the specified folder?

最终,Microsoft修复了该问题,并在6.10.0版中将Set-AzureRmDataFactoryV2Pipeline正确地将管道放入指定的文件夹中!

Powershell doesn't support it because it ignores properties it can't recognize. And currently, this property is also not supported by SDK.

But you could Restful API to achieve this. And if you have to use powershell, you could use the Invoke-RestMethod .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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