AgentPoolUpgradeProfileInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. fluent. models. AgentPoolUpgradeProfileInner
- com.
public final class AgentPoolUpgradeProfileInner
The list of available upgrades for an agent pool.
Constructor Summary
Constructor | Description |
---|---|
AgentPoolUpgradeProfileInner() |
Creates an instance of Agent |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: The ID of the agent pool upgrade profile. |
String |
kubernetesVersion()
Get the kubernetes |
String |
latestNodeImageVersion()
Get the latest |
String |
name()
Get the name property: The name of the agent pool upgrade profile. |
OSType |
osType()
Get the os |
String |
type()
Get the type property: The type of the agent pool upgrade profile. |
List<Agent |
upgrades()
Get the upgrades property: List of orchestrator types and versions available for upgrade. |
void |
validate()
Validates the instance. |
Agent |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetes |
Agent |
withLatestNodeImageVersion(String latestNodeImageVersion)
Set the latest |
Agent |
withOsType(OSType osType)
Set the os |
Agent |
withUpgrades(List<AgentPoolUpgradeProfilePropertiesUpgradesItem> upgrades)
Set the upgrades property: List of orchestrator types and versions available for upgrade. |
Methods inherited from java.lang.Object
Constructor Details
AgentPoolUpgradeProfileInner
public AgentPoolUpgradeProfileInner()
Creates an instance of AgentPoolUpgradeProfileInner class.
Method Details
id
public String id()
Get the id property: The ID of the agent pool upgrade profile.
Returns:
kubernetesVersion
public String kubernetesVersion()
Get the kubernetesVersion property: The Kubernetes version (major.minor.patch).
Returns:
latestNodeImageVersion
public String latestNodeImageVersion()
Get the latestNodeImageVersion property: The latest AKS supported node image version.
Returns:
name
public String name()
Get the name property: The name of the agent pool upgrade profile.
Returns:
osType
public OSType osType()
Get the osType property: OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
Returns:
type
public String type()
Get the type property: The type of the agent pool upgrade profile.
Returns:
upgrades
public List
Get the upgrades property: List of orchestrator types and versions available for upgrade.
Returns:
validate
public void validate()
Validates the instance.
withKubernetesVersion
public AgentPoolUpgradeProfileInner withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: The Kubernetes version (major.minor.patch).
Parameters:
Returns:
withLatestNodeImageVersion
public AgentPoolUpgradeProfileInner withLatestNodeImageVersion(String latestNodeImageVersion)
Set the latestNodeImageVersion property: The latest AKS supported node image version.
Parameters:
Returns:
withOsType
public AgentPoolUpgradeProfileInner withOsType(OSType osType)
Set the osType property: OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
Parameters:
Returns:
withUpgrades
public AgentPoolUpgradeProfileInner withUpgrades(List
Set the upgrades property: 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