Resource 'aksManagedAutoUpgradeSchedule' was disallowed by policy. What is the resource type?

Galati, Domenic-GALATD4 0 Reputation points
2024-11-06T20:36:30.1866667+00:00

I need to whitelist a resource type in Azure to enable AutoUpgrade scheduler. Otherwise policy disallows. But I don't know which resource type to whitelist.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
926 questions
{count} votes

Accepted answer
  1. Pavan Minukuri 520 Reputation points Microsoft Vendor
    2024-11-07T21:30:07.3066667+00:00

    Thanks for replying Galati, Domenic-GALATD4

    The resource types that you need to whitelist in Azure Policy depend on the specific features and settings that you want to enable for your AKS managed cluster.

    The resource type 'Microsoft.ContainerService/managedClusters/autoUpgradeProfiles' is used to configure the auto-upgrade settings for an AKS managed cluster. This resource type is required if you want to enable the AKS managed cluster auto-upgrade feature.

    The resource types 'Microsoft.ContainerService/managedClusters/maintenanceConfigurations/aksManagedAutoUpgradeSchedule' and 'Microsoft.ContainerService/managedClusters/maintenanceConfigurations/aksManagedNodeOSUpgradeSchedule' are used to configure the maintenance window and upgrade settings for an AKS managed cluster. These resource types are required if you want to enable the AKS managed cluster maintenance feature.

    If you want to enable both the auto-upgrade and maintenance features for your AKS managed cluster, you need to whitelist all three resource types. If you only want to enable the auto-upgrade feature, you only need to whitelist the 'Microsoft.ContainerService/managedClusters/autoUpgradeProfiles' resource type.

    Finally, the resource types that you need to whitelist in Azure Policy depend on the specific features and settings that you want to enable for your AKS managed cluster. You can whitelist all three resource types if you want to enable both the auto-upgrade and maintenance features, or you can whitelist only the 'Microsoft.ContainerService/managedClusters/autoUpgradeProfiles' resource type if you only want to enable the auto-upgrade feature.

    If you required anything, please let me.

    Thank you!


1 additional answer

Sort by: Most helpful
  1. Galati, Domenic-GALATD4 0 Reputation points
    2024-11-20T21:46:40.66+00:00

    thank you Pavan for your in depth responses!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.