public final class ManagedClusterPoolUpgradeProfile extends Object
| Constructor and Description |
|---|
ManagedClusterPoolUpgradeProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
kubernetesVersion()
Get the kubernetesVersion property: Kubernetes version (major, minor, patch).
|
String |
name()
Get the name property: Pool name.
|
OSType |
osType()
Get the osType property: OsType to be used to specify os type.
|
List<ManagedClusterPoolUpgradeProfileUpgradesItem> |
upgrades()
Get the upgrades property: List of orchestrator types and versions available for upgrade.
|
void |
validate()
Validates the instance.
|
ManagedClusterPoolUpgradeProfile |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: Kubernetes version (major, minor, patch).
|
ManagedClusterPoolUpgradeProfile |
withName(String name)
Set the name property: Pool name.
|
ManagedClusterPoolUpgradeProfile |
withOsType(OSType osType)
Set the osType property: OsType to be used to specify os type.
|
ManagedClusterPoolUpgradeProfile |
withUpgrades(List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades)
Set the upgrades property: List of orchestrator types and versions available for upgrade.
|
public String kubernetesVersion()
public ManagedClusterPoolUpgradeProfile withKubernetesVersion(String kubernetesVersion)
kubernetesVersion - the kubernetesVersion value to set.public String name()
public ManagedClusterPoolUpgradeProfile withName(String name)
name - the name value to set.public OSType osType()
public ManagedClusterPoolUpgradeProfile withOsType(OSType osType)
osType - the osType value to set.public List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades()
public ManagedClusterPoolUpgradeProfile withUpgrades(List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades)
upgrades - the upgrades value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.