Class RuleAction

java.lang.Object
com.azure.resourcemanager.monitor.models.RuleAction
Direct Known Subclasses:
RuleEmailAction, RuleWebhookAction

public class RuleAction extends Object
The action that is performed when the alert rule becomes active, and when an alert condition is resolved.
  • Constructor Details

    • RuleAction

      public RuleAction()
      Creates an instance of RuleAction class.
  • Method Details

    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.