Udostępnij za pośrednictwem


TriggerCondition Constructors

Definition

Overloads

TriggerCondition()

Initializes a new instance of the TriggerCondition class.

TriggerCondition(String, Double, LogMetricTrigger)

Initializes a new instance of the TriggerCondition class.

TriggerCondition()

Initializes a new instance of the TriggerCondition class.

public TriggerCondition ();
Public Sub New ()

Applies to

TriggerCondition(String, Double, LogMetricTrigger)

Initializes a new instance of the TriggerCondition class.

public TriggerCondition (string thresholdOperator, double threshold, Microsoft.Azure.Management.Monitor.Models.LogMetricTrigger metricTrigger = default);
new Microsoft.Azure.Management.Monitor.Models.TriggerCondition : string * double * Microsoft.Azure.Management.Monitor.Models.LogMetricTrigger -> Microsoft.Azure.Management.Monitor.Models.TriggerCondition
Public Sub New (thresholdOperator As String, threshold As Double, Optional metricTrigger As LogMetricTrigger = Nothing)

Parameters

thresholdOperator
String

Evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: 'GreaterThanOrEqual', 'LessThanOrEqual', 'GreaterThan', 'LessThan', 'Equal'

threshold
Double

Result or count threshold based on which rule should be triggered.

metricTrigger
LogMetricTrigger

Trigger condition for metric query rule

Applies to