Partager via


ClusterUpgrade Class

Definition

Cluster Upgrade.

public class ClusterUpgrade : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HDInsight.Containers.Models.ClusterUpgrade>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HDInsight.Containers.Models.ClusterUpgrade>
type ClusterUpgrade = class
    interface IJsonModel<ClusterUpgrade>
    interface IPersistableModel<ClusterUpgrade>
Public Class ClusterUpgrade
Implements IJsonModel(Of ClusterUpgrade), IPersistableModel(Of ClusterUpgrade)
Inheritance
ClusterUpgrade
Implements

Constructors

ClusterUpgrade(ClusterUpgradeProperties)

Initializes a new instance of ClusterUpgrade.

Properties

Properties

Properties of upgrading cluster. Please note ClusterUpgradeProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ClusterAKSPatchVersionUpgradeProperties, ClusterInPlaceUpgradeProperties, ClusterHotfixUpgradeProperties and ClusterPatchVersionUpgradeProperties.

Explicit Interface Implementations

IJsonModel<ClusterUpgrade>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClusterUpgrade>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterUpgrade>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterUpgrade>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClusterUpgrade>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to