ClusterAvailableUpgradeVersion Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.ClusterAvailableUpgradeVersion

Implements

public final class ClusterAvailableUpgradeVersion
implements JsonSerializable<ClusterAvailableUpgradeVersion>

ClusterAvailableUpgradeVersion represents the various cluster upgrade parameters.

Constructor Summary

Constructor Description
ClusterAvailableUpgradeVersion()

Creates an instance of ClusterAvailableUpgradeVersion class.

Method Summary

Modifier and Type Method and Description
ControlImpact controlImpact()

Get the controlImpact property: The indicator of whether the control plane will be impacted during the upgrade.

String expectedDuration()

Get the expectedDuration property: The expected duration needed for this upgrade.

static ClusterAvailableUpgradeVersion fromJson(JsonReader jsonReader)

Reads an instance of ClusterAvailableUpgradeVersion from the JsonReader.

String impactDescription()

Get the impactDescription property: The impact description including the specific details and release notes.

String supportExpiryDate()

Get the supportExpiryDate property: The last date the version of the platform is supported.

String targetClusterVersion()

Get the targetClusterVersion property: The target version this cluster will be upgraded to.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WorkloadImpact workloadImpact()

Get the workloadImpact property: The indicator of whether the workload will be impacted during the upgrade.

Methods inherited from java.lang.Object

Constructor Details

ClusterAvailableUpgradeVersion

public ClusterAvailableUpgradeVersion()

Creates an instance of ClusterAvailableUpgradeVersion class.

Method Details

controlImpact

public ControlImpact controlImpact()

Get the controlImpact property: The indicator of whether the control plane will be impacted during the upgrade.

Returns:

the controlImpact value.

expectedDuration

public String expectedDuration()

Get the expectedDuration property: The expected duration needed for this upgrade.

Returns:

the expectedDuration value.

fromJson

public static ClusterAvailableUpgradeVersion fromJson(JsonReader jsonReader)

Reads an instance of ClusterAvailableUpgradeVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

impactDescription

public String impactDescription()

Get the impactDescription property: The impact description including the specific details and release notes.

Returns:

the impactDescription value.

supportExpiryDate

public String supportExpiryDate()

Get the supportExpiryDate property: The last date the version of the platform is supported.

Returns:

the supportExpiryDate value.

targetClusterVersion

public String targetClusterVersion()

Get the targetClusterVersion property: The target version this cluster will be upgraded to.

Returns:

the targetClusterVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

workloadImpact

public WorkloadImpact workloadImpact()

Get the workloadImpact property: The indicator of whether the workload will be impacted during the upgrade.

Returns:

the workloadImpact value.

Applies to