Udostępnij za pośrednictwem


ArmHDInsightModelFactory.HDInsightVersionSpec Method

Definition

Initializes a new instance of HDInsightVersionSpec.

public static Azure.ResourceManager.HDInsight.Models.HDInsightVersionSpec HDInsightVersionSpec (string friendlyName = default, string displayName = default, bool? isDefault = default, System.Collections.Generic.IReadOnlyDictionary<string,string> componentVersions = default);
static member HDInsightVersionSpec : string * string * Nullable<bool> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.HDInsight.Models.HDInsightVersionSpec
Public Shared Function HDInsightVersionSpec (Optional friendlyName As String = Nothing, Optional displayName As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional componentVersions As IReadOnlyDictionary(Of String, String) = Nothing) As HDInsightVersionSpec

Parameters

friendlyName
String

The friendly name.

displayName
String

The display name.

isDefault
Nullable<Boolean>

Whether or not the version is the default version.

componentVersions
IReadOnlyDictionary<String,String>

The component version property.

Returns

A new HDInsightVersionSpec instance for mocking.

Applies to