Skip to content

Commit 8bf2036

Browse files
Merge pull request #224416 from shanhix1/shannon-dev
Managed HSM RP mode and applicability logic
2 parents 75aff2d + 0bd39b6 commit 8bf2036

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

articles/governance/policy/concepts/definition-structure.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ see [Tag support for Azure resources](../../../azure-resource-manager/management
136136

137137
The following Resource Provider modes are fully supported:
138138

139-
- `Microsoft.Kubernetes.Data` for managing your Kubernetes clusters on or off Azure, and for Azure Policy components that target [Azure Arc-enabled Kubernetes clusters](../../../aks/intro-kubernetes.md) components such as pods, containers, and ingresses. Definitions
139+
- `Microsoft.Kubernetes.Data` for managing Kubernetes clusters and components such as pods, containers, and ingresses. Supported for Azure Kubernetes Service clusters and [Azure Arc-enabled Kubernetes clusters](../../../aks/intro-kubernetes.md). Definitions
140140
using this Resource Provider mode use effects _audit_, _deny_, and _disabled_.
141141
- `Microsoft.KeyVault.Data` for managing vaults and certificates in
142142
[Azure Key Vault](../../../key-vault/general/overview.md). For more information on these policy
@@ -146,6 +146,7 @@ The following Resource Provider modes are fully supported:
146146
The following Resource Provider modes are currently supported as a **[preview](https://azure.microsoft.com/support/legal/preview-supplemental-terms/)**:
147147

148148
- `Microsoft.Network.Data` for managing [Azure Virtual Network Manager](../../../virtual-network-manager/overview.md) custom membership policies using Azure Policy.
149+
- `Microsoft.ManagedHSM.Data` for managing [Managed HSM](../../../key-vault/managed-hsm/overview.md) keys using Azure Policy.
149150

150151
> [!NOTE]
151152
>Unless explicitly stated, Resource Provider modes only support built-in policy definitions, and exemptions are not supported at the component-level.
@@ -462,8 +463,6 @@ A condition evaluates whether a value meets certain criteria. The supported cond
462463
`"greaterOrEquals": intValue`
463464
- `"exists": "bool"`
464465

465-
When using **equals** or **notEquals** conditions, non-string values are converted into strings for evaluation. For example, `123` would be resolved into `"123"`, and `null` would be resolved into an empty string `""`. It is recommended that all values are entered as type string to begin with.
466-
467466
For **less**, **lessOrEquals**, **greater**, and **greaterOrEquals**, if the property type doesn't
468467
match the condition type, an error is thrown. String comparisons are made using
469468
`InvariantCultureIgnoreCase`.

articles/governance/policy/concepts/policy-applicability.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ Policies with mode `Microsoft.KeyVault.Data` are applicable if the `type` condit
5454
- Microsoft.KeyVault.Data/vaults/keys
5555
- Microsoft.KeyVault.Data/vaults/secrets
5656

57+
### Microsoft.ManagedHSM.Data
58+
59+
Policies with mode `Microsoft.ManagedHSM.Data` are applicable if the `type` condition of the policy rule evaluates to true. The `type` refers to component type:
60+
- Microsoft.ManagedHSM.Data/managedHsms/keys
61+
5762
### Microsoft.Network.Data
5863

5964
Policies with mode `Microsoft.Network.Data` are applicable if the `type` and `name` conditions of the policy rule evaluate to true. The `type` refers to component type:

0 commit comments

Comments
 (0)