VmSizeCompatibilityFilterV2 Class

This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted.

Inheritance
VmSizeCompatibilityFilterV2

Constructor

VmSizeCompatibilityFilterV2(*, filter_mode: Optional[Union[str, azure.mgmt.hdinsight.models._hd_insight_management_client_enums.FilterMode]] = None, regions: Optional[List[str]] = None, cluster_flavors: Optional[List[str]] = None, node_types: Optional[List[str]] = None, cluster_versions: Optional[List[str]] = None, os_type: Optional[List[Union[str, azure.mgmt.hdinsight.models._hd_insight_management_client_enums.OSType]]] = None, vm_sizes: Optional[List[str]] = None, esp_applied: Optional[str] = None, compute_isolation_supported: Optional[str] = None, **kwargs)

Parameters

filter_mode
str or FilterMode
Required

The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set. Possible values include: "Exclude", "Include", "Recommend", "Default".

regions
list[str]
Required

The list of regions under the effect of the filter.

cluster_flavors
list[str]
Required

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

node_types
list[str]
Required

The list of node types affected by the filter.

cluster_versions
list[str]
Required

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

os_type
list[str or OSType]
Required

The OSType affected, Windows or Linux.

vm_sizes
list[str]
Required

The list of virtual machine sizes to include or exclude.

esp_applied
str
Required

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.

compute_isolation_supported
str
Required

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