[英]Parameterize Managed Private Endpoint in Blob Linked Service ADF
I need to use multiple Blob Storage Accounts in ADF.我需要在 ADF 中使用多个 Blob 存储帐户。 I am trying to create a single linked service for all storages with parameters.
我正在尝试为所有带参数的存储创建一个链接服务。 I unable to parameterized managed private endpoint.
我无法参数化托管专用端点。 When I hardcode storage name then managed private endpoint (which has been created in ADF) gets selected automatically.
当我对存储名称进行硬编码时,托管专用端点(已在 ADF 中创建)会自动被选中。 Is there a way to parameterize it through Advance->JSON OR by any other way?
有没有办法通过 Advance->JSON 或任何其他方式对其进行参数化? ]
]
Unable to parameterize managed private endpoint.无法参数化托管专用终结点。 Did not find any Microsoft documentation.
没有找到任何 Microsoft 文档。
I created Azure data factory and storage account in azure portal.我在 azure 门户中创建了 Azure 数据工厂和存储帐户。 I setup the Integration Runtime as mention below
我设置集成运行时如下所述
I created managed private endpoint in Azure Data factory.我在 Azure 数据工厂中创建了托管专用终结点。 Manage->Security->managed private endpoint Image for reference:
Manage->Security->managed private endpoint 图片供参考:
After creation of managed private endpoint we need to approve in storage account settings.创建托管专用端点后,我们需要在存储帐户设置中批准。 for that I click on Manage approval in azure portal which mentioned above.
为此,我单击上面提到的 azure 门户中的管理批准。 It takes me to below page
它带我到下面的页面
select private end point and click on approve which mentioned below. select 私人端点并单击下面提到的批准。 It approves the private endpoint.
它批准专用端点。
Image for reference:图片供参考:
Managed private endpoint is created and approved successfully.已成功创建并批准托管专用端点。
we can achieve Parameterize Managed Private Endpoint in Blob Linked Service ADF using below Json script我们可以使用以下 Json 脚本在 Blob 链接服务 ADF 中实现参数化托管私有端点
{
"name": "DataLakeBlob",
"type": "Microsoft.DataFactory/factories/linkedservices",
"properties": {
"parameters": {
"StorageAccountEndpoint": {
"type": "String",
"defaultValue": "https://<storage AccountName>.blob.core.windows.net"
}
},
"type": "AzureBlobStorage",
"typeProperties": {
"sasUri": "@{linkedService().StorageAccountEndpoint}"
},
"description": "Test Description"
}
}
Mark the Specify dynamic contents in JSON format when test connection it connected successfully.测试连接成功时标记Specify dynamic contents in JSON format。
Image for reference:图片供参考:
This works from my end please check from your end.这在我这边有效,请从你这边检查。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.