ManagedClusterAutoUpgradeProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterAutoUpgradeProfile

public final class ManagedClusterAutoUpgradeProfile

Auto upgrade profile for a managed cluster.

Constructor Summary

Constructor Description
ManagedClusterAutoUpgradeProfile()

Creates an instance of ManagedClusterAutoUpgradeProfile class.

Method Summary

Modifier and Type Method and Description
NodeOSUpgradeChannel nodeOSUpgradeChannel()

Get the nodeOSUpgradeChannel property: Node OS Upgrade Channel Manner in which the OS on your nodes is updated.

UpgradeChannel upgradeChannel()

Get the upgradeChannel property: The upgrade channel for auto upgrade.

void validate()

Validates the instance.

ManagedClusterAutoUpgradeProfile withNodeOSUpgradeChannel(NodeOSUpgradeChannel nodeOSUpgradeChannel)

Set the nodeOSUpgradeChannel property: Node OS Upgrade Channel Manner in which the OS on your nodes is updated.

ManagedClusterAutoUpgradeProfile withUpgradeChannel(UpgradeChannel upgradeChannel)

Set the upgradeChannel property: The upgrade channel for auto upgrade.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterAutoUpgradeProfile

public ManagedClusterAutoUpgradeProfile()

Creates an instance of ManagedClusterAutoUpgradeProfile class.

Method Details

nodeOSUpgradeChannel

public NodeOSUpgradeChannel nodeOSUpgradeChannel()

Get the nodeOSUpgradeChannel property: Node OS Upgrade Channel Manner in which the OS on your nodes is updated. The default is NodeImage.

Returns:

the nodeOSUpgradeChannel value.

upgradeChannel

public UpgradeChannel upgradeChannel()

Get the upgradeChannel property: 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).

Returns:

the upgradeChannel value.

validate

public void validate()

Validates the instance.

withNodeOSUpgradeChannel

public ManagedClusterAutoUpgradeProfile withNodeOSUpgradeChannel(NodeOSUpgradeChannel nodeOSUpgradeChannel)

Set the nodeOSUpgradeChannel property: Node OS Upgrade Channel Manner in which the OS on your nodes is updated. The default is NodeImage.

Parameters:

nodeOSUpgradeChannel - the nodeOSUpgradeChannel value to set.

Returns:

the ManagedClusterAutoUpgradeProfile object itself.

withUpgradeChannel

public ManagedClusterAutoUpgradeProfile withUpgradeChannel(UpgradeChannel upgradeChannel)

Set the upgradeChannel property: 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).

Parameters:

upgradeChannel - the upgradeChannel value to set.

Returns:

the ManagedClusterAutoUpgradeProfile object itself.

Applies to