Class ManagedClusterUpgradeProfileProperties
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterUpgradeProfileProperties
-
public final class ManagedClusterUpgradeProfileProperties extends Object
Control plane and agent pool upgrade profiles.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterUpgradeProfileProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ManagedClusterPoolUpgradeProfile>agentPoolProfiles()Get the agentPoolProfiles property: The list of available upgrade versions for agent pools.ManagedClusterPoolUpgradeProfilecontrolPlaneProfile()Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.voidvalidate()Validates the instance.ManagedClusterUpgradeProfilePropertieswithAgentPoolProfiles(List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles)Set the agentPoolProfiles property: The list of available upgrade versions for agent pools.ManagedClusterUpgradeProfilePropertieswithControlPlaneProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile)Set the controlPlaneProfile property: The list of available upgrade versions for the control plane.
-
-
-
Method Detail
-
controlPlaneProfile
public ManagedClusterPoolUpgradeProfile controlPlaneProfile()
Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.- Returns:
- the controlPlaneProfile value.
-
withControlPlaneProfile
public ManagedClusterUpgradeProfileProperties withControlPlaneProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile)
Set the controlPlaneProfile property: The list of available upgrade versions for the control plane.- Parameters:
controlPlaneProfile- the controlPlaneProfile value to set.- Returns:
- the ManagedClusterUpgradeProfileProperties object itself.
-
agentPoolProfiles
public List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles()
Get the agentPoolProfiles property: The list of available upgrade versions for agent pools.- Returns:
- the agentPoolProfiles value.
-
withAgentPoolProfiles
public ManagedClusterUpgradeProfileProperties withAgentPoolProfiles(List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles)
Set the agentPoolProfiles property: The list of available upgrade versions for agent pools.- Parameters:
agentPoolProfiles- the agentPoolProfiles value to set.- Returns:
- the ManagedClusterUpgradeProfileProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-