Skip to content

Commit d896d45

Browse files
authored
Merge pull request #272552 from davidsmatlak/ds-move-policy-includes-20240417
Moves and updates Azure Policy include files
2 parents 98942c6 + 2d7e3fb commit d896d45

File tree

6 files changed

+28
-32
lines changed

6 files changed

+28
-32
lines changed

articles/azure-resource-manager/management/azure-subscription-service-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ For Azure Monitor limits, see [Azure Monitor service limits](../../azure-monitor
229229

230230
## Azure Policy limits
231231

232-
[!INCLUDE [policy-limits](../../../includes/azure-policy-limits.md)]
232+
[!INCLUDE [azure-policy-limits](../../governance/includes/policy/azure-policy-limits.md)]
233233

234234
## Azure Quantum limits
235235

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
ms.topic: include
3+
ms.service: azure-policy
4+
ms.date: 04/17/2024
5+
ms.author: kenieva
6+
author: kenieva
7+
---
8+
9+
This table describes if a resource is protected from deletion given the resource applicable to the assigned `denyAction` policy and the targeted scope of the `DELETE` call. In the context of this table, an indexed resource is one that supports tags and locations and a non-indexed resource is one that doesn't support tags or locations. For more information on indexed and non-indexed resources, go to [definition mode](../../policy/concepts/definition-structure-basics.md#mode). Child resources are resources that exist only within the context of another resource. For example, a virtual machines extension resource is a child of the virtual machine, which is the parent resource.
10+
11+
| Entity being deleted| Entity applicable to policy conditions | Action taken |
12+
|---|---|---|
13+
| Resource | Resource | Protected |
14+
| Subscription | Resource | Deleted |
15+
| Resource group | Indexed resource| Depends on `cascadeBehaviors` |
16+
| Resource group | Non indexed resource| Deleted |
17+
| Child resource | Parent resource | Parent is protected; child is deleted |
18+
| Parent resource | Child resource | Deleted |

includes/azure-policy-limits.md renamed to articles/governance/includes/policy/azure-policy-limits.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
---
2-
title: "include file"
3-
description: "include file"
4-
author: davidsmatlak
2+
ms.topic: include
53
ms.service: azure-policy
6-
ms.topic: "include"
7-
ms.date: 09/30/2020
4+
ms.date: 04/17/2024
85
ms.author: davidsmatlak
6+
author: davidsmatlak
97
---
108

11-
There's a maximum count for each object type for Azure Policy. For definitions, an entry of _Scope_ means the [management group](../articles/governance/management-groups/overview.md) or subscription. For assignments and exemptions, an entry of _Scope_ means the [management group](../articles/governance/management-groups/overview.md), subscription, resource group, or individual resource.
9+
There's a maximum count for each object type for Azure Policy. For definitions, an entry of _Scope_ means the [management group](../../management-groups/overview.md) or subscription. For assignments and exemptions, an entry of _Scope_ means the management group, subscription, resource group, or individual resource.
1210

1311
| Where | What | Maximum count |
1412
|---|---|---|
@@ -25,4 +23,4 @@ There's a maximum count for each object type for Azure Policy. For definitions,
2523
| Remediation task | Resources | 50,000 |
2624
| Policy definition, initiative, or assignment request body | Bytes | 1,048,576 |
2725

28-
Policy rules have additional limits to the number of conditions and their complexity. See [Policy rule limits](../articles/governance/policy/concepts/definition-structure.md#policy-rule-limits) for more details.
26+
Policy rules have more limits to the number of conditions and their complexity. For more information, go to [Policy rule limits](../../policy/concepts/definition-structure-policy-rule.md#policy-rule-limits) for more details.

articles/governance/policy/concepts/effect-deny-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Azure Policy definitions denyAction effect
33
description: Azure Policy definitions denyAction effect determines how compliance is managed and reported.
4-
ms.date: 04/08/2024
4+
ms.date: 04/17/2024
55
ms.topic: conceptual
66
---
77

@@ -27,7 +27,7 @@ Policy evaluates resources that support location and tags against `denyAction` p
2727

2828
Cascade deletion occurs when deleting of a parent resource is implicitly deletes all its child and extension resources. Policy doesn't block removal of child and extension resources when a delete action targets the parent resources. For example, `Microsoft.Insights/diagnosticSettings` is an extension resource of `Microsoft.Storage/storageaccounts`. If a `denyAction` policy targets `Microsoft.Insights/diagnosticSettings`, a delete call to the diagnostic setting (child) fails, but a delete to the storage account (parent) implicitly deletes the diagnostic setting (extension).
2929

30-
[!INCLUDE [policy-denyAction](../../../../includes/azure-policy-deny-action.md)]
30+
[!INCLUDE [azure-policy-deny-action](../../includes/policy/azure-policy-deny-action.md)]
3131

3232
## DenyAction properties
3333

articles/governance/policy/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Overview of Azure Policy
33
description: Azure Policy is a service in Azure, that you use to create, assign and, manage policy definitions in your Azure environment.
4-
ms.date: 06/15/2023
4+
ms.date: 04/17/2024
55
ms.topic: overview
66
---
77

@@ -327,7 +327,7 @@ available. For information on the assignment structure, see
327327

328328
## Maximum count of Azure Policy objects
329329

330-
[!INCLUDE [policy-limits](../../../includes/azure-policy-limits.md)]
330+
[!INCLUDE [policy-limits](../includes/policy/azure-policy-limits.md)]
331331

332332
## Next steps
333333

includes/azure-policy-deny-action.md

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

0 commit comments

Comments
 (0)