Class DispatchRuleArgs


  • public final class DispatchRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • dispatchRuleName

        public com.pulumi.core.Output<java.lang.String> dispatchRuleName()
        Returns:
        The name of the dispatch policy.
      • dispatchType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dispatchType()
        Returns:
        The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
      • groupRules

        public com.pulumi.core.Output<java.util.List<DispatchRuleGroupRuleArgs>> groupRules()
        Returns:
        Sets the event group. See `group_rules` below. It will be ignored when `dispatch_type = "DISCARD_ALERT"`.
      • isRecover

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> isRecover()
        Returns:
        Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
      • labelMatchExpressionGrids

        public com.pulumi.core.Output<java.util.List<DispatchRuleLabelMatchExpressionGridArgs>> labelMatchExpressionGrids()
        Returns:
        Sets the dispatch rule. See `label_match_expression_grid` below.
      • notifyRules

        public com.pulumi.core.Output<java.util.List<DispatchRuleNotifyRuleArgs>> notifyRules()
        Returns:
        Sets the notification rule. See `notify_rules` below. It will be ignored when `dispatch_type = "DISCARD_ALERT"`.