Package com.pulumi.alicloud.arms
Class DispatchRuleArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.arms.DispatchRuleArgs
-
public final class DispatchRuleArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DispatchRuleArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static DispatchRuleArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DispatchRuleArgs.Builder
builder()
static DispatchRuleArgs.Builder
builder(DispatchRuleArgs defaults)
com.pulumi.core.Output<java.lang.String>
dispatchRuleName()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
dispatchType()
com.pulumi.core.Output<java.util.List<DispatchRuleGroupRuleArgs>>
groupRules()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
isRecover()
com.pulumi.core.Output<java.util.List<DispatchRuleLabelMatchExpressionGridArgs>>
labelMatchExpressionGrids()
com.pulumi.core.Output<java.util.List<DispatchRuleNotifyRuleArgs>>
notifyRules()
-
-
-
Field Detail
-
Empty
public static final DispatchRuleArgs Empty
-
-
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"`.
-
builder
public static DispatchRuleArgs.Builder builder()
-
builder
public static DispatchRuleArgs.Builder builder(DispatchRuleArgs defaults)
-
-