public class ManagedClusterPoolUpgradeProfile extends Object
| Constructor and Description |
|---|
ManagedClusterPoolUpgradeProfile() |
| 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.
|
List<ManagedClusterPoolUpgradeProfileUpgradesItem> |
upgrades()
Get list of orchestrator types and versions available for upgrade.
|
ManagedClusterPoolUpgradeProfile |
withKubernetesVersion(String kubernetesVersion)
Set kubernetes version (major, minor, patch).
|
ManagedClusterPoolUpgradeProfile |
withName(String name)
Set pool name.
|
ManagedClusterPoolUpgradeProfile |
withOsType(OSType osType)
Set osType to be used to specify os type.
|
ManagedClusterPoolUpgradeProfile |
withUpgrades(List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades)
Set list of orchestrator types and versions available for upgrade.
|
public String kubernetesVersion()
public ManagedClusterPoolUpgradeProfile withKubernetesVersion(String kubernetesVersion)
kubernetesVersion - the kubernetesVersion value to setpublic String name()
public ManagedClusterPoolUpgradeProfile withName(String name)
name - the name value to setpublic OSType osType()
public ManagedClusterPoolUpgradeProfile withOsType(OSType osType)
osType - the osType value to setpublic List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades()
public ManagedClusterPoolUpgradeProfile withUpgrades(List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades)
upgrades - the upgrades value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/