[英]How to rebuild a complex azure environment
According to your description, as 4c74356b41 says, I suggest you could use arm template to achieve your requirement. 根据您的描述,正如4c74356b41所说,我建议您可以使用arm模板来满足您的要求。
Resource Manager template - A JavaScript Object Notation (JSON) file that defines one or more resources to deploy to a resource group. 资源管理器模板-一种JavaScript对象表示法(JSON)文件,该文件定义一个或多个要部署到资源组的资源。 It also defines the dependencies between the deployed resources. 它还定义了已部署资源之间的依赖关系。 The template can be used to deploy the resources consistently and repeatedly. 该模板可用于一致且重复地部署资源。
By using arm template. 通过使用手臂模板。 you could use linked templates to link different resources to achieve one resource has lots of dependencies. 您可以使用链接的模板链接不同的资源,以实现一种资源具有很多依赖性。
More details about what is arm template and getting started, you could refer to this article . 有关什么是手臂模板和入门的更多详细信息,可以参考本文 。
Besides, there are also multiple arm template example, you could refer to this url to know how to create the template. 此外,还有多个手臂模板示例,您可以参考此网址以了解如何创建模板。
Besides, if you have created a resource group and it contains multiple resources, you could directly download its deploy template for next deployment by using automation script feature. 此外,如果您创建了一个资源组并且其中包含多个资源,则可以使用自动化脚本功能直接下载其部署模板以进行下一步部署。
Notice: Not all the resource will be automatic included in the auto template. 注意:并非所有资源都会自动包含在自动模板中。
More details, you could refer to this image: 更多详细信息,您可以参考以下图片:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.