有没有办法删除 ADF 中的多个数据集?
Is there any way to remove multiple datasets in ADF?
我想删除 Azure 数据工厂中的冗余数据集和链接服务。我可以通过任何命令或任何方式删除它们吗?
使用 PowerShell 代码段引用此 , I think we can remove redundant datasets and linked service:
您可以将 -Force
附加到 cmd 尾部,这将阻止 cmdlet 在删除每个数据集之前提示您。请记住,如果某些现有管道正在引用数据集,则无法将其删除。
删除数据集:
Get-AzureRmDataFactoryV2 -ResourceGroupName <rgname> -Name <factory name> | Get-AzureRmDataFactoryV2Dataset | Remove-AzureRmDataFactoryV2Dataset
删除链接服务:
Get-AzureRmDataFactoryV2 -ResourceGroupName <rgname> -Name <factory name> | Get-AzureRmDataFactoryV2LinkedService | Remove-AzureRmDataFactoryV2LinkedService
我想删除 Azure 数据工厂中的冗余数据集和链接服务。我可以通过任何命令或任何方式删除它们吗?
使用 PowerShell 代码段引用此 -Force
附加到 cmd 尾部,这将阻止 cmdlet 在删除每个数据集之前提示您。请记住,如果某些现有管道正在引用数据集,则无法将其删除。
删除数据集:
Get-AzureRmDataFactoryV2 -ResourceGroupName <rgname> -Name <factory name> | Get-AzureRmDataFactoryV2Dataset | Remove-AzureRmDataFactoryV2Dataset
删除链接服务:
Get-AzureRmDataFactoryV2 -ResourceGroupName <rgname> -Name <factory name> | Get-AzureRmDataFactoryV2LinkedService | Remove-AzureRmDataFactoryV2LinkedService