You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/template-functions.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,9 @@
2
2
title: Template functions
3
3
description: Describes the functions to use in an Azure Resource Manager template (ARM template) to retrieve values, work with strings and numerics, and retrieve deployment information.
4
4
ms.topic: conceptual
5
-
ms.date: 11/23/2021
5
+
ms.date: 01/20/2022
6
6
---
7
+
7
8
# ARM template functions
8
9
9
10
This article describes all the functions you can use in an Azure Resource Manager template (ARM template). For information about using functions in your template, see [template syntax](template-expressions.md).
@@ -52,6 +53,8 @@ Resource Manager provides several functions for working with arrays.
52
53
*[take](template-functions-array.md#take)
53
54
*[union](template-functions-array.md#union)
54
55
56
+
For Bicep files, use the Bicep [array](../bicep/bicep-functions-array.md) functions.
57
+
55
58
<aid="coalesce"aria-hidden="true"></a>
56
59
<aid="equals"aria-hidden="true"></a>
57
60
<aid="less"aria-hidden="true"></a>
@@ -70,6 +73,8 @@ Resource Manager provides several functions for making comparisons in your templ
For Bicep files, use the Bicep [coalesce](../bicep/operators-logical.md) logical operator. For comparisons, use the Bicep [comparison](../bicep/operators-comparison.md) operators.
77
+
73
78
<aid="deployment"aria-hidden="true"></a>
74
79
<aid="parameters"aria-hidden="true"></a>
75
80
<aid="variables"aria-hidden="true"></a>
@@ -81,6 +86,8 @@ Resource Manager provides the following functions for working with dates.
For Bicep files, use the Bicep [deployment](../bicep/bicep-functions-deployment.md) functions.
101
+
93
102
<aid="and"aria-hidden="true"></a>
94
103
<aid="bool"aria-hidden="true"></a>
95
104
<aid="if"aria-hidden="true"></a>
@@ -108,6 +117,8 @@ Resource Manager provides the following functions for working with logical condi
108
117
*[or](template-functions-logical.md#or)
109
118
*[true](template-functions-logical.md#true)
110
119
120
+
For Bicep files, use the Bicep [bool](../bicep/bicep-functions-logical.md) logical function. For other logical values, use Bicep [logical](../bicep/operators-logical.md) operators.
121
+
111
122
<aid="add"aria-hidden="true"></a>
112
123
<aid="copyindex"aria-hidden="true"></a>
113
124
<aid="div"aria-hidden="true"></a>
@@ -134,6 +145,8 @@ Resource Manager provides the following functions for working with integers:
134
145
*[mul](template-functions-numeric.md#mul)
135
146
*[sub](template-functions-numeric.md#sub)
136
147
148
+
For Bicep files that use `int`, `min`, and `max` use Bicep [numeric](../bicep/bicep-functions-numeric.md) functions. For other numeric values, use Bicep [numeric](../bicep/operators-numeric.md) operators.
149
+
137
150
<aid="json"aria-hidden="true"></a>
138
151
139
152
## Object functions
@@ -149,6 +162,8 @@ Resource Manager provides several functions for working with objects.
149
162
*[null](template-functions-object.md#null)
150
163
*[union](template-functions-object.md#union)
151
164
165
+
For Bicep files, use the Bicep [object](../bicep/bicep-functions-object.md) functions.
166
+
152
167
<aid="extensionResourceId"aria-hidden="true"></a>
153
168
<aid="listkeys"aria-hidden="true"></a>
154
169
<aid="list"aria-hidden="true"></a>
@@ -174,6 +189,8 @@ Resource Manager provides the following functions for getting resource values:
0 commit comments