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/concepts/policy-applicability.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Applicability is determined by several factors:
14
14
-**Conditions** in the `if` block of the [policy rule](../concepts/definition-structure.md#policy-rule).
15
15
-**Mode** of the policy definition.
16
16
-**Excluded scopes** specified in the assignment.
17
+
-**Resource selectors** specified in the assignment.
17
18
-**Exemptions** of resources or resource hierarchies.
18
19
19
20
Condition(s) in the `if` block of the policy rule are evaluated for applicability in slightly different ways based on the effect.
@@ -34,7 +35,10 @@ Following are special cases to the previously described applicability logic:
34
35
|Any invalid aliases in the `if` conditions |The policy isn't applicable |
35
36
|When the `if` conditions consist of only `kind` conditions |The policy is applicable to all resources |
36
37
|When the `if` conditions consist of only `name` conditions |The policy is applicable to all resources |
37
-
|When the `if` conditions consist of only `type` and `kind` or `type` and `name` conditions |Only type conditions are considered when deciding applicability |
38
+
|When the `if` conditions consist of only `type` and `kind` conditions |Only `type` conditions are considered when deciding applicability |
39
+
|When the `if` conditions consist of only `type` and `name` conditions |Only `type` conditions are considered when deciding applicability |
40
+
|When the `if` conditions consist of `type`, `kind`, and other conditions |Both `type` and `kind` conditions are considered when deciding applicability |
41
+
|When the `if` conditions consist of `type`, `name`, and other conditions |Both `type` and `name` conditions are considered when deciding applicability |
38
42
|When any conditions (including deployment parameters) include a `location` condition |Won't be applicable to subscriptions |
39
43
40
44
### AuditIfNotExists and DeployIfNotExists policy effects
0 commit comments