Share via


KubernetesPatchVersion Class

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

Implements

public final class KubernetesPatchVersion
implements JsonSerializable<KubernetesPatchVersion>

Kubernetes patch version profile.

Method Summary

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

Reads an instance of KubernetesPatchVersion from the JsonReader.

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

Get the upgrades property: Possible upgrade path for given patch version.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static KubernetesPatchVersion fromJson(JsonReader jsonReader)

Reads an instance of KubernetesPatchVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the KubernetesPatchVersion.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upgrades

public List<String> upgrades()

Get the upgrades property: Possible upgrade path for given patch version.

Returns:

the upgrades value.

validate

public void validate()

Validates the instance.

Applies to