Skip to content

Commit ce52e0a

Browse files
authored
Merge pull request #303795 from mumian/0804-what-if-details
Restructure what-if
2 parents 8a6ccd2 + e01adb4 commit ce52e0a

File tree

9 files changed

+276
-212
lines changed

9 files changed

+276
-212
lines changed

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

Lines changed: 263 additions & 208 deletions
Large diffs are not rendered by default.
2.7 KB
Loading
13.5 KB
Loading

articles/azure-resource-manager/templates/deploy-cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ If you don't have Azure CLI installed, you can use Azure Cloud Shell. For more i
2424
> [!TIP]
2525
> We recommend [Bicep](../bicep/overview.md) because it offers the same capabilities as ARM templates and the syntax is easier to use. To learn more, see [How to deploy resources with Bicep and Azure CLI](../bicep/deploy-cli.md).
2626
27+
## Prerequisites
2728

2829
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
2930

articles/azure-resource-manager/templates/deploy-cloud-shell.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ You can use [Azure Cloud Shell](../../cloud-shell/overview.md) to deploy an Azur
1212

1313
You can deploy to any scope. This article shows deploying to a resource group.
1414

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

1719
## Deploy remote template

articles/azure-resource-manager/templates/deploy-rest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This article explains how to use the Azure Resource Manager REST API with Azure
1212

1313
You can either include your template in the request body or link to a file. When using a file, it can be a local file or an external file that is available through a URI. When your template is in a storage account, you can restrict access to the template and provide a shared access signature (SAS) token during deployment.
1414

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

1719
## Deployment scope

articles/azure-resource-manager/templates/deploy-to-azure-button.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ The deployment scope is determined by the template schema. For more information,
1717
- [management groups](deploy-to-management-group.md)
1818
- [tenants](deploy-to-tenant.md)
1919

20+
## Prerequisites
21+
2022
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
2123

2224
## Use common image

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ You can use the what-if operation with Azure PowerShell, Azure CLI, or REST API
1717

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

20+
## Prerequisites
21+
2022
[!INCLUDE [permissions](../../../includes/template-deploy-permissions.md)]
2123

2224
## What-if limits
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22

3-
ms.author: daphnemamsft
3+
ms.author: mumian
44
ms.service: bicep, arm-templates
55
ms.topic: include
6-
ms.date: 7/11/2022
6+
ms.date: 08/04/2025
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. The what-if operation has the same permission requirements.
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)