Class ManagedClusterUpgradeProfileInner


  • public final class ManagedClusterUpgradeProfileInner
    extends Object
    The list of available upgrades for compute pools.
    • Constructor Detail

      • ManagedClusterUpgradeProfileInner

        public ManagedClusterUpgradeProfileInner()
    • Method Detail

      • id

        public String id()
        Get the id property: The ID of the upgrade profile.
        Returns:
        the id value.
      • name

        public String name()
        Get the name property: The name of the upgrade profile.
        Returns:
        the name value.
      • type

        public String type()
        Get the type property: The type of the upgrade profile.
        Returns:
        the type value.
      • controlPlaneProfile

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

        public ManagedClusterUpgradeProfileInner 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 ManagedClusterUpgradeProfileInner 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 ManagedClusterUpgradeProfileInner 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 ManagedClusterUpgradeProfileInner object itself.
      • validate

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