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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.