Share via


ManagedClusterUpgradeProfileInner Class

public final class ManagedClusterUpgradeProfileInner
extends ProxyResource

The list of available upgrades for compute pools.

Method Summary

Modifier and Type Method and Description
List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles()

Get the agentPoolProfiles property: The list of available upgrade versions for agent pools.

ManagedClusterPoolUpgradeProfile controlPlaneProfile()

Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.

static ManagedClusterUpgradeProfileInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterUpgradeProfileInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

agentPoolProfiles

public List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles()

Get the agentPoolProfiles property: The list of available upgrade versions for agent pools.

Returns:

the agentPoolProfiles value.

controlPlaneProfile

public ManagedClusterPoolUpgradeProfile controlPlaneProfile()

Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.

Returns:

the controlPlaneProfile value.

fromJson

public static ManagedClusterUpgradeProfileInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterUpgradeProfileInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedClusterUpgradeProfileInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedClusterUpgradeProfileInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedClusterUpgradeProfileInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedClusterUpgradeProfileInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to