简体   繁体   English

使用 PowerShell 更新数据集/管道/链接服务/触发器的 Azure 数据工厂属性

[英]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?什么是 Power shell 命令,用于更新 Azure 数据工厂中任一(数据集/管道/触发器)的属性?

Ex: Set-AzDataFactoryV2Pipeline - create/update a pipeline in Azure Data factory.例如:Set-AzDataFactoryV2Pipeline - 在 Azure 数据工厂中创建/更新管道。

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?如果 Set-AzDataFactoryV2Pipeline 命令可用于更新管道,我如何设置新的名称属性?此命令中的哪个参数适合重命名管道?

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 .根据官方文档,没有关于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.使用 powershell,我们需要先移除资源,然后再重新创建。
    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.使用 Azure 数据工厂 UI,我们可以轻松地重命名它们。
    Here I take the pipeline as an example:这里我以管道为例:

在此处输入图像描述

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

相关问题 使用Azure数据工厂管道更新并插入Azure数据仓库 - update and insert into Azure data warehouse using Azure data factory pipelines 是否有清理 Azure 数据工厂(数据集、链接服务等)的推荐方法? - Is there a recommended method to clean up Azure Data Factory (Datasets, linked services etc.)? 有没有办法为同一 Azure 数据工厂中的管道和数据集设置不同的权限? - Is there a way to set different permissions to pipelines and datasets in the same Azure Data Factory? 使用或不使用触发器为 Azure 数据工厂创建 CI 和 CD 管道 - Creating CI and CD pipelines for Azure data factory with or without triggers Azure链接服务与数据工厂自定义活动 - Azure linked services with data factory custom activity 如何使用Azure Powershell在Azure数据工厂中删除名称以特定文本开头的所有数据集? - How to delete all datasets with names starting with a specific text in Azure Data Factory using Azure Powershell? 如何使用 Powershell 获取多个 Azure 数据工厂管道中的所有 ActivityType? - How to fetch all the ActivityTypes within multiple Azure Data Factory Pipelines using Powershell? 在 Azure 数据工厂中编排管道 - Orchestrating Pipelines in Azure Data Factory Azure Data Factory中的参数化数据集 - Parameterised datasets in Azure Data Factory 如何使用 Azure 数据工厂管道调用 REST API? - How to call a REST API using Azure Data Factory Pipelines?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM