Class ManagedClusterUpgradeProfileProperties
java.lang.Object
com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterUpgradeProfileProperties
Control plane and agent pool upgrade profiles.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterUpgradeProfileProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the agentPoolProfiles property: The list of available upgrade versions for agent pools.Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.voidvalidate()Validates the instance.withAgentPoolProfiles(List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles) Set the agentPoolProfiles property: The list of available upgrade versions for agent pools.withControlPlaneProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile) Set the controlPlaneProfile property: The list of available upgrade versions for the control plane.
-
Constructor Details
-
ManagedClusterUpgradeProfileProperties
public ManagedClusterUpgradeProfileProperties()Creates an instance of ManagedClusterUpgradeProfileProperties class.
-
-
Method Details
-
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
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.
-