Share via


ArmHDInsightModelFactory.HDInsightVmSizeCompatibilityFilterV2 Method

Definition

Initializes a new instance of HDInsightVmSizeCompatibilityFilterV2.

public static Azure.ResourceManager.HDInsight.Models.HDInsightVmSizeCompatibilityFilterV2 HDInsightVmSizeCompatibilityFilterV2 (Azure.ResourceManager.HDInsight.Models.HDInsightFilterMode? filterMode = default, System.Collections.Generic.IEnumerable<string> regions = default, System.Collections.Generic.IEnumerable<string> clusterFlavors = default, System.Collections.Generic.IEnumerable<string> nodeTypes = default, System.Collections.Generic.IEnumerable<string> clusterVersions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.HDInsightOSType> osType = default, System.Collections.Generic.IEnumerable<string> vmSizes = default, string espApplied = default, string isComputeIsolationSupported = default);
static member HDInsightVmSizeCompatibilityFilterV2 : Nullable<Azure.ResourceManager.HDInsight.Models.HDInsightFilterMode> * seq<string> * seq<string> * seq<string> * seq<string> * seq<Azure.ResourceManager.HDInsight.Models.HDInsightOSType> * seq<string> * string * string -> Azure.ResourceManager.HDInsight.Models.HDInsightVmSizeCompatibilityFilterV2
Public Shared Function HDInsightVmSizeCompatibilityFilterV2 (Optional filterMode As Nullable(Of HDInsightFilterMode) = Nothing, Optional regions As IEnumerable(Of String) = Nothing, Optional clusterFlavors As IEnumerable(Of String) = Nothing, Optional nodeTypes As IEnumerable(Of String) = Nothing, Optional clusterVersions As IEnumerable(Of String) = Nothing, Optional osType As IEnumerable(Of HDInsightOSType) = Nothing, Optional vmSizes As IEnumerable(Of String) = Nothing, Optional espApplied As String = Nothing, Optional isComputeIsolationSupported As String = Nothing) As HDInsightVmSizeCompatibilityFilterV2

Parameters

filterMode
Nullable<HDInsightFilterMode>

The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.

regions
IEnumerable<String>

The list of regions under the effect of the filter.

clusterFlavors
IEnumerable<String>

The list of cluster flavors under the effect of the filter.

nodeTypes
IEnumerable<String>

The list of node types affected by the filter.

clusterVersions
IEnumerable<String>

The list of cluster versions affected in Major.Minor format.

osType
IEnumerable<HDInsightOSType>

The OSType affected, Windows or Linux.

vmSizes
IEnumerable<String>

The list of virtual machine sizes to include or exclude.

espApplied
String

Whether apply for ESP cluster. 'true' means only for ESP, 'false' means only for non-ESP, null or empty string or others mean for both.

isComputeIsolationSupported
String

Whether support compute isolation. 'true' means only for ComputeIsolationEnabled, 'false' means only for regular cluster.

Returns

A new HDInsightVmSizeCompatibilityFilterV2 instance for mocking.

Applies to