NodeImageVersion Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservicefleet.models.NodeImageVersion

Implements

public final class NodeImageVersion
implements JsonSerializable<NodeImageVersion>

The node upgrade image version.

Constructor Summary

Constructor Description
NodeImageVersion()

Creates an instance of NodeImageVersion class.

Method Summary

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

Reads an instance of NodeImageVersion from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13').

Methods inherited from java.lang.Object

Constructor Details

NodeImageVersion

public NodeImageVersion()

Creates an instance of NodeImageVersion class.

Method Details

fromJson

public static NodeImageVersion fromJson(JsonReader jsonReader)

Reads an instance of NodeImageVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The image version to upgrade the nodes to (e.g., 'AKSUbuntu-1804gen2containerd-2022.12.13').

Returns:

the version value.

Applies to