ThresholdRuleCondition(MonitorConditionOperator, Double) Constructor

Definition

Initializes a new instance of ThresholdRuleCondition.

public ThresholdRuleCondition (Azure.ResourceManager.Monitor.Models.MonitorConditionOperator operator, double threshold);
new Azure.ResourceManager.Monitor.Models.ThresholdRuleCondition : Azure.ResourceManager.Monitor.Models.MonitorConditionOperator * double -> Azure.ResourceManager.Monitor.Models.ThresholdRuleCondition
Public Sub New (operator As MonitorConditionOperator, threshold As Double)

Parameters

operator
MonitorConditionOperator

the operator used to compare the data and the threshold.

threshold
Double

the threshold value that activates the alert.

Applies to