Condividi tramite


LoadBasedConfig(Int32, Int32, IEnumerable<ScalingRule>) Constructor

Definition

Initializes a new instance of LoadBasedConfig.

public LoadBasedConfig (int minNodes, int maxNodes, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.ScalingRule> scalingRules);
new Azure.ResourceManager.HDInsight.Containers.Models.LoadBasedConfig : int * int * seq<Azure.ResourceManager.HDInsight.Containers.Models.ScalingRule> -> Azure.ResourceManager.HDInsight.Containers.Models.LoadBasedConfig
Public Sub New (minNodes As Integer, maxNodes As Integer, scalingRules As IEnumerable(Of ScalingRule))

Parameters

minNodes
Int32

User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

maxNodes
Int32

User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

scalingRules
IEnumerable<ScalingRule>

The scaling rules.

Exceptions

scalingRules is null.

Applies to