Dela via


ArmHDInsightContainersModelFactory.ClusterVersionProperties Method

Definition

Initializes a new instance of ClusterVersionProperties.

public static Azure.ResourceManager.HDInsight.Containers.Models.ClusterVersionProperties ClusterVersionProperties (string clusterType = default, string clusterVersion = default, string ossVersion = default, string clusterPoolVersion = default, bool? isPreview = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.ClusterComponentItem> components = default);
static member ClusterVersionProperties : string * string * string * string * Nullable<bool> * seq<Azure.ResourceManager.HDInsight.Containers.Models.ClusterComponentItem> -> Azure.ResourceManager.HDInsight.Containers.Models.ClusterVersionProperties
Public Shared Function ClusterVersionProperties (Optional clusterType As String = Nothing, Optional clusterVersion As String = Nothing, Optional ossVersion As String = Nothing, Optional clusterPoolVersion As String = Nothing, Optional isPreview As Nullable(Of Boolean) = Nothing, Optional components As IEnumerable(Of ClusterComponentItem) = Nothing) As ClusterVersionProperties

Parameters

clusterType
String

The type of cluster.

clusterVersion
String

Version with three part.

ossVersion
String

Version with three part.

clusterPoolVersion
String

The two part cluster pool version. If the cluster version is before cluster pool version on-board, the return value will be empty string.

isPreview
Nullable<Boolean>

Indicate if this version is in preview or not.

components
IEnumerable<ClusterComponentItem>

Component list of this cluster type and version.

Returns

A new ClusterVersionProperties instance for mocking.

Applies to