Azure Resource Manager template functions

This topic describes all the functions you can use in an Azure Resource Manager template.

Template functions and their parameters are case-insensitive. For example, Resource Manager resolves variables('var1') and VARIABLES('VAR1') as the same. When evaluated, unless the function expressly modifies case (such as toUpper or toLower), the function preserves the case. Certain resource types may have case requirements irrespective of how functions are evaluated.

Array and object functions

Resource Manager provides several functions for working with arrays and objects.

Comparison functions

Resource Manager provides several functions for making comparisons in your templates.

Deployment value functions

Resource Manager provides the following functions for getting values from sections of the template and values related to the deployment:

Numeric functions

Resource Manager provides the following functions for working with integers:

Resource functions

Resource Manager provides the following functions for getting resource values:

String functions

Resource Manager provides the following functions for working with strings:

Next Steps