Share via


ManagedClusterPoolUpgradeProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterPoolUpgradeProfile

Implements

public final class ManagedClusterPoolUpgradeProfile
implements JsonSerializable<ManagedClusterPoolUpgradeProfile>

The list of available upgrade versions.

Method Summary

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

Reads an instance of ManagedClusterPoolUpgradeProfile from the JsonReader.

String kubernetesVersion()

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

String name()

Get the name property: The Agent Pool name.

OSType osType()

Get the osType property: The operating system type.

JsonWriter toJson(JsonWriter jsonWriter)
List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades()

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

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ManagedClusterPoolUpgradeProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterPoolUpgradeProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterPoolUpgradeProfile 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.

kubernetesVersion

public String kubernetesVersion()

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

Returns:

the kubernetesVersion value.

name

public String name()

Get the name property: The Agent Pool 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upgrades

public List<ManagedClusterPoolUpgradeProfileUpgradesItem> 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