如何为Azure数据工厂链接服务中的天蓝色表存储/blob存储动态提供连接字符串 [英] How to provide connection string dynamically for azure table storage/blob storage in Azure data factory Linked service
问题描述
动态更改Azure数据工厂中Tablestorage或Blob存储的连接字符串.目前,我可以看到与数据库相关的数据集的这种选择吗?如何在表或Blob存储中实现相同的目标
Dynamically changing the connection string for Tablestorage or blob storage in Azure data factory. Currently, I could see such option for database related dataset? How to achieve the same in Table or Blob storage
推荐答案
在新链接的服务" Azure表存储中,单击高级",然后选中指定JSON格式的动态内容" adf
In the New Linked service Azure table storage and Click on Advanced and check Specify Dynamic contents in JSON format adf
Copy the below JSON to make it Table Storage Parameterize :
{
"name": "Table",
"type": "Microsoft.DataFactory/factories/linkedservices",
"properties": {
"type": "AzureTableStorage",
"typeProperties": {
"sasUri": {
"type": "SecureString",
"value": "@{linkedService().sasUriParam}"
}
},
"parameters": {
"sasUriParam": {
"type": "String"
}
},
"annotations": []
}
}
Copy the below JSON to make it Table Storage Parameterize :
{
"name": "Table",
"type": "Microsoft.DataFactory/factories/linkedservices",
"properties": {
"type": "AzureTableStorage",
"typeProperties": {
"sasUri": {
"type": "SecureString",
"value": "@{linkedService().sasUriParam}"
}
},
"parameters": {
"sasUriParam": {
"type": "String"
}
},
"annotations": []
}
}
这篇关于如何为Azure数据工厂链接服务中的天蓝色表存储/blob存储动态提供连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!