ADF V2自定义活动 [英] ADF V2 Custom activity

查看:103
本文介绍了ADF V2自定义活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以ADFV2文档中此处给出的示例为基础-https://docs.microsoft.com/zh-cn/azure/data-factory/transform-data-using-dotnet-custom-activity#executing -命令

Building on the example given here in ADFV2 documentation here - https://docs.microsoft.com/en-us/azure/data-factory/transform-data-using-dotnet-custom-activity#executing-commands

这是我看到的问题,自定义活动代码区域不可编辑,因此我似乎无法在需要的地方添加扩展属性.我可以使用UI,但仍要弄清楚connectionString扩展属性的值以及它的外观. 使用json在扩展属性中添加安全字符串会容易得多.是否有关于数据湖连接字符串的值的想法?

Here are the issues I am seeing, the custom activity code area is not editable, so I can't seem to add the extended properties where needed. I could use the UI but still figuring out the value for a connectionString extended property and how it should look. It would be much easier to use the json to add the secure string in the extended property. Any ideas as to what value would look like for a data lake connection string?

推荐答案

你好,

我无法在UI中创建连接字符串,您是否尝试过按如下所述将扩展属性作为JSON文件传递:

I haven't been able to create the connection string in the UI, have you tried passing the extended properties as a JSON file as described here:

https://docs.microsoft.com/zh-cn/azure/data-factory/transform-data-using-dotnet-custom-activity#passing-objects-and-properties

https://docs.microsoft.com/en-us/azure/data-factory/transform-data-using-dotnet-custom-activity#passing-objects-and-properties

就JSON的外观而言,您是否尝试过以下方法:

As far as what the JSON would look like, have you tried something like this:

{
	"extendedProperties": {
		"connectionString": {
			"type": "SecureString",
			"value": "adl://[accountname].azuredatalakestore.net/"
		}
	}
}



这篇关于ADF V2自定义活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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