NodeImageVersionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.fluent.models.NodeImageVersionInner

Implements

public final class NodeImageVersionInner
implements JsonSerializable<NodeImageVersionInner>

node image version profile for given major.minor.patch release.

Method Summary

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

Reads an instance of NodeImageVersionInner from the JsonReader.

String fullName()

Get the fullName property: The OS + SKU + version of the node image.

String os()

Get the os property: The operating system of the node image.

String sku()

Get the sku property: The SKU or flavor of the node image.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: major.minor.patch version of the node image version release.

Methods inherited from java.lang.Object

Method Details

fromJson

public static NodeImageVersionInner fromJson(JsonReader jsonReader)

Reads an instance of NodeImageVersionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

fullName

public String fullName()

Get the fullName property: The OS + SKU + version of the node image. Example: AKSUbuntu-1804gen2containerd-2024.02.02.

Returns:

the fullName value.

os

public String os()

Get the os property: The operating system of the node image. Example: AKSUbuntu.

Returns:

the os value.

sku

public String sku()

Get the sku property: The SKU or flavor of the node image. Example: 2004gen2containerd.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: major.minor.patch version of the node image version release. Example: 2024.02.02.

Returns:

the version value.

Applies to