다음을 통해 공유


ManagedClusterUpgradeSpec Class

Definition

The upgrade to apply to a ManagedCluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.ManagedClusterUpgradeSpecTypeConverter))]
public class ManagedClusterUpgradeSpec : Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IManagedClusterUpgradeSpec
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.ManagedClusterUpgradeSpecTypeConverter))>]
type ManagedClusterUpgradeSpec = class
    interface IManagedClusterUpgradeSpec
    interface IJsonSerializable
Public Class ManagedClusterUpgradeSpec
Implements IManagedClusterUpgradeSpec
Inheritance
ManagedClusterUpgradeSpec
Attributes
Implements

Constructors

ManagedClusterUpgradeSpec()

Creates an new ManagedClusterUpgradeSpec instance.

Properties

KubernetesVersion

The Kubernetes version to upgrade the member clusters to.

Type

The upgrade type. Full requires the KubernetesVersion property to be set. NodeImageOnly requires the KubernetesVersion property not to be set.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedClusterUpgradeSpec.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedClusterUpgradeSpec.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Fleet.Models.IManagedClusterUpgradeSpec.

FromJsonString(String)

Creates a new instance of ManagedClusterUpgradeSpec, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedClusterUpgradeSpec into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to