Class UpgradeChannel

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UpgradeChannel>
com.azure.resourcemanager.containerservice.models.UpgradeChannel
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class UpgradeChannel extends com.azure.core.util.ExpandableStringEnum<UpgradeChannel>
The upgrade channel for auto upgrade. The default is 'none'. For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final UpgradeChannel
    Automatically upgrade the node image to the latest version available.
    static final UpgradeChannel
    Disables auto-upgrades and keeps the cluster at its current version of Kubernetes.
    static final UpgradeChannel
    Automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same.
    static final UpgradeChannel
    Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version.
    static final UpgradeChannel
    Automatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a UpgradeChannel from its string representation.
    Gets known UpgradeChannel values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • RAPID

      public static final UpgradeChannel RAPID
      Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
    • STABLE

      public static final UpgradeChannel STABLE
      Automatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
    • PATCH

      public static final UpgradeChannel PATCH
      Automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
    • NODE_IMAGE

      public static final UpgradeChannel NODE_IMAGE
      Automatically upgrade the node image to the latest version available. Consider using nodeOSUpgradeChannel instead as that allows you to configure node OS patching separate from Kubernetes version patching.
    • NONE

      public static final UpgradeChannel NONE
      Disables auto-upgrades and keeps the cluster at its current version of Kubernetes.
  • Constructor Details

    • UpgradeChannel

      @Deprecated public UpgradeChannel()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of UpgradeChannel value.
  • Method Details

    • fromString

      public static UpgradeChannel fromString(String name)
      Creates or finds a UpgradeChannel from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UpgradeChannel.
    • values

      public static Collection<UpgradeChannel> values()
      Gets known UpgradeChannel values.
      Returns:
      known UpgradeChannel values.