简体   繁体   中英

Use of generators under metadata in ARM Templates

What is the use of the highlighted part in the Azure ARM Templates' JSON structure? Where does the resource use it?

ARM 模板 JSON

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.

From this link :

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. In the object, define the properties you need.

A caveat here is when you define metadata with description property for your template parameters. When you deploy the template through Azure Portal, the description is shown as a tool tip for that parameter.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM