次の方法で共有


Role コンストラクター

定義

オーバーロード

Role()

Role クラスの新しいインスタンスを初期化します。

Role(String, Nullable<Int32>, Nullable<Int32>, String, Autoscale, HardwareProfile, OsProfile, VirtualNetworkProfile, IList<DataDisksGroups>, IList<ScriptAction>, Nullable<Boolean>)

Role クラスの新しいインスタンスを初期化します。

Role()

Role クラスの新しいインスタンスを初期化します。

public Role ();
Public Sub New ()

適用対象

Role(String, Nullable<Int32>, Nullable<Int32>, String, Autoscale, HardwareProfile, OsProfile, VirtualNetworkProfile, IList<DataDisksGroups>, IList<ScriptAction>, Nullable<Boolean>)

Role クラスの新しいインスタンスを初期化します。

public Role (string name = default, int? minInstanceCount = default, int? targetInstanceCount = default, string vMGroupName = default, Microsoft.Azure.Management.HDInsight.Models.Autoscale autoscaleConfiguration = default, Microsoft.Azure.Management.HDInsight.Models.HardwareProfile hardwareProfile = default, Microsoft.Azure.Management.HDInsight.Models.OsProfile osProfile = default, Microsoft.Azure.Management.HDInsight.Models.VirtualNetworkProfile virtualNetworkProfile = default, System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.DataDisksGroups> dataDisksGroups = default, System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.ScriptAction> scriptActions = default, bool? encryptDataDisks = default);
new Microsoft.Azure.Management.HDInsight.Models.Role : string * Nullable<int> * Nullable<int> * string * Microsoft.Azure.Management.HDInsight.Models.Autoscale * Microsoft.Azure.Management.HDInsight.Models.HardwareProfile * Microsoft.Azure.Management.HDInsight.Models.OsProfile * Microsoft.Azure.Management.HDInsight.Models.VirtualNetworkProfile * System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.DataDisksGroups> * System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.ScriptAction> * Nullable<bool> -> Microsoft.Azure.Management.HDInsight.Models.Role
Public Sub New (Optional name As String = Nothing, Optional minInstanceCount As Nullable(Of Integer) = Nothing, Optional targetInstanceCount As Nullable(Of Integer) = Nothing, Optional vMGroupName As String = Nothing, Optional autoscaleConfiguration As Autoscale = Nothing, Optional hardwareProfile As HardwareProfile = Nothing, Optional osProfile As OsProfile = Nothing, Optional virtualNetworkProfile As VirtualNetworkProfile = Nothing, Optional dataDisksGroups As IList(Of DataDisksGroups) = Nothing, Optional scriptActions As IList(Of ScriptAction) = Nothing, Optional encryptDataDisks As Nullable(Of Boolean) = Nothing)

パラメーター

name
String

ロールの名前。

minInstanceCount
Nullable<Int32>

クラスターの最小インスタンス数。

targetInstanceCount
Nullable<Int32>

クラスターのインスタンス数。

vMGroupName
String

仮想マシン グループの名前。

autoscaleConfiguration
Autoscale

自動スケーリングの構成。

hardwareProfile
HardwareProfile

ハードウェア プロファイル。

osProfile
OsProfile

オペレーティング システム プロファイル。

virtualNetworkProfile
VirtualNetworkProfile

仮想ネットワーク プロファイル。

dataDisksGroups
IList<DataDisksGroups>

ロールのデータ ディスク グループ。

scriptActions
IList<ScriptAction>

ロールに対するスクリプト アクションの一覧。

encryptDataDisks
Nullable<Boolean>

データ ディスクを暗号化するかどうかを示します。

適用対象