Grouping parameters

An important recent update to ARM templates was the usage of the object data type to parameters. A parameter of the object type can accept any valid JSON from external resources as its input at runtime. This helps colocate parameters for a resource and helps form a natural grouping of properties. The same parameter can also define a default object if the external source does not provide a value for this parameter.

Grouping parameters is also a workaround to overcome the limitation of 255 parameters in a template.

Grouping using objects makes it easy for a caller to specify parameter values, which is much more intuitive and easier to comprehend the parameters. For example, we could group all storage-related parameters so ...

Get Azure Resource Manager Templates Quick Start Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.