Skip to Main Content
Azure Resource Manager Templates Quick Start Guide
book

Azure Resource Manager Templates Quick Start Guide

by Ritesh Modi
February 2019
Intermediate to advanced content levelIntermediate to advanced
234 pages
5h 42m
English
Packt Publishing
Content preview from Azure Resource Manager Templates Quick Start Guide

Creating multiple instances of a resource type

There are times when multiple instances of the same resource type are needed—for example: creating multiple virtual machines, multiple databases, bus service queues, and so on. Although it is possible to code the same resource type multiple times one after another with different names, it is definitely not the best way to author ARM templates for provisioning multiple instances of the same resource type.

The ARM template provides a copy feature that can be used to loop over any resource type. Later in the chapter, we will see how to loop over resource properties as well. Apart from the copy element, ARM templates provide a few other functions that help with creating expressions, enabling looping ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali
Understanding Azure Monitoring: Includes IaaS and PaaS Scenarios

Understanding Azure Monitoring: Includes IaaS and PaaS Scenarios

Bapi Chakraborty, Shijimol Ambi Karthikeyan

Publisher Resources

ISBN: 9781789803235Supplemental Content