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 Details

    • ManagementEventRuleCondition

      public ManagementEventRuleCondition()
  • Method Details

    • 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

      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.