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
Copy file name to clipboardExpand all lines: articles/governance/policy/assign-policy-template.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Quickstart: Create policy assignment using ARM template"
3
3
description: In this quickstart, you create an Azure Policy assignment to identify non-compliant resources using an Azure Resource Manager template (ARM template).
If your environment meets the prerequisites and you're familiar with using ARM templates,
16
+
select the **Deploy to Azure** button. The template opens in the Azure portal.
17
+
18
+
:::image type="content" source="~/articles/reusable-content/ce-skilling/azure/media/template-deployments/deploy-to-azure-button.svg" alt-text="Screenshot of the Deploy to Azure button to assign a policy with an Azure Resource Manager template." link="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.authorization%2Fazurepolicy-builtin-vm-managed-disks%2Fazuredeploy.json":::
19
+
15
20
## Prerequisites
16
21
17
22
- If you don't have an Azure account, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
@@ -37,15 +42,24 @@ Create the following ARM template as _policy-assignment.json_.
37
42
"parameters": {
38
43
"policyAssignmentName": {
39
44
"type": "string",
40
-
"defaultValue": "audit-vm-managed-disks"
45
+
"defaultValue": "audit-vm-managed-disks",
46
+
"metadata": {
47
+
"description": "Policy assignment name used in assignment's resource ID"
0 commit comments