TriggerCondition Class
The condition that results in the Log Search rule.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.monitor._serialization.ModelTriggerCondition
Constructor
TriggerCondition(*, threshold_operator: str | _models.ConditionalOperator = 'GreaterThanOrEqual', threshold: float, metric_trigger: _models.LogMetricTrigger | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
threshold_operator
|
Evaluation operation for rule - 'GreaterThan' or 'LessThan. Known values are: "GreaterThanOrEqual", "LessThanOrEqual", "GreaterThan", "LessThan", and "Equal". default value: GreaterThanOrEqual
|
threshold
|
Result or count threshold based on which rule should be triggered. Required. |
metric_trigger
|
Trigger condition for metric query rule. |
Variables
Name | Description |
---|---|
threshold_operator
|
Evaluation operation for rule - 'GreaterThan' or 'LessThan. Known values are: "GreaterThanOrEqual", "LessThanOrEqual", "GreaterThan", "LessThan", and "Equal". |
threshold
|
Result or count threshold based on which rule should be triggered. Required. |
metric_trigger
|
Trigger condition for metric query rule. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for