Class ManagementEventRuleCondition
- java.lang.Object
-
- com.microsoft.azure.management.monitor.RuleCondition
-
- com.microsoft.azure.management.monitor.ManagementEventRuleCondition
-
public class ManagementEventRuleCondition extends RuleCondition
A management event rule condition.
-
-
Constructor Summary
Constructors Constructor Description ManagementEventRuleCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementEventAggregationConditionaggregation()Get how the data that is collected should be combined over time and when the alert is activated.ManagementEventRuleConditionwithAggregation(ManagementEventAggregationCondition aggregation)Set how the data that is collected should be combined over time and when the alert is activated.-
Methods inherited from class com.microsoft.azure.management.monitor.RuleCondition
dataSource, withDataSource
-
-
-
-
Method Detail
-
aggregation
public ManagementEventAggregationCondition aggregation()
Get how the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.- Returns:
- the aggregation value
-
withAggregation
public ManagementEventRuleCondition withAggregation(ManagementEventAggregationCondition aggregation)
Set how the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.- Parameters:
aggregation- the aggregation value to set- Returns:
- the ManagementEventRuleCondition object itself.
-
-