0
votes

I am trying my hands on over Azure Resource manager templates.

So for making any new resource I am trying to find out which all parameters are required and if they are mandatory or optional. But couldn't get any documentation for same.

I am looking for documentation which is somewhat similar to AWS. To get better in sites about the resources.

Thanks in advance!!

EDIT I am not looking for parameters in general which are passed to the template. What I want is the resources parameters. The parameters which are given under the properties tag of every resource

Example- In the below resource "virtualNetworks" there are resource parameters like addressSpace, subnets. virtualNetworks

2
Are you using existing templates or designing new templates from scratch?Gaurav Mantri
Trying to create templates from scratch as per specific usecasesAnand

2 Answers

1
votes

This should help you.

It is the schema for deployment templates. Within it, there are schemas for every type of resource that can be put into an arm template. For example, if we look at the schema for Virtual Machines, it contains all the available properties, profiles, extensions, what is required or not, etc.

However, it shouldn't be necessary for you to really look at this and learn it. When you are creating your arm template in visual studio, intellisense should kick in and show you whether what you are putting in the template is valid or not. For example, here I am editing the properties of a public IP, and it shows me what the available properties to add are.

arm template intellisense

0
votes

you are right, there is a lack of documentation for resources and required parameters.

My advice is:

  1. Check the Azure-Quickstart Templates, more than enough examples: Quickstart Templates
  2. Since some days you can export ARM Templates from the Azure Portal. So create your resource in portal and export the Templates & Parameters: Microsoft Blog
  3. Check the resource Explorer: Resource Explorer