ManagedClusterAutoUpgradeProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterAutoUpgradeProfile
- com.
Implements
public final class ManagedClusterAutoUpgradeProfile
implements JsonSerializable<ManagedClusterAutoUpgradeProfile>
Auto upgrade profile for a managed cluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterAutoUpgradeProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Node |
nodeOSUpgradeChannel()
Get the node |
Json |
toJson(JsonWriter jsonWriter) |
Upgrade |
upgradeChannel()
Get the upgrade |
void |
validate()
Validates the instance. |
Managed |
withNodeOSUpgradeChannel(NodeOSUpgradeChannel nodeOSUpgradeChannel)
Set the node |
Managed |
withUpgradeChannel(UpgradeChannel upgradeChannel)
Set the upgrade |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterAutoUpgradeProfile
public ManagedClusterAutoUpgradeProfile()
Creates an instance of ManagedClusterAutoUpgradeProfile class.
Method Details
fromJson
public static ManagedClusterAutoUpgradeProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterAutoUpgradeProfile from the JsonReader.
Parameters:
Returns:
Throws:
nodeOSUpgradeChannel
public NodeOSUpgradeChannel nodeOSUpgradeChannel()
Get the nodeOSUpgradeChannel property: Manner in which the OS on your nodes is updated. The default is NodeImage.
Returns:
toJson
upgradeChannel
public UpgradeChannel upgradeChannel()
Get the upgradeChannel property: For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster\#set-auto-upgrade-channel).
Returns:
validate
public void validate()
Validates the instance.
withNodeOSUpgradeChannel
public ManagedClusterAutoUpgradeProfile withNodeOSUpgradeChannel(NodeOSUpgradeChannel nodeOSUpgradeChannel)
Set the nodeOSUpgradeChannel property: Manner in which the OS on your nodes is updated. The default is NodeImage.
Parameters:
Returns:
withUpgradeChannel
public ManagedClusterAutoUpgradeProfile withUpgradeChannel(UpgradeChannel upgradeChannel)
Set the upgradeChannel property: For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster\#set-auto-upgrade-channel).
Parameters:
Returns:
Applies to
Azure SDK for Java