How do I find the properties of a resource with azure resource manager

六月ゝ 毕业季﹏ 提交于 2019-12-13 00:26:17

问题


How can I see the configuration of a resource in a resource group? I've provisioned a database through the portal and I'd like to see what that configuration is in the template language.


回答1:


You can use the Azure Resource Manager REST API to list the template deployments for your resource group. A reference to the API is here.

Near the top of the response is a templateLink that you can follow to get the deployment template. For example, this is what I get back for one of my deployments where I used the Web App + SQL Database configuration from the Azure Portal to create a new web app.



来源:https://stackoverflow.com/questions/29971800/how-do-i-find-the-properties-of-a-resource-with-azure-resource-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!