ArmHDInsightModelFactory.HDInsightClusterRole Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.HDInsight.Models.HDInsightClusterRole HDInsightClusterRole(string name = default, int? minInstanceCount = default, int? targetInstanceCount = default, string vmGroupName = default, Azure.ResourceManager.HDInsight.Models.HDInsightAutoScaleConfiguration autoScaleConfiguration = default, string hardwareVmSize = default, Azure.ResourceManager.HDInsight.Models.HDInsightLinuxOSProfile osLinuxProfile = default, Azure.ResourceManager.HDInsight.Models.HDInsightVirtualNetworkProfile virtualNetworkProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.HDInsightClusterDataDiskGroup> dataDisksGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.ScriptAction> scriptActions = default, bool? encryptDataDisks = default);
static member HDInsightClusterRole : string * Nullable<int> * Nullable<int> * string * Azure.ResourceManager.HDInsight.Models.HDInsightAutoScaleConfiguration * string * Azure.ResourceManager.HDInsight.Models.HDInsightLinuxOSProfile * Azure.ResourceManager.HDInsight.Models.HDInsightVirtualNetworkProfile * seq<Azure.ResourceManager.HDInsight.Models.HDInsightClusterDataDiskGroup> * seq<Azure.ResourceManager.HDInsight.Models.ScriptAction> * Nullable<bool> -> Azure.ResourceManager.HDInsight.Models.HDInsightClusterRole
Public Shared Function HDInsightClusterRole (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 HDInsightAutoScaleConfiguration = Nothing, Optional hardwareVmSize As String = Nothing, Optional osLinuxProfile As HDInsightLinuxOSProfile = Nothing, Optional virtualNetworkProfile As HDInsightVirtualNetworkProfile = Nothing, Optional dataDisksGroups As IEnumerable(Of HDInsightClusterDataDiskGroup) = Nothing, Optional scriptActions As IEnumerable(Of ScriptAction) = Nothing, Optional encryptDataDisks As Nullable(Of Boolean) = Nothing) As HDInsightClusterRole
Parameters
- name
- String
The name of the role.
- vmGroupName
- String
The name of the virtual machine group.
- autoScaleConfiguration
- HDInsightAutoScaleConfiguration
The autoscale configurations.
- hardwareVmSize
- String
The size of the VM.
- osLinuxProfile
- HDInsightLinuxOSProfile
The Linux OS profile.
- virtualNetworkProfile
- HDInsightVirtualNetworkProfile
The virtual network profile.
- dataDisksGroups
- IEnumerable<HDInsightClusterDataDiskGroup>
The data disks groups for the role.
- scriptActions
- IEnumerable<ScriptAction>
The list of script actions on the role.
Returns
A new HDInsightClusterRole instance for mocking.