Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.arms.getDispatchRules
Start a Neo task
Explain and create an alicloud.arms.getDispatchRules resource
This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.
NOTE: Available since v1.136.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.arms.AlertContact("default", {
alertContactName: "example_value",
email: "example_value@aaa.com",
});
const defaultAlertContactGroup = new alicloud.arms.AlertContactGroup("default", {
alertContactGroupName: "example_value",
contactIds: [_default.id],
});
const defaultDispatchRule = new alicloud.arms.DispatchRule("default", {
dispatchRuleName: "example_value",
dispatchType: "CREATE_ALERT",
groupRules: [{
groupWaitTime: 5,
groupInterval: 15,
repeatInterval: 100,
groupingFields: ["alertname"],
}],
labelMatchExpressionGrids: [{
labelMatchExpressionGroups: [{
labelMatchExpressions: [{
key: "_aliyun_arms_involvedObject_kind",
value: "app",
operator: "eq",
}],
}],
}],
notifyRules: [{
notifyObjects: [
{
notifyObjectId: _default.id,
notifyType: "ARMS_CONTACT",
name: "example_value",
},
{
notifyObjectId: defaultAlertContactGroup.id,
notifyType: "ARMS_CONTACT_GROUP",
name: "example_value",
},
],
notifyChannels: [
"dingTalk",
"wechat",
],
notifyStartTime: "10:00",
notifyEndTime: "23:00",
}],
});
const ids = alicloud.arms.getDispatchRulesOutput({
ids: [defaultDispatchRule.id],
});
export const armsDispatchRuleId1 = ids.apply(ids => ids.rules?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.arms.AlertContact("default",
alert_contact_name="example_value",
email="example_value@aaa.com")
default_alert_contact_group = alicloud.arms.AlertContactGroup("default",
alert_contact_group_name="example_value",
contact_ids=[default.id])
default_dispatch_rule = alicloud.arms.DispatchRule("default",
dispatch_rule_name="example_value",
dispatch_type="CREATE_ALERT",
group_rules=[{
"group_wait_time": 5,
"group_interval": 15,
"repeat_interval": 100,
"grouping_fields": ["alertname"],
}],
label_match_expression_grids=[{
"label_match_expression_groups": [{
"label_match_expressions": [{
"key": "_aliyun_arms_involvedObject_kind",
"value": "app",
"operator": "eq",
}],
}],
}],
notify_rules=[{
"notify_objects": [
{
"notify_object_id": default.id,
"notify_type": "ARMS_CONTACT",
"name": "example_value",
},
{
"notify_object_id": default_alert_contact_group.id,
"notify_type": "ARMS_CONTACT_GROUP",
"name": "example_value",
},
],
"notify_channels": [
"dingTalk",
"wechat",
],
"notify_start_time": "10:00",
"notify_end_time": "23:00",
}])
ids = alicloud.arms.get_dispatch_rules_output(ids=[default_dispatch_rule.id])
pulumi.export("armsDispatchRuleId1", ids.rules[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := arms.NewAlertContact(ctx, "default", &arms.AlertContactArgs{
AlertContactName: pulumi.String("example_value"),
Email: pulumi.String("example_value@aaa.com"),
})
if err != nil {
return err
}
defaultAlertContactGroup, err := arms.NewAlertContactGroup(ctx, "default", &arms.AlertContactGroupArgs{
AlertContactGroupName: pulumi.String("example_value"),
ContactIds: pulumi.StringArray{
_default.ID(),
},
})
if err != nil {
return err
}
defaultDispatchRule, err := arms.NewDispatchRule(ctx, "default", &arms.DispatchRuleArgs{
DispatchRuleName: pulumi.String("example_value"),
DispatchType: pulumi.String("CREATE_ALERT"),
GroupRules: arms.DispatchRuleGroupRuleArray{
&arms.DispatchRuleGroupRuleArgs{
GroupWaitTime: pulumi.Int(5),
GroupInterval: pulumi.Int(15),
RepeatInterval: pulumi.Int(100),
GroupingFields: pulumi.StringArray{
pulumi.String("alertname"),
},
},
},
LabelMatchExpressionGrids: arms.DispatchRuleLabelMatchExpressionGridArray{
&arms.DispatchRuleLabelMatchExpressionGridArgs{
LabelMatchExpressionGroups: arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray{
&arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs{
LabelMatchExpressions: arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray{
&arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs{
Key: pulumi.String("_aliyun_arms_involvedObject_kind"),
Value: pulumi.String("app"),
Operator: pulumi.String("eq"),
},
},
},
},
},
},
NotifyRules: arms.DispatchRuleNotifyRuleArray{
&arms.DispatchRuleNotifyRuleArgs{
NotifyObjects: arms.DispatchRuleNotifyRuleNotifyObjectArray{
&arms.DispatchRuleNotifyRuleNotifyObjectArgs{
NotifyObjectId: _default.ID(),
NotifyType: pulumi.String("ARMS_CONTACT"),
Name: pulumi.String("example_value"),
},
&arms.DispatchRuleNotifyRuleNotifyObjectArgs{
NotifyObjectId: defaultAlertContactGroup.ID(),
NotifyType: pulumi.String("ARMS_CONTACT_GROUP"),
Name: pulumi.String("example_value"),
},
},
NotifyChannels: pulumi.StringArray{
pulumi.String("dingTalk"),
pulumi.String("wechat"),
},
NotifyStartTime: pulumi.String("10:00"),
NotifyEndTime: pulumi.String("23:00"),
},
},
})
if err != nil {
return err
}
ids := arms.GetDispatchRulesOutput(ctx, arms.GetDispatchRulesOutputArgs{
Ids: pulumi.StringArray{
defaultDispatchRule.ID(),
},
}, nil)
ctx.Export("armsDispatchRuleId1", ids.ApplyT(func(ids arms.GetDispatchRulesResult) (*string, error) {
return &ids.Rules[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.Arms.AlertContact("default", new()
{
AlertContactName = "example_value",
Email = "example_value@aaa.com",
});
var defaultAlertContactGroup = new AliCloud.Arms.AlertContactGroup("default", new()
{
AlertContactGroupName = "example_value",
ContactIds = new[]
{
@default.Id,
},
});
var defaultDispatchRule = new AliCloud.Arms.DispatchRule("default", new()
{
DispatchRuleName = "example_value",
DispatchType = "CREATE_ALERT",
GroupRules = new[]
{
new AliCloud.Arms.Inputs.DispatchRuleGroupRuleArgs
{
GroupWaitTime = 5,
GroupInterval = 15,
RepeatInterval = 100,
GroupingFields = new[]
{
"alertname",
},
},
},
LabelMatchExpressionGrids = new[]
{
new AliCloud.Arms.Inputs.DispatchRuleLabelMatchExpressionGridArgs
{
LabelMatchExpressionGroups = new[]
{
new AliCloud.Arms.Inputs.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs
{
LabelMatchExpressions = new[]
{
new AliCloud.Arms.Inputs.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs
{
Key = "_aliyun_arms_involvedObject_kind",
Value = "app",
Operator = "eq",
},
},
},
},
},
},
NotifyRules = new[]
{
new AliCloud.Arms.Inputs.DispatchRuleNotifyRuleArgs
{
NotifyObjects = new[]
{
new AliCloud.Arms.Inputs.DispatchRuleNotifyRuleNotifyObjectArgs
{
NotifyObjectId = @default.Id,
NotifyType = "ARMS_CONTACT",
Name = "example_value",
},
new AliCloud.Arms.Inputs.DispatchRuleNotifyRuleNotifyObjectArgs
{
NotifyObjectId = defaultAlertContactGroup.Id,
NotifyType = "ARMS_CONTACT_GROUP",
Name = "example_value",
},
},
NotifyChannels = new[]
{
"dingTalk",
"wechat",
},
NotifyStartTime = "10:00",
NotifyEndTime = "23:00",
},
},
});
var ids = AliCloud.Arms.GetDispatchRules.Invoke(new()
{
Ids = new[]
{
defaultDispatchRule.Id,
},
});
return new Dictionary<string, object?>
{
["armsDispatchRuleId1"] = ids.Apply(getDispatchRulesResult => getDispatchRulesResult.Rules[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.arms.AlertContact;
import com.pulumi.alicloud.arms.AlertContactArgs;
import com.pulumi.alicloud.arms.AlertContactGroup;
import com.pulumi.alicloud.arms.AlertContactGroupArgs;
import com.pulumi.alicloud.arms.DispatchRule;
import com.pulumi.alicloud.arms.DispatchRuleArgs;
import com.pulumi.alicloud.arms.inputs.DispatchRuleGroupRuleArgs;
import com.pulumi.alicloud.arms.inputs.DispatchRuleLabelMatchExpressionGridArgs;
import com.pulumi.alicloud.arms.inputs.DispatchRuleNotifyRuleArgs;
import com.pulumi.alicloud.arms.ArmsFunctions;
import com.pulumi.alicloud.arms.inputs.GetDispatchRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new AlertContact("default", AlertContactArgs.builder()
.alertContactName("example_value")
.email("example_value@aaa.com")
.build());
var defaultAlertContactGroup = new AlertContactGroup("defaultAlertContactGroup", AlertContactGroupArgs.builder()
.alertContactGroupName("example_value")
.contactIds(default_.id())
.build());
var defaultDispatchRule = new DispatchRule("defaultDispatchRule", DispatchRuleArgs.builder()
.dispatchRuleName("example_value")
.dispatchType("CREATE_ALERT")
.groupRules(DispatchRuleGroupRuleArgs.builder()
.groupWaitTime(5)
.groupInterval(15)
.repeatInterval(100)
.groupingFields("alertname")
.build())
.labelMatchExpressionGrids(DispatchRuleLabelMatchExpressionGridArgs.builder()
.labelMatchExpressionGroups(DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs.builder()
.labelMatchExpressions(DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs.builder()
.key("_aliyun_arms_involvedObject_kind")
.value("app")
.operator("eq")
.build())
.build())
.build())
.notifyRules(DispatchRuleNotifyRuleArgs.builder()
.notifyObjects(
DispatchRuleNotifyRuleNotifyObjectArgs.builder()
.notifyObjectId(default_.id())
.notifyType("ARMS_CONTACT")
.name("example_value")
.build(),
DispatchRuleNotifyRuleNotifyObjectArgs.builder()
.notifyObjectId(defaultAlertContactGroup.id())
.notifyType("ARMS_CONTACT_GROUP")
.name("example_value")
.build())
.notifyChannels(
"dingTalk",
"wechat")
.notifyStartTime("10:00")
.notifyEndTime("23:00")
.build())
.build());
final var ids = ArmsFunctions.getDispatchRules(GetDispatchRulesArgs.builder()
.ids(defaultDispatchRule.id())
.build());
ctx.export("armsDispatchRuleId1", ids.applyValue(_ids -> _ids.rules()[0].id()));
}
}
resources:
default:
type: alicloud:arms:AlertContact
properties:
alertContactName: example_value
email: example_value@aaa.com
defaultAlertContactGroup:
type: alicloud:arms:AlertContactGroup
name: default
properties:
alertContactGroupName: example_value
contactIds:
- ${default.id}
defaultDispatchRule:
type: alicloud:arms:DispatchRule
name: default
properties:
dispatchRuleName: example_value
dispatchType: CREATE_ALERT
groupRules:
- groupWaitTime: 5
groupInterval: 15
repeatInterval: 100
groupingFields:
- alertname
labelMatchExpressionGrids:
- labelMatchExpressionGroups:
- labelMatchExpressions:
- key: _aliyun_arms_involvedObject_kind
value: app
operator: eq
notifyRules:
- notifyObjects:
- notifyObjectId: ${default.id}
notifyType: ARMS_CONTACT
name: example_value
- notifyObjectId: ${defaultAlertContactGroup.id}
notifyType: ARMS_CONTACT_GROUP
name: example_value
notifyChannels:
- dingTalk
- wechat
notifyStartTime: 10:00
notifyEndTime: 23:00
variables:
ids:
fn::invoke:
function: alicloud:arms:getDispatchRules
arguments:
ids:
- ${defaultDispatchRule.id}
outputs:
armsDispatchRuleId1: ${ids.rules[0].id}
Using getDispatchRules
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDispatchRules(args: GetDispatchRulesArgs, opts?: InvokeOptions): Promise<GetDispatchRulesResult>
function getDispatchRulesOutput(args: GetDispatchRulesOutputArgs, opts?: InvokeOptions): Output<GetDispatchRulesResult>def get_dispatch_rules(dispatch_rule_name: Optional[str] = None,
enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDispatchRulesResult
def get_dispatch_rules_output(dispatch_rule_name: Optional[pulumi.Input[str]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDispatchRulesResult]func GetDispatchRules(ctx *Context, args *GetDispatchRulesArgs, opts ...InvokeOption) (*GetDispatchRulesResult, error)
func GetDispatchRulesOutput(ctx *Context, args *GetDispatchRulesOutputArgs, opts ...InvokeOption) GetDispatchRulesResultOutput> Note: This function is named GetDispatchRules in the Go SDK.
public static class GetDispatchRules
{
public static Task<GetDispatchRulesResult> InvokeAsync(GetDispatchRulesArgs args, InvokeOptions? opts = null)
public static Output<GetDispatchRulesResult> Invoke(GetDispatchRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDispatchRulesResult> getDispatchRules(GetDispatchRulesArgs args, InvokeOptions options)
public static Output<GetDispatchRulesResult> getDispatchRules(GetDispatchRulesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:arms/getDispatchRules:getDispatchRules
arguments:
# arguments dictionaryThe following arguments are supported:
- Dispatch
Rule stringName - The name of the dispatch rule.
- Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Ids List<string>
- A list of dispatch rule id.
- Name
Regex string - A regex string to filter results by Dispatch Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- Dispatch
Rule stringName - The name of the dispatch rule.
- Enable
Details bool - Default to
false. Set it totruecan output more details about resource attributes. - Ids []string
- A list of dispatch rule id.
- Name
Regex string - A regex string to filter results by Dispatch Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- dispatch
Rule StringName - The name of the dispatch rule.
- enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids List<String>
- A list of dispatch rule id.
- name
Regex String - A regex string to filter results by Dispatch Rule name.
- output
File String - File name where to save data source results (after running
pulumi preview).
- dispatch
Rule stringName - The name of the dispatch rule.
- enable
Details boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids string[]
- A list of dispatch rule id.
- name
Regex string - A regex string to filter results by Dispatch Rule name.
- output
File string - File name where to save data source results (after running
pulumi preview).
- dispatch_
rule_ strname - The name of the dispatch rule.
- enable_
details bool - Default to
false. Set it totruecan output more details about resource attributes. - ids Sequence[str]
- A list of dispatch rule id.
- name_
regex str - A regex string to filter results by Dispatch Rule name.
- output_
file str - File name where to save data source results (after running
pulumi preview).
- dispatch
Rule StringName - The name of the dispatch rule.
- enable
Details Boolean - Default to
false. Set it totruecan output more details about resource attributes. - ids List<String>
- A list of dispatch rule id.
- name
Regex String - A regex string to filter results by Dispatch Rule name.
- output
File String - File name where to save data source results (after running
pulumi preview).
getDispatchRules Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- A list of Dispatch Rule names.
- Rules
List<Pulumi.
Ali Cloud. Arms. Outputs. Get Dispatch Rules Rule> - A list of Arms Dispatch Rules. Each element contains the following attributes:
- Dispatch
Rule stringName - The name of the dispatch rule.
- Enable
Details bool - Name
Regex string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- A list of Dispatch Rule names.
- Rules
[]Get
Dispatch Rules Rule - A list of Arms Dispatch Rules. Each element contains the following attributes:
- Dispatch
Rule stringName - The name of the dispatch rule.
- Enable
Details bool - Name
Regex string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Dispatch Rule names.
- rules
List<Get
Dispatch Rules Rule> - A list of Arms Dispatch Rules. Each element contains the following attributes:
- dispatch
Rule StringName - The name of the dispatch rule.
- enable
Details Boolean - name
Regex String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- A list of Dispatch Rule names.
- rules
Get
Dispatch Rules Rule[] - A list of Arms Dispatch Rules. Each element contains the following attributes:
- dispatch
Rule stringName - The name of the dispatch rule.
- enable
Details boolean - name
Regex string - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- A list of Dispatch Rule names.
- rules
Sequence[Get
Dispatch Rules Rule] - A list of Arms Dispatch Rules. Each element contains the following attributes:
- dispatch_
rule_ strname - The name of the dispatch rule.
- enable_
details bool - name_
regex str - output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Dispatch Rule names.
- rules List<Property Map>
- A list of Arms Dispatch Rules. Each element contains the following attributes:
- dispatch
Rule StringName - The name of the dispatch rule.
- enable
Details Boolean - name
Regex String - output
File String
Supporting Types
GetDispatchRulesRule
- Dispatch
Rule stringId - Dispatch rule ID.
- Dispatch
Rule stringName - The name of the dispatch rule.
- Group
Rules List<Pulumi.Ali Cloud. Arms. Inputs. Get Dispatch Rules Rule Group Rule> - Sets the event group.
- Id string
- The ID of the Dispatch Rule.
- Label
Match List<Pulumi.Expression Grids Ali Cloud. Arms. Inputs. Get Dispatch Rules Rule Label Match Expression Grid> - Sets the dispatch rule.
- Notify
Rules List<Pulumi.Ali Cloud. Arms. Inputs. Get Dispatch Rules Rule Notify Rule> - Sets the notification rule.
- Notify
Templates List<Pulumi.Ali Cloud. Arms. Inputs. Get Dispatch Rules Rule Notify Template> - (Available since v1.238.0) The notification method.
- Status string
- The resource status of Alert Dispatch Rule.
- Dispatch
Rule stringId - Dispatch rule ID.
- Dispatch
Rule stringName - The name of the dispatch rule.
- Group
Rules []GetDispatch Rules Rule Group Rule - Sets the event group.
- Id string
- The ID of the Dispatch Rule.
- Label
Match []GetExpression Grids Dispatch Rules Rule Label Match Expression Grid - Sets the dispatch rule.
- Notify
Rules []GetDispatch Rules Rule Notify Rule - Sets the notification rule.
- Notify
Templates []GetDispatch Rules Rule Notify Template - (Available since v1.238.0) The notification method.
- Status string
- The resource status of Alert Dispatch Rule.
- dispatch
Rule StringId - Dispatch rule ID.
- dispatch
Rule StringName - The name of the dispatch rule.
- group
Rules List<GetDispatch Rules Rule Group Rule> - Sets the event group.
- id String
- The ID of the Dispatch Rule.
- label
Match List<GetExpression Grids Dispatch Rules Rule Label Match Expression Grid> - Sets the dispatch rule.
- notify
Rules List<GetDispatch Rules Rule Notify Rule> - Sets the notification rule.
- notify
Templates List<GetDispatch Rules Rule Notify Template> - (Available since v1.238.0) The notification method.
- status String
- The resource status of Alert Dispatch Rule.
- dispatch
Rule stringId - Dispatch rule ID.
- dispatch
Rule stringName - The name of the dispatch rule.
- group
Rules GetDispatch Rules Rule Group Rule[] - Sets the event group.
- id string
- The ID of the Dispatch Rule.
- label
Match GetExpression Grids Dispatch Rules Rule Label Match Expression Grid[] - Sets the dispatch rule.
- notify
Rules GetDispatch Rules Rule Notify Rule[] - Sets the notification rule.
- notify
Templates GetDispatch Rules Rule Notify Template[] - (Available since v1.238.0) The notification method.
- status string
- The resource status of Alert Dispatch Rule.
- dispatch_
rule_ strid - Dispatch rule ID.
- dispatch_
rule_ strname - The name of the dispatch rule.
- group_
rules Sequence[GetDispatch Rules Rule Group Rule] - Sets the event group.
- id str
- The ID of the Dispatch Rule.
- label_
match_ Sequence[Getexpression_ grids Dispatch Rules Rule Label Match Expression Grid] - Sets the dispatch rule.
- notify_
rules Sequence[GetDispatch Rules Rule Notify Rule] - Sets the notification rule.
- notify_
templates Sequence[GetDispatch Rules Rule Notify Template] - (Available since v1.238.0) The notification method.
- status str
- The resource status of Alert Dispatch Rule.
- dispatch
Rule StringId - Dispatch rule ID.
- dispatch
Rule StringName - The name of the dispatch rule.
- group
Rules List<Property Map> - Sets the event group.
- id String
- The ID of the Dispatch Rule.
- label
Match List<Property Map>Expression Grids - Sets the dispatch rule.
- notify
Rules List<Property Map> - Sets the notification rule.
- notify
Templates List<Property Map> - (Available since v1.238.0) The notification method.
- status String
- The resource status of Alert Dispatch Rule.
GetDispatchRulesRuleGroupRule
- Group
Interval int - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- Group
Wait intTime - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- Grouping
Fields List<string> - The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
- Repeat
Interval int - The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
- Group
Interval int - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- Group
Wait intTime - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- Grouping
Fields []string - The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
- Repeat
Interval int - The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
- group
Interval Integer - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- group
Wait IntegerTime - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- grouping
Fields List<String> - The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
- repeat
Interval Integer - The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
- group
Interval number - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- group
Wait numberTime - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- grouping
Fields string[] - The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
- repeat
Interval number - The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
- group_
interval int - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- group_
wait_ inttime - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- grouping_
fields Sequence[str] - The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
- repeat_
interval int - The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
- group
Interval Number - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- group
Wait NumberTime - The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
- grouping
Fields List<String> - The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
- repeat
Interval Number - The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
GetDispatchRulesRuleLabelMatchExpressionGrid
- label
Match List<Property Map>Expression Groups - Sets the dispatch rule.
GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroup
- label
Match List<Property Map>Expressions - Sets the dispatch rule.
GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression
GetDispatchRulesRuleNotifyRule
- Notify
Channels List<string> - A list of notification methods.
- Notify
End stringTime - (Available since v1.237.0) End time of notification.
- Notify
Objects List<Pulumi.Ali Cloud. Arms. Inputs. Get Dispatch Rules Rule Notify Rule Notify Object> - Sets the notification object.
- Notify
Start stringTime - (Available since v1.237.0) Start time of notification.
- Notify
Channels []string - A list of notification methods.
- Notify
End stringTime - (Available since v1.237.0) End time of notification.
- Notify
Objects []GetDispatch Rules Rule Notify Rule Notify Object - Sets the notification object.
- Notify
Start stringTime - (Available since v1.237.0) Start time of notification.
- notify
Channels List<String> - A list of notification methods.
- notify
End StringTime - (Available since v1.237.0) End time of notification.
- notify
Objects List<GetDispatch Rules Rule Notify Rule Notify Object> - Sets the notification object.
- notify
Start StringTime - (Available since v1.237.0) Start time of notification.
- notify
Channels string[] - A list of notification methods.
- notify
End stringTime - (Available since v1.237.0) End time of notification.
- notify
Objects GetDispatch Rules Rule Notify Rule Notify Object[] - Sets the notification object.
- notify
Start stringTime - (Available since v1.237.0) Start time of notification.
- notify_
channels Sequence[str] - A list of notification methods.
- notify_
end_ strtime - (Available since v1.237.0) End time of notification.
- notify_
objects Sequence[GetDispatch Rules Rule Notify Rule Notify Object] - Sets the notification object.
- notify_
start_ strtime - (Available since v1.237.0) Start time of notification.
- notify
Channels List<String> - A list of notification methods.
- notify
End StringTime - (Available since v1.237.0) End time of notification.
- notify
Objects List<Property Map> - Sets the notification object.
- notify
Start StringTime - (Available since v1.237.0) Start time of notification.
GetDispatchRulesRuleNotifyRuleNotifyObject
- Name string
- The name of the contact or contact group.
- Notify
Object stringId - The ID of the contact or contact group.
- Notify
Type string - The type of the alert contact.
- Name string
- The name of the contact or contact group.
- Notify
Object stringId - The ID of the contact or contact group.
- Notify
Type string - The type of the alert contact.
- name String
- The name of the contact or contact group.
- notify
Object StringId - The ID of the contact or contact group.
- notify
Type String - The type of the alert contact.
- name string
- The name of the contact or contact group.
- notify
Object stringId - The ID of the contact or contact group.
- notify
Type string - The type of the alert contact.
- name str
- The name of the contact or contact group.
- notify_
object_ strid - The ID of the contact or contact group.
- notify_
type str - The type of the alert contact.
- name String
- The name of the contact or contact group.
- notify
Object StringId - The ID of the contact or contact group.
- notify
Type String - The type of the alert contact.
GetDispatchRulesRuleNotifyTemplate
- Email
Content string - The content of the email.
- Email
Recover stringContent - The content of the email.
- Email
Recover stringTitle - The title of the email.
- Email
Title string - The title of the email.
- Robot
Content string - The content of the robot.
- Sms
Content string - The content of the SMS.
- Sms
Recover stringContent - The content of the SMS.
- Tts
Content string - The content of the TTS.
- Tts
Recover stringContent - The content of the TTS.
- Email
Content string - The content of the email.
- Email
Recover stringContent - The content of the email.
- Email
Recover stringTitle - The title of the email.
- Email
Title string - The title of the email.
- Robot
Content string - The content of the robot.
- Sms
Content string - The content of the SMS.
- Sms
Recover stringContent - The content of the SMS.
- Tts
Content string - The content of the TTS.
- Tts
Recover stringContent - The content of the TTS.
- email
Content String - The content of the email.
- email
Recover StringContent - The content of the email.
- email
Recover StringTitle - The title of the email.
- email
Title String - The title of the email.
- robot
Content String - The content of the robot.
- sms
Content String - The content of the SMS.
- sms
Recover StringContent - The content of the SMS.
- tts
Content String - The content of the TTS.
- tts
Recover StringContent - The content of the TTS.
- email
Content string - The content of the email.
- email
Recover stringContent - The content of the email.
- email
Recover stringTitle - The title of the email.
- email
Title string - The title of the email.
- robot
Content string - The content of the robot.
- sms
Content string - The content of the SMS.
- sms
Recover stringContent - The content of the SMS.
- tts
Content string - The content of the TTS.
- tts
Recover stringContent - The content of the TTS.
- email_
content str - The content of the email.
- email_
recover_ strcontent - The content of the email.
- email_
recover_ strtitle - The title of the email.
- email_
title str - The title of the email.
- robot_
content str - The content of the robot.
- sms_
content str - The content of the SMS.
- sms_
recover_ strcontent - The content of the SMS.
- tts_
content str - The content of the TTS.
- tts_
recover_ strcontent - The content of the TTS.
- email
Content String - The content of the email.
- email
Recover StringContent - The content of the email.
- email
Recover StringTitle - The title of the email.
- email
Title String - The title of the email.
- robot
Content String - The content of the robot.
- sms
Content String - The content of the SMS.
- sms
Recover StringContent - The content of the SMS.
- tts
Content String - The content of the TTS.
- tts
Recover StringContent - The content of the TTS.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
