在ADF ARM模板中参数化自托管集成运行时 [英] Parameterize Self hosted integration runtime in ADF ARM Template
问题描述
我们有不同的ADF环境,例如TST,UAT&产品在每个环境中,自托管的IR名称是不同的.是否可以在ADF ARM模板中参数化集成运行时,以便当ARM模板通过CI/CD部署时,我们可以在部署期间在DevOps Variable组中传递IR名称.
We have different ADF environments such as TST,UAT & prod. In each environment the self hosted IR name is different. Is it possible to parameterize the integration runtime in ADF ARM Template, so that when the ARM templates deploys through CI/CD we can pass IR name in the DevOps Variable group during the deployment.
我尝试使用以下设置更改ADF中的参数化模板,但是IR名称在ARM模板参数JSON'arm_template_parameters.json'中仍然不可用.
I have tried changing the Parametrization Template in ADF with below setting, but the IR name is still not available in the ARM template parameter JSON 'arm_template_parameters.json'.
推荐答案
我搜索时发现,它的接缝无法在ADF ARM模板中参数化集成运行时.
As I searched, I found that it seams can't parameterize the integration runtime in ADF ARM Template.
其他人也发表了几乎相同的问题,Microsoft工程师提供了一些变通办法,可能会有所帮助.他还说:
Others have posted almost same question, Microsoft engineer provided some workarounds which may be helpful. He also said:
- "您的意思是使用自定义参数来设置IR名称的参数?没有啊没有其他方法."
您可以引用以下问题:(自托管)集成运行时的ARM模板自定义参数.
You can ref this question: ARM Template Custom Parameters for (self-hosted)Integration Runtime.
这篇关于在ADF ARM模板中参数化自托管集成运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!