Skip to content

Commit ba01e15

Browse files
authored
Merge pull request #113930 from DCtheGeek/dmc-ph-virtualmachines
Azure Policy samples - Virtual Machines
2 parents 80a3591 + a5df704 commit ba01e15

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

articles/virtual-machines/linux/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
href: cli-samples.md
6868
- name: Azure PowerShell
6969
href: powershell-samples.md
70+
- name: Azure Policy built-ins
71+
displayName: samples, policies, definitions
72+
href: ../policy-samples.md?toc=/azure/virtual-machines/linux/toc.json&bc=/azure/virtual-machines/linux/breadcrumb/toc.json
7073
- name: Concepts
7174
items:
7275
- name: Images
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Built-in policy definitions for Azure Virtual Machines
3+
description: Lists Azure Policy built-in policy definitions for Azure Virtual Machines. These built-in policy definitions provide common approaches to managing your Azure resources.
4+
ms.date: 05/04/2020
5+
ms.topic: sample
6+
author: cynthn
7+
ms.author: cynthn
8+
ms.service: virtual-machines
9+
ms.custom: subject-policy-samples
10+
---
11+
# Azure Policy built-in policy definitions for Azure Virtual Machines
12+
13+
This page is an index of [Azure Policy](../governance/policy/overview.md) built-in policy
14+
definitions for Azure Virtual Machines. For additional Azure Policy built-ins for other services,
15+
see [Azure Policy built-in definitions](../governance/policy/samples/built-in-policies.md).
16+
17+
The name of each built-in policy definition links to the policy definition in the Azure portal. Use
18+
the link in the **GitHub** column to view the source on the
19+
[Azure Policy GitHub repo](https://github.com/Azure/azure-policy).
20+
21+
## Microsoft.Compute
22+
23+
[!INCLUDE [azure-policy-samples-rp-compute](../../includes/policy/samples/byrp/microsoft.compute.md)]
24+
25+
## Microsoft.ClassicCompute
26+
27+
[!INCLUDE [azure-policy-samples-rp-classiccompute](../../includes/policy/samples/byrp/microsoft.classiccompute.md)]
28+
29+
## Next steps
30+
31+
- See the built-ins on the [Azure Policy GitHub repo](https://github.com/Azure/azure-policy).
32+
- Review the [Azure Policy definition structure](../governance/policy/concepts/definition-structure.md).
33+
- Review [Understanding policy effects](../governance/policy/concepts/effects.md).

articles/virtual-machines/windows/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@
138138
items:
139139
- name: Azure Monitor
140140
href: ./../scripts/virtual-machines-windows-cli-sample-create-vm-oms.md
141+
- name: Azure Policy built-ins
142+
displayName: samples, policies, definitions
143+
href: ../policy-samples.md?toc=/azure/virtual-machines/windows/toc.json&bc=/azure/virtual-machines/windows/breadcrumb/toc.json
141144
- name: Concepts
142145
items:
143146
- name: Images

0 commit comments

Comments
 (0)