ScalingRule(ScaleActionType, Int32, String, HDInsightComparisonRule) Constructor
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.
Initializes a new instance of ScalingRule.
public ScalingRule (Azure.ResourceManager.HDInsight.Containers.Models.ScaleActionType actionType, int evaluationCount, string scalingMetric, Azure.ResourceManager.HDInsight.Containers.Models.HDInsightComparisonRule comparisonRule);
new Azure.ResourceManager.HDInsight.Containers.Models.ScalingRule : Azure.ResourceManager.HDInsight.Containers.Models.ScaleActionType * int * string * Azure.ResourceManager.HDInsight.Containers.Models.HDInsightComparisonRule -> Azure.ResourceManager.HDInsight.Containers.Models.ScalingRule
Public Sub New (actionType As ScaleActionType, evaluationCount As Integer, scalingMetric As String, comparisonRule As HDInsightComparisonRule)
Parameters
- actionType
- ScaleActionType
The action type.
- evaluationCount
- Int32
This is an evaluation count for a scaling condition, the number of times a trigger condition should be successful, before scaling activity is triggered.
- scalingMetric
- String
Metrics name for individual workloads. For example: cpu.
- comparisonRule
- HDInsightComparisonRule
The comparison rule.
Exceptions
scalingMetric
or comparisonRule
is null.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET