Udostępnij za pośrednictwem


Role Constructors

Definition

Overloads

Role()

Initializes a new instance of the Role class.

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

Initializes a new instance of the Role class.

Role()

Initializes a new instance of the Role class.

public Role ();
Public Sub New ()

Applies to

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

Initializes a new instance of the Role class.

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)

Parameters

name
String

The name of the role.

minInstanceCount
Nullable<Int32>

The minimum instance count of the cluster.

targetInstanceCount
Nullable<Int32>

The instance count of the cluster.

vMGroupName
String

The name of the virtual machine group.

autoscaleConfiguration
Autoscale

The autoscale configurations.

hardwareProfile
HardwareProfile

The hardware profile.

osProfile
OsProfile

The operating system profile.

virtualNetworkProfile
VirtualNetworkProfile

The virtual network profile.

dataDisksGroups
IList<DataDisksGroups>

The data disks groups for the role.

scriptActions
IList<ScriptAction>

The list of script actions on the role.

encryptDataDisks
Nullable<Boolean>

Indicates whether encrypt the data disks.

Applies to