Compartir a través de


Role Constructores

Definición

Sobrecargas

Role()

Inicializa una nueva instancia de la clase Role.

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

Inicializa una nueva instancia de la clase Role.

Role()

Inicializa una nueva instancia de la clase Role.

public Role ();
Public Sub New ()

Se aplica a

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

Inicializa una nueva instancia de la clase 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)

Parámetros

name
String

Nombre del rol.

minInstanceCount
Nullable<Int32>

Recuento mínimo de instancias del clúster.

targetInstanceCount
Nullable<Int32>

Recuento de instancias del clúster.

vMGroupName
String

Nombre del grupo de máquinas virtuales.

autoscaleConfiguration
Autoscale

Configuraciones de escalado automático.

hardwareProfile
HardwareProfile

Perfil de hardware.

osProfile
OsProfile

Perfil del sistema operativo.

virtualNetworkProfile
VirtualNetworkProfile

Perfil de red virtual.

dataDisksGroups
IList<DataDisksGroups>

Los grupos de discos de datos para el rol.

scriptActions
IList<ScriptAction>

Lista de acciones de script en el rol.

encryptDataDisks
Nullable<Boolean>

Indica si cifra los discos de datos.

Se aplica a