Class LogMetricTrigger
java.lang.Object
com.microsoft.azure.management.monitor.LogMetricTrigger
A log metrics trigger descriptor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet evaluation of metric on a particular column.Get metric Trigger Type - 'Consecutive' or 'Total'.Get the threshold of the metric trigger.Get evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.withMetricColumn
(String metricColumn) Set evaluation of metric on a particular column.withMetricTriggerType
(MetricTriggerType metricTriggerType) Set metric Trigger Type - 'Consecutive' or 'Total'.withThreshold
(Double threshold) Set the threshold of the metric trigger.withThresholdOperator
(ConditionalOperator thresholdOperator) Set evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
-
Constructor Details
-
LogMetricTrigger
public LogMetricTrigger()
-
-
Method Details
-
thresholdOperator
Get evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: 'GreaterThan', 'LessThan', 'Equal'.- Returns:
- the thresholdOperator value
-
withThresholdOperator
Set evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: 'GreaterThan', 'LessThan', 'Equal'.- Parameters:
thresholdOperator
- the thresholdOperator value to set- Returns:
- the LogMetricTrigger object itself.
-
threshold
Get the threshold of the metric trigger.- Returns:
- the threshold value
-
withThreshold
Set the threshold of the metric trigger.- Parameters:
threshold
- the threshold value to set- Returns:
- the LogMetricTrigger object itself.
-
metricTriggerType
Get metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'Consecutive', 'Total'.- Returns:
- the metricTriggerType value
-
withMetricTriggerType
Set metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'Consecutive', 'Total'.- Parameters:
metricTriggerType
- the metricTriggerType value to set- Returns:
- the LogMetricTrigger object itself.
-
metricColumn
Get evaluation of metric on a particular column.- Returns:
- the metricColumn value
-
withMetricColumn
Set evaluation of metric on a particular column.- Parameters:
metricColumn
- the metricColumn value to set- Returns:
- the LogMetricTrigger object itself.
-