Skip to content

Commit 1a495df

Browse files
authored
Merge pull request #202988 from tfitzmac/0627environ
add commands for environments
2 parents edc1356 + 7a79fce commit 1a495df

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

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/30/2021
7+
ms.date: 06/27/2022
88
---
99

1010
# Deployment functions for Bicep
@@ -110,6 +110,10 @@ Returns information about the Azure environment used for deployment.
110110

111111
Namespace: [az](bicep-functions.md#namespaces-for-functions).
112112

113+
### Remarks
114+
115+
To see a list of registered environments for your account, use [az cloud list](/cli/azure/cloud#az-cloud-list) or [Get-AzEnvironment](/powershell/module/az.accounts/get-azenvironment).
116+
113117
### Return value
114118

115119
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/templates/template-functions-deployment.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
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: conceptual
5-
ms.date: 03/10/2022
5+
ms.date: 06/27/2022
66
---
77

88
# Deployment functions for ARM templates
@@ -183,6 +183,10 @@ Returns information about the Azure environment used for deployment.
183183

184184
In Bicep, use the [environment](../bicep/bicep-functions-deployment.md#environment) function.
185185

186+
### Remarks
187+
188+
To see a list of registered environments for your account, use [az cloud list](/cli/azure/cloud#az-cloud-list) or [Get-AzEnvironment](/powershell/module/az.accounts/get-azenvironment).
189+
186190
### Return value
187191

188192
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.

0 commit comments

Comments
 (0)