[英]Use of generators under metadata in ARM Templates
Resource manager ignores the metadata at the time of deployment.资源管理器在部署时忽略元数据。 This is just for you to share the more information about the template and its resources with other developers.
这只是为了让您与其他开发人员共享有关模板及其资源的更多信息。
You can add a metadata object almost anywhere in your template.
您几乎可以在模板中的任何位置添加元数据对象。 Resource Manager ignores the object, but your JSON editor may warn you that the property isn't valid.
资源管理器会忽略该对象,但您的 JSON 编辑器可能会警告您该属性无效。 In the object, define the properties you need.
在对象中,定义您需要的属性。
A caveat here is when you define metadata
with description
property for your template parameters.这里需要注意的是,当您为模板参数定义具有
description
属性的metadata
时。 When you deploy the template through Azure Portal, the description is shown as a tool tip for that parameter.通过 Azure 门户部署模板时,说明将显示为该参数的工具提示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.