Skip to content

Commit bf6ce5b

Browse files
committed
add namespace to functions
1 parent f7b6dfc commit bf6ce5b

11 files changed

+166
-12
lines changed

articles/azure-resource-manager/bicep/bicep-functions-any.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ This function doesn't exist in the Azure Resource Manager template runtime. It's
2020

2121
Returns a value that is compatible with any data type.
2222

23+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
24+
2325
### Parameters
2426

2527
| Parameter | Required | Type | Description |

articles/azure-resource-manager/bicep/bicep-functions-array.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes the functions to use in a Bicep file for working with arr
44
author: mumian
55
ms.topic: conceptual
66
ms.author: jgao
7-
ms.date: 09/10/2021
7+
ms.date: 09/30/2021
88

99
---
1010
# Array functions for Bicep
@@ -17,6 +17,8 @@ This article describes the Bicep functions for working with arrays.
1717

1818
Converts the value to an array.
1919

20+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
21+
2022
### Parameters
2123

2224
| Parameter | Required | Type | Description |
@@ -58,6 +60,8 @@ The output from the preceding example with the default values is:
5860

5961
Combines multiple arrays and returns the concatenated array.
6062

63+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
64+
6165
### Parameters
6266

6367
| Parameter | Required | Type | Description |
@@ -102,6 +106,8 @@ The output from the preceding example with the default values is:
102106

103107
Checks whether an array contains a value, an object contains a key, or a string contains a substring. The string comparison is case-sensitive. However, when testing if an object contains a key, the comparison is case-insensitive.
104108

109+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
110+
105111
### Parameters
106112

107113
| Parameter | Required | Type | Description |
@@ -155,6 +161,8 @@ The output from the preceding example with the default values is:
155161

156162
Determines if an array, object, or string is empty.
157163

164+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
165+
158166
### Parameters
159167

160168
| Parameter | Required | Type | Description |
@@ -193,6 +201,8 @@ The output from the preceding example with the default values is:
193201

194202
Returns the first element of the array, or first character of the string.
195203

204+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
205+
196206
### Parameters
197207

198208
| Parameter | Required | Type | Description |
@@ -231,6 +241,8 @@ The output from the preceding example with the default values is:
231241

232242
Returns a single array or object with the common elements from the parameters.
233243

244+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
245+
234246
### Parameters
235247

236248
| Parameter | Required | Type | Description |
@@ -322,6 +334,8 @@ The output from the preceding example is:
322334

323335
Returns the last element of the array, or last character of the string.
324336

337+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
338+
325339
### Parameters
326340

327341
| Parameter | Required | Type | Description |
@@ -360,6 +374,8 @@ The output from the preceding example with the default values is:
360374

361375
Returns the number of elements in an array, characters in a string, or root-level properties in an object.
362376

377+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
378+
363379
### Parameters
364380

365381
| Parameter | Required | Type | Description |
@@ -410,6 +426,8 @@ The output from the preceding example with the default values is:
410426

411427
Returns the maximum value from an array of integers or a comma-separated list of integers.
412428

429+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
430+
413431
### Parameters
414432

415433
| Parameter | Required | Type | Description |
@@ -450,6 +468,8 @@ The output from the preceding example with the default values is:
450468

451469
Returns the minimum value from an array of integers or a comma-separated list of integers.
452470

471+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
472+
453473
### Parameters
454474

455475
| Parameter | Required | Type | Description |
@@ -490,6 +510,8 @@ The output from the preceding example with the default values is:
490510

491511
Creates an array of integers from a starting integer and containing the number of items.
492512

513+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
514+
493515
### Parameters
494516

495517
| Parameter | Required | Type | Description |
@@ -524,6 +546,8 @@ The output from the preceding example with the default values is:
524546

525547
Returns an array with all the elements after the specified number in the array, or returns a string with all the characters after the specified number in the string.
526548

549+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
550+
527551
### Parameters
528552

529553
| Parameter | Required | Type | Description |
@@ -566,6 +590,8 @@ The output from the preceding example with the default values is:
566590

567591
Returns an array with the specified number of elements from the start of the array, or a string with the specified number of characters from the start of the string.
568592

593+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
594+
569595
### Parameters
570596

571597
| Parameter | Required | Type | Description |
@@ -608,6 +634,8 @@ The output from the preceding example with the default values is:
608634

609635
Returns a single array or object with all elements from the parameters. Duplicate values or keys are only included once.
610636

637+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
638+
611639
### Parameters
612640

613641
| Parameter | Required | Type | Description |

articles/azure-resource-manager/bicep/bicep-functions-date.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes the functions to use in a Bicep file to work with dates.
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 09/10/2021
7+
ms.date: 09/30/2021
88
---
99

1010
# Date functions for Bicep
@@ -17,6 +17,8 @@ This article describes the Bicep functions for working with dates.
1717

1818
Adds a time duration to a base value. ISO 8601 format is expected.
1919

20+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
21+
2022
### Parameters
2123

2224
| Parameter | Required | Type | Description |
@@ -81,6 +83,8 @@ resource scheduler 'Microsoft.Automation/automationAccounts/schedules@2015-10-31
8183

8284
Returns the current (UTC) datetime value in the specified format. If no format is provided, the ISO 8601 (`yyyyMMddTHHmmssZ`) format is used. **This function can only be used in the default value for a parameter.**
8385

86+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
87+
8488
### Parameters
8589

