ARM模板. [英] ARM Templates.

查看:142
本文介绍了ARM模板.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

部署模板并将函数的输出传递到ARM模板中的参数时,是否可以在Deploy.ps1文件中执行其他脚本/函数.

Is it possible to execute additional Scripts/Functions within the Deploy.ps1 file when deploying the template and passing the output of the function to a parameter within the ARM Template.

因此,基本上,一个示例是在创建Service Fabric群集之前在KeyVault上创建证书,然后我可以部署整个模板以完成所有步骤.

So basically an example would be creating a certificate on the KeyVault before creating a Service Fabric Cluster which I could then deploy the entire template that would do all the steps in 1 go.

希望有道理吗?

谢谢

推荐答案

You can’t directly define create Certificate in single ARM Template, you can define the Certificate details in Service Fabric Cluster-ARM Template.


您可以参考中概述的建议. SO 线程可解决类似问题.


You may refer the suggestions outlined in the SO thread which addresses similar issue.


有关更多信息,建议您参考 创建自定义ARM模板.


For more information, suggest you to refer Creating a custom ARM template.

If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click 


这篇关于ARM模板.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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