Class ManagedClusterAutoUpgradeProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterAutoUpgradeProfile
-
public final class ManagedClusterAutoUpgradeProfile extends Object
Auto upgrade profile for a managed cluster.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterAutoUpgradeProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpgradeChannelupgradeChannel()Get the upgradeChannel property: The upgrade channel for auto upgrade.voidvalidate()Validates the instance.ManagedClusterAutoUpgradeProfilewithUpgradeChannel(UpgradeChannel upgradeChannel)Set the upgradeChannel property: The upgrade channel for auto upgrade.
-
-
-
Method Detail
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-