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>
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
FieldsModifier and TypeFieldDescriptionstatic final UpgradeChannelAutomatically upgrade the node image to the latest version available.static final UpgradeChannelDisables auto-upgrades and keeps the cluster at its current version of Kubernetes.static final UpgradeChannelAutomatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same.static final UpgradeChannelAutomatically upgrade the cluster to the latest supported patch release on the latest supported minor version.static final UpgradeChannelAutomatically 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradeChannelfromString(String name) Creates or finds a UpgradeChannel from its string representation.static Collection<UpgradeChannel> values()Gets known UpgradeChannel values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
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
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
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
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
Disables auto-upgrades and keeps the cluster at its current version of Kubernetes.
-
-
Constructor Details
-
UpgradeChannel
Deprecated.Use thefromString(String)factory method.Creates a new instance of UpgradeChannel value.
-
-
Method Details
-
fromString
Creates or finds a UpgradeChannel from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding UpgradeChannel.
-
values
Gets known UpgradeChannel values.- Returns:
- known UpgradeChannel values.
-
fromString(String)factory method.