Skip to content

Commit 984335c

Browse files
committed
add what-if permissions
1 parent 29fd402 commit 984335c

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

articles/azure-resource-manager/bicep/deploy-what-if.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bicep deployment what-if
33
description: Determine what changes will happen to your resources before deploying a Bicep file.
44
author: tfitzmac
55
ms.topic: conceptual
6-
ms.date: 09/02/2021
6+
ms.date: 07/11/2022
77
ms.author: tomfitz
88
---
99
# Bicep deployment what-if operation
@@ -12,6 +12,8 @@ Before deploying a Bicep file, you can preview the changes that will happen. Azu
1212

1313
You can use the what-if operation with Azure PowerShell, Azure CLI, or REST API operations. What-if is supported for resource group, subscription, management group, and tenant level deployments.
1414

15+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
16+
1517
### Microsoft Learn
1618

1719
If you would rather learn about the what-if operation through step-by-step guidance, see [Preview Azure deployment changes by using what-if](/learn/modules/arm-template-whatif/) on **Microsoft Learn**.

articles/azure-resource-manager/templates/deploy-what-if.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Template deployment what-if
33
description: Determine what changes will happen to your resources before deploying an Azure Resource Manager template.
44
author: tfitzmac
55
ms.topic: conceptual
6-
ms.date: 03/09/2021
6+
ms.date: 07/11/2022
77
ms.author: tomfitz
8-
ms.custom: devx-track-azurepowershell, devx-track-azurecli
8+
ms.custom: devx-track-azurepowershell, devx-track-azurecli
99
ms.devlang: azurecli
1010
---
1111
# ARM template deployment what-if operation
@@ -14,6 +14,8 @@ Before deploying an Azure Resource Manager template (ARM template), you can prev
1414

1515
You can use the what-if operation with Azure PowerShell, Azure CLI, or REST API operations. What-if is supported for resource group, subscription, management group, and tenant level deployments.
1616

17+
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
18+
1719
### Microsoft Learn
1820

1921
To learn more about what-if, and for hands-on guidance, see [Preview Azure deployment changes by using what-if](/learn/modules/arm-template-whatif) on **Microsoft Learn**.

includes/template-deploy-permissions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
ms.author: daphnemamsft
44
ms.service: bicep, arm-templates
55
ms.topic: include
6-
ms.date: 1/07/2022
6+
ms.date: 7/11/2022
77

88
---
99

10-
## Required permissions
10+
## Required permissions
1111

12-
To deploy a Bicep file or ARM template, you need write access on the resources you're deploying and access to all operations on the Microsoft.Resources/deployments resource type. For example, to deploy a virtual machine, you need `Microsoft.Compute/virtualMachines/write` and `Microsoft.Resources/deployments/*` permissions.
12+
To deploy a Bicep file or ARM template, you need write access on the resources you're deploying and access to all operations on the Microsoft.Resources/deployments resource type. For example, to deploy a virtual machine, you need `Microsoft.Compute/virtualMachines/write` and `Microsoft.Resources/deployments/*` permissions. The what-if operation has the same permission requirements.
1313

1414
For a list of roles and permissions, see [Azure built-in roles](../articles/role-based-access-control/built-in-roles.md).

0 commit comments

Comments
 (0)