【发布时间】:2020-06-30 20:16:10
【问题描述】:
我已经为 Azure 数据工厂配置了 CI/CD 管道。我需要为 QA 环境的 Azure 数据工厂中的某些链接服务提供单独的集成运行时。当我使用来自 adf_publish 分支的 DEV Azure 数据工厂的 ARM 模板进行部署时,我只能为 sql 服务器名称提供参数值,而不是 IR。有什么方法可以在链接服务中提供集成运行时的价值。 提前致谢
【问题讨论】:
我已经为 Azure 数据工厂配置了 CI/CD 管道。我需要为 QA 环境的 Azure 数据工厂中的某些链接服务提供单独的集成运行时。当我使用来自 adf_publish 分支的 DEV Azure 数据工厂的 ARM 模板进行部署时,我只能为 sql 服务器名称提供参数值,而不是 IR。有什么方法可以在链接服务中提供集成运行时的价值。 提前致谢
【问题讨论】:
这可以通过以下来自微软https://docs.microsoft.com/en-us/azure/data-factory/continuous-integration-deployment#use-custom-parameters-with-the-resource-manager-template的链接来实现
可以在集成运行时arm模板下添加新名称。
【讨论】:
使用 arm-template-paramerters-definition.json 中 linkedServices 的 connectVia 属性从 CI/CD 更改集成运行时
"Microsoft.DataFactory/factories/linkedServices": {
"*": {
"properties": {
"typeProperties": {
"baseUrl": "-::string"
},
"connectVia": {
"*": "="
}
}
}
}
【讨论】:
您可以转到 ADF 实例的“管理”,然后转到“集成运行时”为 ADF 创建新的 Azure IR。
您可以基于 azure 或自托管创建 azure IR。
欲了解更多信息,请查看以下文档:
https://docs.microsoft.com/en-us/azure/data-factory/concepts-integration-runtime
https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime
【讨论】: