Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Mutation is used in Azure Policy for Kubernetes to remediate Azure Kubernetes Service (AKS) cluster components, like pods. This effect is specific to Microsoft.Kubernetes.Datapolicy mode definitions only.
To learn more, go to Understand Azure Policy for Kubernetes clusters.
Mutate properties
-
mutationInfo
(optional)- Can't be used with
constraint
,constraintTemplate
,apiGroups
, orkinds
. - Can't be parameterized.
-
sourceType
(required)- Defines the type of source for the constraint. Allowed values:
PublicURL
orBase64Encoded
. - If
PublicURL
, paired with propertyurl
to provide location of the mutation template. The location must be publicly accessible.Warning
Don't use SAS URIs or tokens in
url
or anything else that could expose a secret.
- Defines the type of source for the constraint. Allowed values:
- Can't be used with
Next steps
- Review examples at Azure Policy samples.
- Review the Azure Policy definition structure.
- Understand how to programmatically create policies.
- Learn how to get compliance data.
- Learn how to remediate non-compliant resources.
- Review Azure management groups.