ManagedClusterPoolUpgradeProfile Class
- java.
lang. Object - com.
microsoft. azure. management. containerservice. ManagedClusterPoolUpgradeProfile
- com.
public class ManagedClusterPoolUpgradeProfile
The list of available upgrade versions.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
kubernetesVersion()
Get kubernetes version (major, minor, patch). |
String |
name()
Get pool name. |
OSType |
osType()
Get osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. |
List<Managed |
upgrades()
Get list of orchestrator types and versions available for upgrade. |
Managed |
withKubernetesVersion(String kubernetesVersion)
Set kubernetes version (major, minor, patch). |
Managed |
withName(String name)
Set pool name. |
Managed |
withOsType(OSType osType)
Set osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. |
Managed |
withUpgrades(List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades)
Set list of orchestrator types and versions available for upgrade. |
Method Details
kubernetesVersion
public String kubernetesVersion()
Get kubernetes version (major, minor, patch).
Returns:
name
public String name()
Get pool name.
Returns:
osType
public OSType osType()
Get osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.
Returns:
upgrades
public List
Get list of orchestrator types and versions available for upgrade.
Returns:
withKubernetesVersion
public ManagedClusterPoolUpgradeProfile withKubernetesVersion(String kubernetesVersion)
Set kubernetes version (major, minor, patch).
Parameters:
Returns:
withName
public ManagedClusterPoolUpgradeProfile withName(String name)
Set pool name.
Parameters:
Returns:
withOsType
public ManagedClusterPoolUpgradeProfile withOsType(OSType osType)
Set osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.
Parameters:
Returns:
withUpgrades
public ManagedClusterPoolUpgradeProfile withUpgrades(List
Set list of orchestrator types and versions available for upgrade.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for