Skip to content

Commit d6a7d63

Browse files
authored
Merge pull request #231049 from cynthn/retire-policy
retiring old policy.md docs and rediring to the governance docs for p…
2 parents de8d284 + 80c708b commit d6a7d63

File tree

5 files changed

+41
-461
lines changed

5 files changed

+41
-461
lines changed

articles/virtual-machines/.openpublishing.redirection.virtual-machines.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4944,6 +4944,16 @@
49444944
"redirect_url": "/azure/virtual-machines/linux/azure-hybrid-benefit-linux/",
49454945
"redirect_document_id": false
49464946
},
4947+
{
4948+
"source_path_from_root": "/articles/virtual-machines/linux/policy.md",
4949+
"redirect_url": "/azure/governance/policy/assign-policy-azurecli",
4950+
"redirect_document_id": false
4951+
},
4952+
{
4953+
"source_path_from_root": "/articles/virtual-machines/windows/policy.md",
4954+
"redirect_url": "/azure/governance/policy/assign-policy-portal",
4955+
"redirect_document_id": false
4956+
},
49474957
{
49484958
"source_path_from_root": "/articles/virtual-machines/workloads/hpc/hb-series-overview.md",
49494959
"redirect_url": "/azure/virtual-machines/hb-series-overview",

articles/virtual-machines/TOC.yml

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,14 +1638,37 @@
16381638
href: security-controls-policy.md
16391639
- name: Policy reference
16401640
href: policy-reference.md
1641-
- name: Use policies
1641+
- name: Assign policies
16421642
items:
1643-
- name: Linux
1644-
displayName: Use policies
1645-
href: ./linux/policy.md
1646-
- name: Windows
1647-
displayName: Use policies
1648-
href: ./windows/policy.md
1643+
- name: Portal
1644+
displayName: assign, compliance
1645+
href: ../governance/policy/assign-policy-portal.md?context=/azure/virtual-machines/context/context
1646+
- name: Azure CLI
1647+
displayName: assign, compliance
1648+
href: ../governance/policy/assign-policy-azurecli.md?context=/azure/virtual-machines/context/context
1649+
- name: Terraform
1650+
displayName: assign, compliance, hcl, policy
1651+
href: ../governance/policy/assign-policy-terraform.md?context=/azure/virtual-machines/context/context
1652+
- name: Azure PowerShell
1653+
displayName: assign, compliance
1654+
href: ../governance/policy/assign-policy-powershell.md?context=/azure/virtual-machines/context/context
1655+
- name: .NET
1656+
displayName: assign, compliance
1657+
href: ../governance/policy/assign-policy-dotnet.md?context=/azure/virtual-machines/context/context
1658+
- name: JavaScript
1659+
displayName: assign, compliance
1660+
href: ../governance/policy/assign-policy-javascript.md?context=/azure/virtual-machines/context/context
1661+
- name: Python
1662+
displayName: assign, compliance
1663+
href: ../governance/policy/assign-policy-python.md?context=/azure/virtual-machines/context/context
1664+
- name: REST
1665+
displayName: policy, governance
1666+
href: ../governance/policy/assign-policy-rest-api.md?context=/azure/virtual-machines/context/context
1667+
- name: ARM template
1668+
displayName: assign, compliance, resource manager
1669+
href: ../governance/policy/assign-policy-template.md?context=/azure/virtual-machines/context/context
1670+
- name: Bicep
1671+
href: ../governance/policy/assign-policy-bicep.md?context=/azure/virtual-machines/context/context
16491672
- name: Bastion
16501673
items:
16511674
- name: Overview

articles/virtual-machines/linux/policy.md

Lines changed: 0 additions & 206 deletions
This file was deleted.

articles/virtual-machines/security-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The managed identities for Azure resources feature in Azure Active Directory (Az
6262

6363
## Policies
6464

65-
[Azure policies](../governance/policy/overview.md) can be used to define the desired behavior for your organization's [Windows VMs](./windows/policy.md) and [Linux VMs](./linux/policy.md). By using policies, an organization can enforce various conventions and rules throughout the enterprise. Enforcement of the desired behavior can help mitigate risk while contributing to the success of the organization.
65+
[Azure policies](../governance/policy/overview.md) can be used to define the desired behavior for your organization's VMs. By using policies, an organization can enforce various conventions and rules throughout the enterprise. Enforcement of the desired behavior can help mitigate risk while contributing to the success of the organization.
6666

6767
## Azure role-based access control
6868

0 commit comments

Comments
 (0)