TriggerCondition Class
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.
The condition that results in the Log Search rule.
public class TriggerCondition
type TriggerCondition = class
Public Class TriggerCondition
- Inheritance
-
System.ObjectTriggerCondition
Constructors
| TriggerCondition() |
Initializes a new instance of the TriggerCondition class. |
| TriggerCondition(String, Double, LogMetricTrigger) |
Initializes a new instance of the TriggerCondition class. |
Properties
| MetricTrigger |
Gets or sets trigger condition for metric query rule |
| Threshold |
Gets or sets result or count threshold based on which rule should be triggered. |
| ThresholdOperator |
Gets or sets evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: 'GreaterThanOrEqual', 'LessThanOrEqual', 'GreaterThan', 'LessThan', 'Equal' |
Methods
| Validate() |
Validate the object. |