Share via


AgentPoolUpgradeProfileInner Class

public final class AgentPoolUpgradeProfileInner
extends ProxyResource

The list of available upgrades for an agent pool.

Method Summary

Modifier and Type Method and Description
static AgentPoolUpgradeProfileInner fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolUpgradeProfileInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String kubernetesVersion()

Get the kubernetesVersion property: The Kubernetes version (major.minor.patch).

String latestNodeImageVersion()

Get the latestNodeImageVersion property: The latest AKS supported node image version.

String name()

Get the name property: The name of the resource.

OSType osType()

Get the osType property: The operating system type.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

List<AgentPoolUpgradeProfilePropertiesUpgradesItem> upgrades()

Get the upgrades property: List of orchestrator types and versions available for upgrade.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

fromJson

public static AgentPoolUpgradeProfileInner fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolUpgradeProfileInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentPoolUpgradeProfileInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AgentPoolUpgradeProfileInner.id()

Returns:

the id value.

kubernetesVersion

public String kubernetesVersion()

Get the kubernetesVersion property: The Kubernetes version (major.minor.patch).

Returns:

the kubernetesVersion value.

latestNodeImageVersion

public String latestNodeImageVersion()

Get the latestNodeImageVersion property: The latest AKS supported node image version.

Returns:

the latestNodeImageVersion value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AgentPoolUpgradeProfileInner.name()

Returns:

the name value.

osType

public OSType osType()

Get the osType property: The operating system type. The default is Linux.

Returns:

the osType value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AgentPoolUpgradeProfileInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AgentPoolUpgradeProfileInner.type()

Returns:

the type value.

upgrades

public List<AgentPoolUpgradeProfilePropertiesUpgradesItem> upgrades()

Get the upgrades property: List of orchestrator types and versions available for upgrade.

Returns:

the upgrades value.

validate

public void validate()

Validates the instance.

Applies to