TriggerCondition Class

Definition

The condition that results in the Log Search rule.

public class TriggerCondition
type TriggerCondition = class
Public Class TriggerCondition
Inheritance
TriggerCondition

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.

Applies to