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
description: Describes the functions to use in a Bicep file to retrieve deployment information.
4
4
ms.topic: reference
5
5
ms.custom: devx-track-bicep
6
-
ms.date: 02/12/2025
6
+
ms.date: 05/16/2025
7
7
---
8
8
9
9
# Deployment functions for Bicep
@@ -14,18 +14,26 @@ This article describes the Bicep functions for getting values related to the cur
14
14
15
15
`deployer()`
16
16
17
-
Returns the information about the current deploymentprincipal.
17
+
Returns information about the principal (identity) that initiated the current deployment. The principal can be a user, service principal, or managed identity, depending on how the deployment was started.
For more information about Azure identities, see [What is an Azure Active Directory identity?](/azure/active-directory/fundamentals/active-directory-whatis).
59
+
49
60
## deployment
50
61
51
62
`deployment()`
@@ -141,7 +152,7 @@ The preceding example returns the following object:
141
152
142
153
`environment()`
143
154
144
-
Returns information about the Azure environment used for deployment. The `environment()` function is not aware of resource configurations. It can only return a single default DNS suffix for each resource type.
155
+
Returns information about the Azure environment used for deployment. The `environment()` function isn't aware of resource configurations. It can only return a single default DNS suffix for each resource type.
0 commit comments