简体   繁体   中英

Update Azure Data Factory Properties for Datasets/Pipelines/Linked Services/Triggers using PowerShell

What is Power shell command for Updating Properties of either (datasets/Pipelines/Triggers) in Azure Data factory?

Ex: Set-AzDataFactoryV2Pipeline - create/update a pipeline in Azure Data factory.

Incase Set-AzDataFactoryV2Pipeline command can useful for updating pipeline, How can I set new name properties?which parameter in this command suitable for renaming pipeline?

But I want to know command which can update properties such as Pipeline Name/ Trigger Name /Dataset Name.

According to the official document , there is no update command about Pipeline Name/ Trigger Name /Dataset Name .

I think we have two ways to rename them.

  1. Using powershell, we need to remove the resources first and then create it again.
    Here I take the pipeline as an example:
Remove-AzDataFactoryV2Pipeline -ResourceGroupName "<ResourceGroupName>" -Name "<PipelineName>" -DataFactoryName "<DataFactoryName>"

Set-AzDataFactoryV2Pipeline -ResourceGroupName "<ResourceGroupName>" -Name "<PipelineName>" -DataFactoryName "<DataFactoryName>" -File ".\***.json"

  1. Using Azure Data Factory UI, we can rename them in place easily.
    Here I take the pipeline as an example:

在此处输入图像描述

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