public class AgentPoolUpgradeProfileInner extends Object
| Constructor and Description |
|---|
AgentPoolUpgradeProfileInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: Id of the agent pool upgrade profile.
|
String |
kubernetesVersion()
Get the kubernetesVersion property: Kubernetes version (major, minor, patch).
|
String |
latestNodeImageVersion()
Get the latestNodeImageVersion property: LatestNodeImageVersion is the latest AKS supported node image version.
|
String |
name()
Get the name property: Name of the agent pool upgrade profile.
|
OSType |
osType()
Get the osType property: OsType to be used to specify os type.
|
String |
type()
Get the type property: Type of the agent pool upgrade profile.
|
List<AgentPoolUpgradeProfilePropertiesUpgradesItem> |
upgrades()
Get the upgrades property: List of orchestrator types and versions available for upgrade.
|
void |
validate()
Validates the instance.
|
AgentPoolUpgradeProfileInner |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: Kubernetes version (major, minor, patch).
|
AgentPoolUpgradeProfileInner |
withLatestNodeImageVersion(String latestNodeImageVersion)
Set the latestNodeImageVersion property: LatestNodeImageVersion is the latest AKS supported node image version.
|
AgentPoolUpgradeProfileInner |
withOsType(OSType osType)
Set the osType property: OsType to be used to specify os type.
|
AgentPoolUpgradeProfileInner |
withUpgrades(List<AgentPoolUpgradeProfilePropertiesUpgradesItem> upgrades)
Set the upgrades property: List of orchestrator types and versions available for upgrade.
|
public String id()
public String name()
public String type()
public String kubernetesVersion()
public AgentPoolUpgradeProfileInner withKubernetesVersion(String kubernetesVersion)
kubernetesVersion - the kubernetesVersion value to set.public OSType osType()
public AgentPoolUpgradeProfileInner withOsType(OSType osType)
osType - the osType value to set.public List<AgentPoolUpgradeProfilePropertiesUpgradesItem> upgrades()
public AgentPoolUpgradeProfileInner withUpgrades(List<AgentPoolUpgradeProfilePropertiesUpgradesItem> upgrades)
upgrades - the upgrades value to set.public String latestNodeImageVersion()
public AgentPoolUpgradeProfileInner withLatestNodeImageVersion(String latestNodeImageVersion)
latestNodeImageVersion - the latestNodeImageVersion value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.