UpgradeChannel Class

public final class UpgradeChannel
extends 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

Modifier and Type Field and Description
static final UpgradeChannel NODE_IMAGE

Static value node-image for UpgradeChannel.

static final UpgradeChannel NONE

Static value none for UpgradeChannel.

static final UpgradeChannel PATCH

Static value patch for UpgradeChannel.

static final UpgradeChannel RAPID

Static value rapid for UpgradeChannel.

static final UpgradeChannel STABLE

Static value stable for UpgradeChannel.

Constructor Summary

Constructor Description
UpgradeChannel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpgradeChannel value.

Method Summary

Modifier and Type Method and Description
static UpgradeChannel fromString(String name)

Creates or finds a UpgradeChannel from its string representation.

static Collection<UpgradeChannel> values()

Gets known UpgradeChannel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NODE_IMAGE

public static final UpgradeChannel NODE_IMAGE

Static value node-image for UpgradeChannel.

NONE

public static final UpgradeChannel NONE

Static value none for UpgradeChannel.

PATCH

public static final UpgradeChannel PATCH

Static value patch for UpgradeChannel.

RAPID

public static final UpgradeChannel RAPID

Static value rapid for UpgradeChannel.

STABLE

public static final UpgradeChannel STABLE

Static value stable for UpgradeChannel.

Constructor Details

UpgradeChannel

@Deprecated
public UpgradeChannel()

Deprecated

Use the fromString(String name) 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 values()

Gets known UpgradeChannel values.

Returns:

known UpgradeChannel values.

Applies to