Skip to content

Commit 0e5ba92

Browse files
Merge pull request #301520 from mumian/0618-templates-deployer
Update template function deployer() with the new outputs
2 parents 0586cf0 + 23327f7 commit 0e5ba92

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

articles/azure-resource-manager/bicep/toc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ items:
331331
displayName: dateTimeAdd,dateTimeFromEpoch,dateTimeToEpoch,utcNow
332332
href: bicep-functions-date.md
333333
- name: Deployment functions
334-
displayName: deployment,environment
334+
displayName: deployer,deployment,environment
335335
href: bicep-functions-deployment.md
336336
- name: File functions
337337
displayName: loadFileAsBase64,loadJsonContent,loadYamlContent,loadTextContent
@@ -340,7 +340,7 @@ items:
340340
displayName: fail
341341
href: bicep-functions-flow-control.md
342342
- name: Lambda functions
343-
displayName: filter,map,reduce,sort,toObject
343+
displayName: filter,groupBy,map,mapValue,reduce,sort,toObject
344344
href: bicep-functions-lambda.md
345345
- name: Logical functions
346346
displayName: bool
@@ -349,13 +349,13 @@ items:
349349
displayName: int,max,min
350350
href: bicep-functions-numeric.md
351351
- name: Object functions
352-
displayName: contains,empty,intersection,items,json,length,union
352+
displayName: contains,empty,intersection,items,json,length,objectKeys,shallowMerge,union
353353
href: bicep-functions-object.md
354354
- name: Parameters file functions
355355
displayName: getSecret,readEnvironmentVariable
356356
href: bicep-functions-parameters-file.md
357357
- name: Resource functions
358-
displayName: extensionResourceId,getSecret,list,pickZones,providers,reference,resourceId,subscriptionResourceId,managementGroupResourceId,tenantResourceId
358+
displayName: extensionResourceId,getSecret,listAccountSas,ListKeys,listSecrets,list,managementGroupResourceId,pickZones,providers,reference,resourceId,subscriptionResourceId,tenantResourceId,toLogicalZone,toPhysicalZone
359359
href: bicep-functions-resource.md
360360
- name: Scope functions
361361
displayName: managementGroup,resourceGroup,subscription,tenant

articles/azure-resource-manager/templates/template-functions-deployment.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Template functions - deployment
33
description: Describes the functions to use in an Azure Resource Manager template (ARM template) to retrieve deployment information.
44
ms.topic: reference
55
ms.custom: devx-track-arm-template
6-
ms.date: 02/12/2025
6+
ms.date: 06/18/2025
77
---
88

99
# Deployment functions for ARM templates
@@ -31,12 +31,13 @@ In Bicep, use the [deployer](../bicep/bicep-functions-deployment.md#deployer) fu
3131

3232
### Return value
3333

34-
This function returns the information about the current deployment principal, including tenant ID and object ID.
34+
This function returns the information about the current deployment principal, including tenant ID, object ID, and user principal name.
3535

3636
```json
3737
{
3838
"objectId": "",
39-
"tenantId": ""
39+
"tenantId": "",
40+
"userPrincipalName": ""
4041
}
4142
```
4243

@@ -63,7 +64,8 @@ The preceding example returns the following object:
6364
```json
6465
{
6566
"objectId":"aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
66-
"tenantId":"aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e"
67+
"tenantId":"aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e",
68+
"userPrincipalName":"[email protected]"
6769
}
6870
```
6971

articles/azure-resource-manager/templates/template-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ Resource Manager provides several functions for working with objects.
222222
* [items](template-functions-object.md#items)
223223
* [json](template-functions-object.md#json)
224224
* [length](template-functions-object.md#length)
225-
* [objectKeys](template-functions-object.md#objectkeys)
226225
* [null](template-functions-object.md#null)
226+
* [objectKeys](template-functions-object.md#objectkeys)
227227
* [shallowMerge](template-functions-object.md#shallowmerge)
228228
* [union](template-functions-object.md#union)
229229

articles/azure-resource-manager/templates/toc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,10 @@ items:
483483
displayName: dateTimeAdd,dateTimeFromEpoch,dateTimeToEpoch,utcNow
484484
href: template-functions-date.md
485485
- name: Deployment functions
486-
displayName: deployment,environment,parameters,variables
486+
displayName: deployer,deployment,environment,parameters,variables
487487
href: template-functions-deployment.md
488488
- name: Lambda functions
489-
displayName: filter,map,reduce,sort,toObject
489+
displayName: filter,groupBy,map,reduce,sort,toObject
490490
href: template-functions-lambda.md
491491
- name: Logical functions
492492
displayName: and,bool,false,if,not,or,true
@@ -495,10 +495,10 @@ items:
495495
displayName: add,copyIndex,div,float,int,max,min,mod,mul,sub
496496
href: template-functions-numeric.md
497497
- name: Object functions
498-
displayName: contains,createObject,empty,intersection,items,json,length,null,union
498+
displayName: contains,createObject,empty,intersection,items,json,length,null,objectKeys,shallowMerge,union
499499
href: template-functions-object.md
500500
- name: Resource functions
501-
displayName: extensionResourceId,list*,pickZones,providers,reference,references,resourceGroup,resourceId,subscription,subscriptionResourceId,managementGroupResourceId,tenantResourceId
501+
displayName: extensionResourceId,listAccountSas,listKeys,listSecrets,list*,pickZones,providers,reference,references,resourceId,subscriptionResourceId,managementGroupResourceId,tenantResourceId
502502
href: template-functions-resource.md
503503
- name: Scope functions
504504
displayName: managementGroup,resourceGroup,subscription,tenant

0 commit comments

Comments
 (0)