AgentPoolRecentlyUsedVersion Class

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

Implements

public final class AgentPoolRecentlyUsedVersion
implements JsonSerializable<AgentPoolRecentlyUsedVersion>

A historical version that can be used for rollback operations.

Method Summary

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

Reads an instance of AgentPoolRecentlyUsedVersion from the JsonReader.

String nodeImageVersion()

Get the nodeImageVersion property: The node image version available for rollback.

String orchestratorVersion()

Get the orchestratorVersion property: The Kubernetes version (major.minor.patch) available for rollback.

OffsetDateTime timestamp()

Get the timestamp property: The timestamp when this version was last used.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static AgentPoolRecentlyUsedVersion fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolRecentlyUsedVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nodeImageVersion

public String nodeImageVersion()

Get the nodeImageVersion property: The node image version available for rollback.

Returns:

the nodeImageVersion value.

orchestratorVersion

public String orchestratorVersion()

Get the orchestratorVersion property: The Kubernetes version (major.minor.patch) available for rollback.

Returns:

the orchestratorVersion value.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: The timestamp when this version was last used.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to