Class ManagedClusterUpgradeProfileProperties


  • public final class ManagedClusterUpgradeProfileProperties
    extends Object
    Control plane and agent pool upgrade profiles.
    • Constructor Detail

      • ManagedClusterUpgradeProfileProperties

        public ManagedClusterUpgradeProfileProperties()
    • Method Detail

      • controlPlaneProfile

        public ManagedClusterPoolUpgradeProfile controlPlaneProfile()
        Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.
        Returns:
        the controlPlaneProfile value.
      • withControlPlaneProfile

        public ManagedClusterUpgradeProfileProperties withControlPlaneProfile​(ManagedClusterPoolUpgradeProfile controlPlaneProfile)
        Set the controlPlaneProfile property: The list of available upgrade versions for the control plane.
        Parameters:
        controlPlaneProfile - the controlPlaneProfile value to set.
        Returns:
        the ManagedClusterUpgradeProfileProperties object itself.
      • agentPoolProfiles

        public List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles()
        Get the agentPoolProfiles property: The list of available upgrade versions for agent pools.
        Returns:
        the agentPoolProfiles value.
      • withAgentPoolProfiles

        public ManagedClusterUpgradeProfileProperties withAgentPoolProfiles​(List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles)
        Set the agentPoolProfiles property: The list of available upgrade versions for agent pools.
        Parameters:
        agentPoolProfiles - the agentPoolProfiles value to set.
        Returns:
        the ManagedClusterUpgradeProfileProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.