ARM模板-动态VM大小调整-从Azure门户检索数据 [英] ARM Template - Dynamic VM Sizing - data retrieval from Azure Portal

查看:71
本文介绍了ARM模板-动态VM大小调整-从Azure门户检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在尝试使用VM的动态大小构建ARM模板,而不是"allowedValues"中的静态条目.

I am trying to build a ARM template with dynamic sizing of VM , instead of static entries in "allowedValues".

允许值"应该从Azure门户动态生成.

The "allowed values " should be generated from the Azure portal dynamically.

任何人都可以帮忙.

注意

Senthil

推荐答案

据我了解,没有内置的模板功能可以使您完成此任务

As far as I understand, there is no built in template function/functionality that would allow you to accomplish this.

在部署模板之前(例如通过脚本),您需要在模板中填充allowedValues条目.

You would need to populate the allowedValues entries in the template prior to deploying it (e.g. via a script)

hth
Marcin

hth
Marcin


这篇关于ARM模板-动态VM大小调整-从Azure门户检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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