AgentPoolUpgradeProfileInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. fluent. models. AgentPoolUpgradeProfileInner
- com.
Implements
public final class AgentPoolUpgradeProfileInner
implements JsonSerializable<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 |
---|---|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
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 |
Json |
toJson(JsonWriter jsonWriter) |
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
fromJson
public static AgentPoolUpgradeProfileInner fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolUpgradeProfileInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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