部署新的ADL Gen1数据集体验无法使用PowerShell(cmdlet Set-AzureRmDataFactoryV2Dataset) [英] Deployment with new ADL Gen1 Dataset experience not working with PowerShell (cmdlet Set-AzureRmDataFactoryV2Dataset)

查看:96
本文介绍了部署新的ADL Gen1数据集体验无法使用PowerShell(cmdlet Set-AzureRmDataFactoryV2Dataset)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

部署新的ADL Gen1数据集体验不使用PowerShell(cmdlet Set-AzureRmDataFactoryV2Dataset)

当您尝试创建AzureDataLake Gen1数据集时在ADF中,您将被引导通过一个新的GUI,允许您从不同的文件类型中选择,例如这些json主体与旧的Gen1数据集json主体略有不同。 

When you try to create a AzureDataLake Gen1 dataset in ADF you are directed through a new GUI that allows you to pick from different file types, e.g. parquet, delimited, etc. The json body of these are a bit different from the old Gen1 dataset json body. 

在我的公司中,我们使用PowerShell将json资源部署到ADF,对于数据集,我们特别使用Set-AzureRmDataFactoryV2Dataset。这会给出错误消息,并在部署json时发生错误或发布格式化成功消息时停止。
当我使用较新类型的新数据集资源运行它时,它像以前一样成功,但我的数据工厂中没有弹出任何资源。如果我更改json以采用旧格式的形式它可以工作。 

In my company we use PowerShell to deploy the json resources to ADF, and for datasets specifically we use Set-AzureRmDataFactoryV2Dataset. This gives either error message and stops if error or posts formatted success message when json have been deployed. When I run it with my new dataset resources of the newer type it succeeds as before, but no resource pops up in my data factory. If I change the json to take on the form of the old format it works. 

也许我有一个旧版本的AzureRm cmdlet尚未修复此错误。其他人遇到了这个问题吗?

Maybe I have an old version of the AzureRm cmdlets where this bug hasn't been fixed yet. Anyone else bumped into this problem?

/ Jonathan Akerblom

/Jonathan Akerblom

推荐答案

你好Jonathan Akerblom,谢谢你的询问。 在我尝试重新解决您的问题之前,我想让您了解

新的Powershell模块,'Az'
。 
对AzureRM的支持至少延长到2020年12月
。 我希望新的JSON数据集可以使用"设置AzDataFactoryV2Dataset "。 
我现在试着重新解决你的问题。
Hello Jonathan Akerblom, and thank you for your inquiry.  Before I attempt to repro your issue, I want to let you know about the new Powershell module, 'Az' Support for AzureRM extends to at least December 2020.  I expect the new JSON dataset works with "Set-AzDataFactoryV2Dataset".  I will now try to repro your issue.


这篇关于部署新的ADL Gen1数据集体验无法使用PowerShell(cmdlet Set-AzureRmDataFactoryV2Dataset)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