8690
| Parameter | Required | Type | Description |

articles/azure-resource-manager/bicep/bicep-functions-deployment.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes the functions to use in a Bicep file to retrieve deployme
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 09/10/2021
7+
ms.date: 09/30/2021
88
---
99

1010
# Deployment functions for Bicep
@@ -17,6 +17,8 @@ This article describes the Bicep functions for getting values related to the cur
1717

1818
Returns information about the current deployment operation.
1919

20+
Namespace: [az](bicep-functions.md#namespaces-for-functions).
21+
2022
### Return value
2123

2224
This function returns the object that is passed during deployment. The properties in the returned object differ based on whether you are:
@@ -106,6 +108,8 @@ The preceding example returns the following object:
106108

107109
Returns information about the Azure environment used for deployment.
108110

111+
Namespace: [az](bicep-functions.md#namespaces-for-functions).
112+
109113
### Return value
110114

111115
This function returns properties for the current Azure environment. The following example shows the properties for global Azure. Sovereign clouds may return slightly different properties.

articles/azure-resource-manager/bicep/bicep-functions-files.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Bicep functions - files
33
description: Describes the functions to use in a Bicep file to load content from a file.
44
ms.topic: conceptual
5-
ms.date: 09/13/2021
5+
ms.date: 09/30/2021
66
---
77

88
# File functions for Bicep
@@ -13,7 +13,9 @@ This article describes the Bicep functions for loading content from external fil
1313

1414
`loadFileAsBase64(filePath)`
1515

16-
Loads the file as a base64 string.
16+
Loads the file as a base64 string.
17+
18+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
1719

1820
### Parameters
1921

@@ -39,6 +41,8 @@ The file as a base64 string.
3941

4042
Loads the content of the specified file as a string.
4143

44+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
45+
4246
### Parameters
4347

4448
| Parameter | Required | Type | Description |

articles/azure-resource-manager/bicep/bicep-functions-logical.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes the functions to use in a Bicep file to determine logical
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 09/10/2021
7+
ms.date: 09/30/2021
88
---
99

1010
# Logical functions for Bicep
@@ -19,6 +19,8 @@ Most of the logical functions in Azure Resource Manager templates are replaced w
1919

2020
Converts the parameter to a boolean.
2121

22+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
23+
2224
### Parameters
2325

2426
| Parameter | Required | Type | Description |

articles/azure-resource-manager/bicep/bicep-functions-numeric.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes the functions to use in a Bicep file to work with numbers
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 09/10/2021
7+
ms.date: 09/30/2021
88
---
99

1010
# Numeric functions for Bicep
@@ -19,6 +19,8 @@ Some of the Azure Resource Manager JSON numeric functions are replaced with [Bic
1919

2020
Converts the specified value to an integer.
2121

22+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
23+
2224
### Parameters
2325

2426
| Parameter | Required | Type | Description |
@@ -51,6 +53,8 @@ The output from the preceding example with the default values is:
5153

5254
Returns the maximum value from an array of integers or a comma-separated list of integers.
5355

56+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
57+
5458
### Parameters
5559

5660
| Parameter | Required | Type | Description |
@@ -91,6 +95,8 @@ The output from the preceding example with the default values is:
9195

9296
Returns the minimum value from an array of integers or a comma-separated list of integers.
9397

98+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
99+
94100
### Parameters
95101

96102
| Parameter | Required | Type | Description |

articles/azure-resource-manager/bicep/bicep-functions-object.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes the functions to use in a Bicep file for working with obj
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 09/10/2021
7+
ms.date: 09/30/2021
88
---
99

1010
# Object functions for Bicep
@@ -17,6 +17,8 @@ This article describes the Bicep functions for working with objects.
1717

1818
Checks whether an array contains a value, an object contains a key, or a string contains a substring. The string comparison is case-sensitive. However, when testing if an object contains a key, the comparison is case-insensitive.
1919

20+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
21+
2022
### Parameters
2123

2224
| Parameter | Required | Type | Description |
@@ -70,6 +72,8 @@ The output from the preceding example with the default values is:
7072

7173
Determines if an array, object, or string is empty.
7274

75+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
76+
7377
### Parameters
7478

7579
| Parameter | Required | Type | Description |
@@ -108,6 +112,8 @@ The output from the preceding example with the default values is:
108112

109113
Returns a single array or object with the common elements from the parameters.
110114

115+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
116+
111117
### Parameters
112118

113119
| Parameter | Required | Type | Description |
@@ -164,6 +170,8 @@ The output from the preceding example with the default values is:
164170

165171
Converts a valid JSON string into a JSON data type.
166172

173+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
174+
167175
### Parameters
168176

169177
| Parameter | Required | Type | Description |
@@ -218,6 +226,8 @@ The output from the preceding example with the default values is:
218226

219227
Returns the number of elements in an array, characters in a string, or root-level properties in an object.
220228

229+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
230+
221231
### Parameters
222232

223233
| Parameter | Required | Type | Description |
@@ -268,6 +278,8 @@ The output from the preceding example with the default values is:
268278

269279
Returns a single array or object with all elements from the parameters. Duplicate values or keys are only included once.
270280

281+
Namespace: [sys](bicep-functions.md#namespaces-for-functions).
282+
271283
### Parameters
272284

273285
| Parameter | Required | Type | Description |

0 commit comments

Comments
 (0)