从单个ARM模板创建多个资源 [英] create multiple resources from single ARM template

查看:93
本文介绍了从单个ARM模板创建多个资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个包含许多资源的ARM模板。 


我找不到有关如何执行此操作的足够信息,因此我的模板需要:  


- 互连虚拟机的虚拟网络

- 具有预先配置的活动目录角色的Windows 2016虚拟机。

- 带有预配置实例的SQL Server 2016的Windows 2016虚拟机

- 将扮演应用程序服务器角色的Windows 2016 VM。让我们从一个简单的IIS角色开始,





任何人请帮帮我




解决方案

嗨Dhia,
这里是
一个开始的模板。该模板将基于'numberOfInstance'参数创建N个VM实例。在您的情况下,n = 3.模板还会在部署过程中创建虚拟网络。


我还建议您查看
创建多个资源通过ARM实例


希望这会有所帮助。


干杯。




i am creating an ARM template that contain many resources . 

i couldn't find enough information on how to do that , so my template need to have : 

- A virtual network to interconnect VMs
- A Windows 2016 VM with pre-configured active directory role.
- A Windows 2016 VM with SQL Server 2016 with a pre-configured instance
- A Windows 2016 VM that will play the role of application server. Let's start with a simple IIS role,


anybody please help me 

解决方案

Hi Dhia, here's a template to start with. This template will create N number of VM instances based on 'numberOfInstance' param. In your case, n= 3. The template also creates a virtual network as part of the deployment.

I also encourage you to review the official documentation on creating multiple resource instances via ARM

Hope this helps.

Cheers.



这篇关于从单个ARM模板创建多个资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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