published on Monday, Jul 20, 2026 by Volcengine
published on Monday, Jul 20, 2026 by Volcengine
The logging service notification group is a collection of alarm notification channels used to specify the action strategy after an alarm is triggered. You can add notification rules, and the logging service will intelligently assign different alarm notification channels based on these rules.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const tLSAlarmNotifyGroupDemo = new volcenginecc.tls.AlarmNotifyGroup("TLSAlarmNotifyGroupDemo", {
alarmNotifyGroupName: "ccapi-test",
iamProjectName: "default",
noticeRules: [
{
rule_node: "{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Duration\",\">=\",\"5\"]}]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776669310\\\",\\\"1777014911\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"warning\\\",\\\"critical\\\"]\"]}]}",
receiver_infos: [
{
receiverType: "User",
receiverNames: [
"xxxxxxxx",
"xxxxxxx",
],
receiverChannels: [
"Email",
"Sms",
"Phone",
"GeneralWebhook",
],
startTime: "00:00:00",
endTime: "23:59:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [{
key: "Content-Type",
value: "application/json",
}],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "aa6d01cd-5cf4-449d-a944-xxxxxxx",
alarmWebhookIntegrationName: "test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: ["xxxxxxxxx"],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
{
receiverType: "User",
receiverNames: [
"xxxxxxxxx",
"xxxxxxxxx",
],
receiverChannels: ["Lark"],
startTime: "00:00:00",
endTime: "23:59:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [{
key: "Content-Type",
value: "application/json",
}],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "abc47ee4-9ad3-4c25-803f-xxxxxxxxx",
alarmWebhookIntegrationName: "飞书test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: ["xxxxxxxxx"],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
{
receiverType: "UserGroup",
receiverNames: ["xxxxxxxxx"],
receiverChannels: [
"Email",
"Phone",
"GeneralWebhook",
],
startTime: "00:30:00",
endTime: "23:30:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [{
key: "Content-Type",
value: "application/json",
}],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
alarmWebhookIntegrationName: "test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: ["xxxxxxxxx"],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
],
has_next: true,
has_end_node: true,
},
{
rule_node: "{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Alarm\",\"in\",\"[\\\"test1\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"AlarmID\",\"in\",\"[\\\"66fff5a0-af57-43d1-a40d-f2d32605aa61\\\"]\"]}]},{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Duration\",\"==\",\"5\"]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776653008\\\",\\\"1776998606\\\"]\"]}]}]}",
receiver_infos: [
{
receiverType: "User",
receiverNames: [
"xxxxxxxxx",
"xxxxxxxxx",
],
receiverChannels: [
"Email",
"Sms",
"Phone",
],
startTime: "00:00:00",
endTime: "23:59:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [
{
key: "Content-Type",
value: "application/json",
},
{
key: "env",
value: "test",
},
],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
alarmWebhookIntegrationName: "test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: [
"xxxxxxxxx",
"xxxxxxxxx",
],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
{
receiverType: "UserGroup",
receiverNames: [
"xxxxxxxxx",
"xxxxxxxxx",
],
receiverChannels: [
"Email",
"Sms",
"Phone",
],
startTime: "00:00:00",
endTime: "23:59:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [{
key: "Content-Type",
value: "application/json",
}],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
alarmWebhookIntegrationName: "test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: [
"xxxxxxxxx",
"xxxxxxxxx",
],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
{
receiverType: "User",
receiverNames: [
"xxxxxxxxx",
"xxxxxxxxx",
],
receiverChannels: ["Lark"],
startTime: "00:00:00",
endTime: "23:59:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [{
key: "Content-Type",
value: "application/json",
}],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "abc47ee4-9ad3-4c25-803f-xxxxxxxxx",
alarmWebhookIntegrationName: "飞书test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: [
"xxxxxxxxx",
"xxxxxxxxx",
],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
{
receiverType: "User",
receiverNames: [
"xxxxxxxxx",
"xxxxxxxxx",
],
receiverChannels: ["DingTalk"],
startTime: "00:00:00",
endTime: "23:59:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [{
key: "Content-Type",
value: "application/json",
}],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "3eaaef0a-134a-4d62-bf48-xxxxxxxxx",
alarmWebhookIntegrationName: "钉钉test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: [
"xxxxxxxxx",
"xxxxxxxxx",
],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
{
receiverType: "User",
receiverNames: [
"xxxxxxxxx",
"xxxxxxxxx",
],
receiverChannels: ["WeChat"],
startTime: "00:00:00",
endTime: "23:59:59",
generalWebhookUrl: "",
generalWebhookMethod: "",
generalWebhookHeaders: [{
key: "Content-Type",
value: "application/json",
}],
generalWebhookBody: "",
alarmContentTemplateId: "default-template",
alarmWebhookIntegrationId: "c0454fd5-6597-4fc9-ad53-xxxxxxxxx",
alarmWebhookIntegrationName: "企业微信test",
alarmWebhookIsAtAll: false,
alarmWebhookAtUsers: [
"xxxxxxxxx",
"xxxxxxxxx",
],
alarmWebhookAtGroups: ["xxxxxxxxx"],
},
],
has_next: false,
has_end_node: false,
},
],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
t_ls_alarm_notify_group_demo = volcenginecc.tls.AlarmNotifyGroup("TLSAlarmNotifyGroupDemo",
alarm_notify_group_name="ccapi-test",
iam_project_name="default",
notice_rules=[
{
"rule_node": "{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Duration\",\">=\",\"5\"]}]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776669310\\\",\\\"1777014911\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"warning\\\",\\\"critical\\\"]\"]}]}",
"receiver_infos": [
{
"receiverType": "User",
"receiverNames": [
"xxxxxxxx",
"xxxxxxx",
],
"receiverChannels": [
"Email",
"Sms",
"Phone",
"GeneralWebhook",
],
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [{
"key": "Content-Type",
"value": "application/json",
}],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": ["xxxxxxxxx"],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
{
"receiverType": "User",
"receiverNames": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"receiverChannels": ["Lark"],
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [{
"key": "Content-Type",
"value": "application/json",
}],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "abc47ee4-9ad3-4c25-803f-xxxxxxxxx",
"alarmWebhookIntegrationName": "飞书test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": ["xxxxxxxxx"],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
{
"receiverType": "UserGroup",
"receiverNames": ["xxxxxxxxx"],
"receiverChannels": [
"Email",
"Phone",
"GeneralWebhook",
],
"startTime": "00:30:00",
"endTime": "23:30:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [{
"key": "Content-Type",
"value": "application/json",
}],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": ["xxxxxxxxx"],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
],
"has_next": True,
"has_end_node": True,
},
{
"rule_node": "{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Alarm\",\"in\",\"[\\\"test1\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"AlarmID\",\"in\",\"[\\\"66fff5a0-af57-43d1-a40d-f2d32605aa61\\\"]\"]}]},{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Duration\",\"==\",\"5\"]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776653008\\\",\\\"1776998606\\\"]\"]}]}]}",
"receiver_infos": [
{
"receiverType": "User",
"receiverNames": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"receiverChannels": [
"Email",
"Sms",
"Phone",
],
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [
{
"key": "Content-Type",
"value": "application/json",
},
{
"key": "env",
"value": "test",
},
],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
{
"receiverType": "UserGroup",
"receiverNames": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"receiverChannels": [
"Email",
"Sms",
"Phone",
],
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [{
"key": "Content-Type",
"value": "application/json",
}],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
{
"receiverType": "User",
"receiverNames": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"receiverChannels": ["Lark"],
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [{
"key": "Content-Type",
"value": "application/json",
}],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "abc47ee4-9ad3-4c25-803f-xxxxxxxxx",
"alarmWebhookIntegrationName": "飞书test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
{
"receiverType": "User",
"receiverNames": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"receiverChannels": ["DingTalk"],
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [{
"key": "Content-Type",
"value": "application/json",
}],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "3eaaef0a-134a-4d62-bf48-xxxxxxxxx",
"alarmWebhookIntegrationName": "钉钉test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
{
"receiverType": "User",
"receiverNames": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"receiverChannels": ["WeChat"],
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": [{
"key": "Content-Type",
"value": "application/json",
}],
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "c0454fd5-6597-4fc9-ad53-xxxxxxxxx",
"alarmWebhookIntegrationName": "企业微信test",
"alarmWebhookIsAtAll": False,
"alarmWebhookAtUsers": [
"xxxxxxxxx",
"xxxxxxxxx",
],
"alarmWebhookAtGroups": ["xxxxxxxxx"],
},
],
"has_next": False,
"has_end_node": False,
},
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.NewAlarmNotifyGroup(ctx, "TLSAlarmNotifyGroupDemo", &tls.AlarmNotifyGroupArgs{
AlarmNotifyGroupName: pulumi.String("ccapi-test"),
IamProjectName: pulumi.String("default"),
NoticeRules: tls.AlarmNotifyGroupNoticeRuleArray{
&tls.AlarmNotifyGroupNoticeRuleArgs{
Rule_node: "{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Duration\",\">=\",\"5\"]}]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776669310\\\",\\\"1777014911\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"warning\\\",\\\"critical\\\"]\"]}]}",
Receiver_infos: []interface{}{
map[string]interface{}{
"receiverType": "User",
"receiverNames": []string{
"xxxxxxxx",
"xxxxxxx",
},
"receiverChannels": []string{
"Email",
"Sms",
"Phone",
"GeneralWebhook",
},
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
map[string]interface{}{
"receiverType": "User",
"receiverNames": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"receiverChannels": []string{
"Lark",
},
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "abc47ee4-9ad3-4c25-803f-xxxxxxxxx",
"alarmWebhookIntegrationName": "飞书test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
map[string]interface{}{
"receiverType": "UserGroup",
"receiverNames": []string{
"xxxxxxxxx",
},
"receiverChannels": []string{
"Email",
"Phone",
"GeneralWebhook",
},
"startTime": "00:30:00",
"endTime": "23:30:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
},
Has_next: true,
Has_end_node: true,
},
&tls.AlarmNotifyGroupNoticeRuleArgs{
Rule_node: "{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Alarm\",\"in\",\"[\\\"test1\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"AlarmID\",\"in\",\"[\\\"66fff5a0-af57-43d1-a40d-f2d32605aa61\\\"]\"]}]},{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Duration\",\"==\",\"5\"]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776653008\\\",\\\"1776998606\\\"]\"]}]}]}",
Receiver_infos: []interface{}{
map[string]interface{}{
"receiverType": "User",
"receiverNames": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"receiverChannels": []string{
"Email",
"Sms",
"Phone",
},
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
map[string]interface{}{
"key": "env",
"value": "test",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
map[string]interface{}{
"receiverType": "UserGroup",
"receiverNames": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"receiverChannels": []string{
"Email",
"Sms",
"Phone",
},
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "aa6d01cd-5cf4-449d-a944-xxxxxxxxx",
"alarmWebhookIntegrationName": "test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
map[string]interface{}{
"receiverType": "User",
"receiverNames": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"receiverChannels": []string{
"Lark",
},
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "abc47ee4-9ad3-4c25-803f-xxxxxxxxx",
"alarmWebhookIntegrationName": "飞书test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
map[string]interface{}{
"receiverType": "User",
"receiverNames": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"receiverChannels": []string{
"DingTalk",
},
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "3eaaef0a-134a-4d62-bf48-xxxxxxxxx",
"alarmWebhookIntegrationName": "钉钉test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
map[string]interface{}{
"receiverType": "User",
"receiverNames": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"receiverChannels": []string{
"WeChat",
},
"startTime": "00:00:00",
"endTime": "23:59:59",
"generalWebhookUrl": "",
"generalWebhookMethod": "",
"generalWebhookHeaders": []map[string]interface{}{
map[string]interface{}{
"key": "Content-Type",
"value": "application/json",
},
},
"generalWebhookBody": "",
"alarmContentTemplateId": "default-template",
"alarmWebhookIntegrationId": "c0454fd5-6597-4fc9-ad53-xxxxxxxxx",
"alarmWebhookIntegrationName": "企业微信test",
"alarmWebhookIsAtAll": false,
"alarmWebhookAtUsers": []string{
"xxxxxxxxx",
"xxxxxxxxx",
},
"alarmWebhookAtGroups": []string{
"xxxxxxxxx",
},
},
},
Has_next: false,
Has_end_node: false,
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var tLSAlarmNotifyGroupDemo = new Volcenginecc.Tls.AlarmNotifyGroup("TLSAlarmNotifyGroupDemo", new()
{
AlarmNotifyGroupName = "ccapi-test",
IamProjectName = "default",
NoticeRules = new[]
{
new Volcenginecc.Tls.Inputs.AlarmNotifyGroupNoticeRuleArgs
{
Rule_node = "{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Duration\",\">=\",\"5\"]}]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776669310\\\",\\\"1777014911\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"warning\\\",\\\"critical\\\"]\"]}]}",
Receiver_infos = new[]
{
{
{ "receiverType", "User" },
{ "receiverNames", new[]
{
"xxxxxxxx",
"xxxxxxx",
} },
{ "receiverChannels", new[]
{
"Email",
"Sms",
"Phone",
"GeneralWebhook",
} },
{ "startTime", "00:00:00" },
{ "endTime", "23:59:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxx" },
{ "alarmWebhookIntegrationName", "test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
{
{ "receiverType", "User" },
{ "receiverNames", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "receiverChannels", new[]
{
"Lark",
} },
{ "startTime", "00:00:00" },
{ "endTime", "23:59:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "abc47ee4-9ad3-4c25-803f-xxxxxxxxx" },
{ "alarmWebhookIntegrationName", "飞书test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
{
{ "receiverType", "UserGroup" },
{ "receiverNames", new[]
{
"xxxxxxxxx",
} },
{ "receiverChannels", new[]
{
"Email",
"Phone",
"GeneralWebhook",
} },
{ "startTime", "00:30:00" },
{ "endTime", "23:30:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxxxx" },
{ "alarmWebhookIntegrationName", "test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
},
Has_next = true,
Has_end_node = true,
},
new Volcenginecc.Tls.Inputs.AlarmNotifyGroupNoticeRuleArgs
{
Rule_node = "{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Alarm\",\"in\",\"[\\\"test1\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"AlarmID\",\"in\",\"[\\\"66fff5a0-af57-43d1-a40d-f2d32605aa61\\\"]\"]}]},{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Duration\",\"==\",\"5\"]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776653008\\\",\\\"1776998606\\\"]\"]}]}]}",
Receiver_infos = new[]
{
{
{ "receiverType", "User" },
{ "receiverNames", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "receiverChannels", new[]
{
"Email",
"Sms",
"Phone",
} },
{ "startTime", "00:00:00" },
{ "endTime", "23:59:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
{
{ "key", "env" },
{ "value", "test" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxxxx" },
{ "alarmWebhookIntegrationName", "test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
{
{ "receiverType", "UserGroup" },
{ "receiverNames", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "receiverChannels", new[]
{
"Email",
"Sms",
"Phone",
} },
{ "startTime", "00:00:00" },
{ "endTime", "23:59:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxxxx" },
{ "alarmWebhookIntegrationName", "test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
{
{ "receiverType", "User" },
{ "receiverNames", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "receiverChannels", new[]
{
"Lark",
} },
{ "startTime", "00:00:00" },
{ "endTime", "23:59:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "abc47ee4-9ad3-4c25-803f-xxxxxxxxx" },
{ "alarmWebhookIntegrationName", "飞书test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
{
{ "receiverType", "User" },
{ "receiverNames", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "receiverChannels", new[]
{
"DingTalk",
} },
{ "startTime", "00:00:00" },
{ "endTime", "23:59:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "3eaaef0a-134a-4d62-bf48-xxxxxxxxx" },
{ "alarmWebhookIntegrationName", "钉钉test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
{
{ "receiverType", "User" },
{ "receiverNames", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "receiverChannels", new[]
{
"WeChat",
} },
{ "startTime", "00:00:00" },
{ "endTime", "23:59:59" },
{ "generalWebhookUrl", "" },
{ "generalWebhookMethod", "" },
{ "generalWebhookHeaders", new[]
{
{
{ "key", "Content-Type" },
{ "value", "application/json" },
},
} },
{ "generalWebhookBody", "" },
{ "alarmContentTemplateId", "default-template" },
{ "alarmWebhookIntegrationId", "c0454fd5-6597-4fc9-ad53-xxxxxxxxx" },
{ "alarmWebhookIntegrationName", "企业微信test" },
{ "alarmWebhookIsAtAll", false },
{ "alarmWebhookAtUsers", new[]
{
"xxxxxxxxx",
"xxxxxxxxx",
} },
{ "alarmWebhookAtGroups", new[]
{
"xxxxxxxxx",
} },
},
},
Has_next = false,
Has_end_node = false,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.tls.AlarmNotifyGroup;
import com.volcengine.volcenginecc.tls.AlarmNotifyGroupArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmNotifyGroupNoticeRuleArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 tLSAlarmNotifyGroupDemo = new AlarmNotifyGroup("tLSAlarmNotifyGroupDemo", AlarmNotifyGroupArgs.builder()
.alarmNotifyGroupName("ccapi-test")
.iamProjectName("default")
.noticeRules(
AlarmNotifyGroupNoticeRuleArgs.builder()
.rule_node("{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Duration\",\">=\",\"5\"]}]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776669310\\\",\\\"1777014911\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"warning\\\",\\\"critical\\\"]\"]}]}")
.receiver_infos(Arrays.asList(
Map.ofEntries(
Map.entry("receiverType", "User"),
Map.entry("receiverNames", Arrays.asList(
"xxxxxxxx",
"xxxxxxx")),
Map.entry("receiverChannels", Arrays.asList(
"Email",
"Sms",
"Phone",
"GeneralWebhook")),
Map.entry("startTime", "00:00:00"),
Map.entry("endTime", "23:59:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList("xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
),
Map.ofEntries(
Map.entry("receiverType", "User"),
Map.entry("receiverNames", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("receiverChannels", Arrays.asList("Lark")),
Map.entry("startTime", "00:00:00"),
Map.entry("endTime", "23:59:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "abc47ee4-9ad3-4c25-803f-xxxxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "飞书test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList("xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
),
Map.ofEntries(
Map.entry("receiverType", "UserGroup"),
Map.entry("receiverNames", Arrays.asList("xxxxxxxxx")),
Map.entry("receiverChannels", Arrays.asList(
"Email",
"Phone",
"GeneralWebhook")),
Map.entry("startTime", "00:30:00"),
Map.entry("endTime", "23:30:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList("xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
)))
.has_next(true)
.has_end_node(true)
.build(),
AlarmNotifyGroupNoticeRuleArgs.builder()
.rule_node("{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Alarm\",\"in\",\"[\\\"test1\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"AlarmID\",\"in\",\"[\\\"66fff5a0-af57-43d1-a40d-f2d32605aa61\\\"]\"]}]},{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Duration\",\"==\",\"5\"]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776653008\\\",\\\"1776998606\\\"]\"]}]}]}")
.receiver_infos(Arrays.asList(
Map.ofEntries(
Map.entry("receiverType", "User"),
Map.entry("receiverNames", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("receiverChannels", Arrays.asList(
"Email",
"Sms",
"Phone")),
Map.entry("startTime", "00:00:00"),
Map.entry("endTime", "23:59:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(
Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
),
Map.ofEntries(
Map.entry("key", "env"),
Map.entry("value", "test")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
),
Map.ofEntries(
Map.entry("receiverType", "UserGroup"),
Map.entry("receiverNames", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("receiverChannels", Arrays.asList(
"Email",
"Sms",
"Phone")),
Map.entry("startTime", "00:00:00"),
Map.entry("endTime", "23:59:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "aa6d01cd-5cf4-449d-a944-xxxxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
),
Map.ofEntries(
Map.entry("receiverType", "User"),
Map.entry("receiverNames", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("receiverChannels", Arrays.asList("Lark")),
Map.entry("startTime", "00:00:00"),
Map.entry("endTime", "23:59:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "abc47ee4-9ad3-4c25-803f-xxxxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "飞书test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
),
Map.ofEntries(
Map.entry("receiverType", "User"),
Map.entry("receiverNames", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("receiverChannels", Arrays.asList("DingTalk")),
Map.entry("startTime", "00:00:00"),
Map.entry("endTime", "23:59:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "3eaaef0a-134a-4d62-bf48-xxxxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "钉钉test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
),
Map.ofEntries(
Map.entry("receiverType", "User"),
Map.entry("receiverNames", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("receiverChannels", Arrays.asList("WeChat")),
Map.entry("startTime", "00:00:00"),
Map.entry("endTime", "23:59:59"),
Map.entry("generalWebhookUrl", ""),
Map.entry("generalWebhookMethod", ""),
Map.entry("generalWebhookHeaders", Arrays.asList(Map.ofEntries(
Map.entry("key", "Content-Type"),
Map.entry("value", "application/json")
))),
Map.entry("generalWebhookBody", ""),
Map.entry("alarmContentTemplateId", "default-template"),
Map.entry("alarmWebhookIntegrationId", "c0454fd5-6597-4fc9-ad53-xxxxxxxxx"),
Map.entry("alarmWebhookIntegrationName", "企业微信test"),
Map.entry("alarmWebhookIsAtAll", false),
Map.entry("alarmWebhookAtUsers", Arrays.asList(
"xxxxxxxxx",
"xxxxxxxxx")),
Map.entry("alarmWebhookAtGroups", Arrays.asList("xxxxxxxxx"))
)))
.has_next(false)
.has_end_node(false)
.build())
.build());
}
}
resources:
tLSAlarmNotifyGroupDemo:
type: volcenginecc:tls:AlarmNotifyGroup
name: TLSAlarmNotifyGroupDemo
properties:
alarmNotifyGroupName: ccapi-test
iamProjectName: default
noticeRules:
- rule_node: '{"Type":"Operation","Value":["OR"],"Children":[{"Type":"Operation","Value":["AND"],"Children":[{"Type":"Operation","Value":["OR"],"Children":[{"Type":"Condition","Value":["Severity","in","[\"notice\"]"]},{"Type":"Condition","Value":["Duration",">=","5"]}]},{"Type":"Condition","Value":["NotifyTime","in","[\"1776669310\",\"1777014911\"]"]}]},{"Type":"Condition","Value":["Severity","in","[\"warning\",\"critical\"]"]}]}'
receiver_infos:
- receiverType: User
receiverNames:
- xxxxxxxx
- xxxxxxx
receiverChannels:
- Email
- Sms
- Phone
- GeneralWebhook
startTime: 00:00:00
endTime: 23:59:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: aa6d01cd-5cf4-449d-a944-xxxxxxx
alarmWebhookIntegrationName: test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
- receiverType: User
receiverNames:
- xxxxxxxxx
- xxxxxxxxx
receiverChannels:
- Lark
startTime: 00:00:00
endTime: 23:59:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: abc47ee4-9ad3-4c25-803f-xxxxxxxxx
alarmWebhookIntegrationName: 飞书test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
- receiverType: UserGroup
receiverNames:
- xxxxxxxxx
receiverChannels:
- Email
- Phone
- GeneralWebhook
startTime: 00:30:00
endTime: 23:30:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: aa6d01cd-5cf4-449d-a944-xxxxxxxxx
alarmWebhookIntegrationName: test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
has_next: true
has_end_node: true
- rule_node: '{"Type":"Operation","Value":["AND"],"Children":[{"Type":"Operation","Value":["OR"],"Children":[{"Type":"Operation","Value":["AND"],"Children":[{"Type":"Condition","Value":["Severity","in","[\"notice\"]"]},{"Type":"Condition","Value":["Alarm","in","[\"test1\"]"]}]},{"Type":"Condition","Value":["AlarmID","in","[\"66fff5a0-af57-43d1-a40d-f2d32605aa61\"]"]}]},{"Type":"Operation","Value":["AND"],"Children":[{"Type":"Condition","Value":["Duration","==","5"]},{"Type":"Condition","Value":["NotifyTime","in","[\"1776653008\",\"1776998606\"]"]}]}]}'
receiver_infos:
- receiverType: User
receiverNames:
- xxxxxxxxx
- xxxxxxxxx
receiverChannels:
- Email
- Sms
- Phone
startTime: 00:00:00
endTime: 23:59:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
- key: env
value: test
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: aa6d01cd-5cf4-449d-a944-xxxxxxxxx
alarmWebhookIntegrationName: test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
- receiverType: UserGroup
receiverNames:
- xxxxxxxxx
- xxxxxxxxx
receiverChannels:
- Email
- Sms
- Phone
startTime: 00:00:00
endTime: 23:59:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: aa6d01cd-5cf4-449d-a944-xxxxxxxxx
alarmWebhookIntegrationName: test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
- receiverType: User
receiverNames:
- xxxxxxxxx
- xxxxxxxxx
receiverChannels:
- Lark
startTime: 00:00:00
endTime: 23:59:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: abc47ee4-9ad3-4c25-803f-xxxxxxxxx
alarmWebhookIntegrationName: 飞书test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
- receiverType: User
receiverNames:
- xxxxxxxxx
- xxxxxxxxx
receiverChannels:
- DingTalk
startTime: 00:00:00
endTime: 23:59:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: 3eaaef0a-134a-4d62-bf48-xxxxxxxxx
alarmWebhookIntegrationName: 钉钉test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
- receiverType: User
receiverNames:
- xxxxxxxxx
- xxxxxxxxx
receiverChannels:
- WeChat
startTime: 00:00:00
endTime: 23:59:59
generalWebhookUrl: ""
generalWebhookMethod: ""
generalWebhookHeaders:
- key: Content-Type
value: application/json
generalWebhookBody: ""
alarmContentTemplateId: default-template
alarmWebhookIntegrationId: c0454fd5-6597-4fc9-ad53-xxxxxxxxx
alarmWebhookIntegrationName: 企业微信test
alarmWebhookIsAtAll: false
alarmWebhookAtUsers:
- xxxxxxxxx
- xxxxxxxxx
alarmWebhookAtGroups:
- xxxxxxxxx
has_next: false
has_end_node: false
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_tls_alarmnotifygroup" "TLSAlarmNotifyGroupDemo" {
alarm_notify_group_name = "ccapi-test"
iam_project_name = "default"
notice_rules {
rule_node = "{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Duration\",\">=\",\"5\"]}]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776669310\\\",\\\"1777014911\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"warning\\\",\\\"critical\\\"]\"]}]}"
receiver_infos = [{
"receiverType" = "User"
"receiverNames" = ["xxxxxxxx", "xxxxxxx"]
"receiverChannels" = ["Email", "Sms", "Phone", "GeneralWebhook"]
"startTime" = "00:00:00"
"endTime" = "23:59:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "aa6d01cd-5cf4-449d-a944-xxxxxxx"
"alarmWebhookIntegrationName" = "test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}, {
"receiverType" = "User"
"receiverNames" = ["xxxxxxxxx", "xxxxxxxxx"]
"receiverChannels" = ["Lark"]
"startTime" = "00:00:00"
"endTime" = "23:59:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "abc47ee4-9ad3-4c25-803f-xxxxxxxxx"
"alarmWebhookIntegrationName" = "飞书test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}, {
"receiverType" = "UserGroup"
"receiverNames" = ["xxxxxxxxx"]
"receiverChannels" = ["Email", "Phone", "GeneralWebhook"]
"startTime" = "00:30:00"
"endTime" = "23:30:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "aa6d01cd-5cf4-449d-a944-xxxxxxxxx"
"alarmWebhookIntegrationName" = "test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}]
has_next = true
has_end_node = true
}
notice_rules {
rule_node = "{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"OR\"],\"Children\":[{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Severity\",\"in\",\"[\\\"notice\\\"]\"]},{\"Type\":\"Condition\",\"Value\":[\"Alarm\",\"in\",\"[\\\"test1\\\"]\"]}]},{\"Type\":\"Condition\",\"Value\":[\"AlarmID\",\"in\",\"[\\\"66fff5a0-af57-43d1-a40d-f2d32605aa61\\\"]\"]}]},{\"Type\":\"Operation\",\"Value\":[\"AND\"],\"Children\":[{\"Type\":\"Condition\",\"Value\":[\"Duration\",\"==\",\"5\"]},{\"Type\":\"Condition\",\"Value\":[\"NotifyTime\",\"in\",\"[\\\"1776653008\\\",\\\"1776998606\\\"]\"]}]}]}"
receiver_infos = [{
"receiverType" = "User"
"receiverNames" = ["xxxxxxxxx", "xxxxxxxxx"]
"receiverChannels" = ["Email", "Sms", "Phone"]
"startTime" = "00:00:00"
"endTime" = "23:59:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}, {
"key" = "env"
"value" = "test"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "aa6d01cd-5cf4-449d-a944-xxxxxxxxx"
"alarmWebhookIntegrationName" = "test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx", "xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}, {
"receiverType" = "UserGroup"
"receiverNames" = ["xxxxxxxxx", "xxxxxxxxx"]
"receiverChannels" = ["Email", "Sms", "Phone"]
"startTime" = "00:00:00"
"endTime" = "23:59:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "aa6d01cd-5cf4-449d-a944-xxxxxxxxx"
"alarmWebhookIntegrationName" = "test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx", "xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}, {
"receiverType" = "User"
"receiverNames" = ["xxxxxxxxx", "xxxxxxxxx"]
"receiverChannels" = ["Lark"]
"startTime" = "00:00:00"
"endTime" = "23:59:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "abc47ee4-9ad3-4c25-803f-xxxxxxxxx"
"alarmWebhookIntegrationName" = "飞书test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx", "xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}, {
"receiverType" = "User"
"receiverNames" = ["xxxxxxxxx", "xxxxxxxxx"]
"receiverChannels" = ["DingTalk"]
"startTime" = "00:00:00"
"endTime" = "23:59:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "3eaaef0a-134a-4d62-bf48-xxxxxxxxx"
"alarmWebhookIntegrationName" = "钉钉test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx", "xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}, {
"receiverType" = "User"
"receiverNames" = ["xxxxxxxxx", "xxxxxxxxx"]
"receiverChannels" = ["WeChat"]
"startTime" = "00:00:00"
"endTime" = "23:59:59"
"generalWebhookUrl" = ""
"generalWebhookMethod" = ""
"generalWebhookHeaders" = [{
"key" = "Content-Type"
"value" = "application/json"
}]
"generalWebhookBody" = ""
"alarmContentTemplateId" = "default-template"
"alarmWebhookIntegrationId" = "c0454fd5-6597-4fc9-ad53-xxxxxxxxx"
"alarmWebhookIntegrationName" = "企业微信test"
"alarmWebhookIsAtAll" = false
"alarmWebhookAtUsers" = ["xxxxxxxxx", "xxxxxxxxx"]
"alarmWebhookAtGroups" = ["xxxxxxxxx"]
}]
has_next = false
has_end_node = false
}
}
Create AlarmNotifyGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlarmNotifyGroup(name: string, args: AlarmNotifyGroupArgs, opts?: CustomResourceOptions);@overload
def AlarmNotifyGroup(resource_name: str,
args: AlarmNotifyGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlarmNotifyGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
alarm_notify_group_name: Optional[str] = None,
iam_project_name: Optional[str] = None,
notice_rules: Optional[Sequence[AlarmNotifyGroupNoticeRuleArgs]] = None,
notify_types: Optional[Sequence[str]] = None,
receivers: Optional[Sequence[AlarmNotifyGroupReceiverArgs]] = None)func NewAlarmNotifyGroup(ctx *Context, name string, args AlarmNotifyGroupArgs, opts ...ResourceOption) (*AlarmNotifyGroup, error)public AlarmNotifyGroup(string name, AlarmNotifyGroupArgs args, CustomResourceOptions? opts = null)
public AlarmNotifyGroup(String name, AlarmNotifyGroupArgs args)
public AlarmNotifyGroup(String name, AlarmNotifyGroupArgs args, CustomResourceOptions options)
type: volcenginecc:tls:AlarmNotifyGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_tls_alarm_notify_group" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AlarmNotifyGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlarmNotifyGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlarmNotifyGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlarmNotifyGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlarmNotifyGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alarmNotifyGroupResource = new Volcenginecc.Tls.AlarmNotifyGroup("alarmNotifyGroupResource", new()
{
AlarmNotifyGroupName = "string",
IamProjectName = "string",
NoticeRules = new[]
{
new Volcenginecc.Tls.Inputs.AlarmNotifyGroupNoticeRuleArgs
{
HasEndNode = false,
HasNext = false,
ReceiverInfos = new[]
{
new Volcenginecc.Tls.Inputs.AlarmNotifyGroupNoticeRuleReceiverInfoArgs
{
AlarmContentTemplateId = "string",
AlarmWebhookAtGroups = new[]
{
"string",
},
AlarmWebhookAtUsers = new[]
{
"string",
},
AlarmWebhookIntegrationId = "string",
AlarmWebhookIntegrationName = "string",
AlarmWebhookIsAtAll = false,
EndTime = "string",
GeneralWebhookBody = "string",
GeneralWebhookHeaders = new[]
{
new Volcenginecc.Tls.Inputs.AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs
{
Key = "string",
Value = "string",
},
},
GeneralWebhookMethod = "string",
GeneralWebhookUrl = "string",
ReceiverChannels = new[]
{
"string",
},
ReceiverNames = new[]
{
"string",
},
ReceiverType = "string",
StartTime = "string",
},
},
RuleNode = "string",
},
},
NotifyTypes = new[]
{
"string",
},
Receivers = new[]
{
new Volcenginecc.Tls.Inputs.AlarmNotifyGroupReceiverArgs
{
AlarmContentTemplateId = "string",
AlarmWebhookAtGroups = new[]
{
"string",
},
AlarmWebhookAtUsers = new[]
{
"string",
},
AlarmWebhookIntegrationId = "string",
AlarmWebhookIntegrationName = "string",
AlarmWebhookIsAtAll = false,
EndTime = "string",
GeneralWebhookBody = "string",
GeneralWebhookHeaders = new[]
{
new Volcenginecc.Tls.Inputs.AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs
{
Key = "string",
Value = "string",
},
},
GeneralWebhookMethod = "string",
GeneralWebhookUrl = "string",
ReceiverChannels = new[]
{
"string",
},
ReceiverNames = new[]
{
"string",
},
ReceiverType = "string",
StartTime = "string",
},
},
});
example, err := tls.NewAlarmNotifyGroup(ctx, "alarmNotifyGroupResource", &tls.AlarmNotifyGroupArgs{
AlarmNotifyGroupName: pulumi.String("string"),
IamProjectName: pulumi.String("string"),
NoticeRules: tls.AlarmNotifyGroupNoticeRuleArray{
&tls.AlarmNotifyGroupNoticeRuleArgs{
HasEndNode: pulumi.Bool(false),
HasNext: pulumi.Bool(false),
ReceiverInfos: tls.AlarmNotifyGroupNoticeRuleReceiverInfoArray{
&tls.AlarmNotifyGroupNoticeRuleReceiverInfoArgs{
AlarmContentTemplateId: pulumi.String("string"),
AlarmWebhookAtGroups: pulumi.StringArray{
pulumi.String("string"),
},
AlarmWebhookAtUsers: pulumi.StringArray{
pulumi.String("string"),
},
AlarmWebhookIntegrationId: pulumi.String("string"),
AlarmWebhookIntegrationName: pulumi.String("string"),
AlarmWebhookIsAtAll: pulumi.Bool(false),
EndTime: pulumi.String("string"),
GeneralWebhookBody: pulumi.String("string"),
GeneralWebhookHeaders: tls.AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArray{
&tls.AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
GeneralWebhookMethod: pulumi.String("string"),
GeneralWebhookUrl: pulumi.String("string"),
ReceiverChannels: pulumi.StringArray{
pulumi.String("string"),
},
ReceiverNames: pulumi.StringArray{
pulumi.String("string"),
},
ReceiverType: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
RuleNode: pulumi.String("string"),
},
},
NotifyTypes: pulumi.StringArray{
pulumi.String("string"),
},
Receivers: tls.AlarmNotifyGroupReceiverArray{
&tls.AlarmNotifyGroupReceiverArgs{
AlarmContentTemplateId: pulumi.String("string"),
AlarmWebhookAtGroups: pulumi.StringArray{
pulumi.String("string"),
},
AlarmWebhookAtUsers: pulumi.StringArray{
pulumi.String("string"),
},
AlarmWebhookIntegrationId: pulumi.String("string"),
AlarmWebhookIntegrationName: pulumi.String("string"),
AlarmWebhookIsAtAll: pulumi.Bool(false),
EndTime: pulumi.String("string"),
GeneralWebhookBody: pulumi.String("string"),
GeneralWebhookHeaders: tls.AlarmNotifyGroupReceiverGeneralWebhookHeaderArray{
&tls.AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
GeneralWebhookMethod: pulumi.String("string"),
GeneralWebhookUrl: pulumi.String("string"),
ReceiverChannels: pulumi.StringArray{
pulumi.String("string"),
},
ReceiverNames: pulumi.StringArray{
pulumi.String("string"),
},
ReceiverType: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
})
resource "volcenginecc_tls_alarm_notify_group" "alarmNotifyGroupResource" {
lifecycle {
create_before_destroy = true
}
alarm_notify_group_name = "string"
iam_project_name = "string"
notice_rules {
has_end_node = false
has_next = false
receiver_infos {
alarm_content_template_id = "string"
alarm_webhook_at_groups = ["string"]
alarm_webhook_at_users = ["string"]
alarm_webhook_integration_id = "string"
alarm_webhook_integration_name = "string"
alarm_webhook_is_at_all = false
end_time = "string"
general_webhook_body = "string"
general_webhook_headers {
key = "string"
value = "string"
}
general_webhook_method = "string"
general_webhook_url = "string"
receiver_channels = ["string"]
receiver_names = ["string"]
receiver_type = "string"
start_time = "string"
}
rule_node = "string"
}
notify_types = ["string"]
receivers {
alarm_content_template_id = "string"
alarm_webhook_at_groups = ["string"]
alarm_webhook_at_users = ["string"]
alarm_webhook_integration_id = "string"
alarm_webhook_integration_name = "string"
alarm_webhook_is_at_all = false
end_time = "string"
general_webhook_body = "string"
general_webhook_headers {
key = "string"
value = "string"
}
general_webhook_method = "string"
general_webhook_url = "string"
receiver_channels = ["string"]
receiver_names = ["string"]
receiver_type = "string"
start_time = "string"
}
}
var alarmNotifyGroupResource = new AlarmNotifyGroup("alarmNotifyGroupResource", AlarmNotifyGroupArgs.builder()
.alarmNotifyGroupName("string")
.iamProjectName("string")
.noticeRules(AlarmNotifyGroupNoticeRuleArgs.builder()
.hasEndNode(false)
.hasNext(false)
.receiverInfos(AlarmNotifyGroupNoticeRuleReceiverInfoArgs.builder()
.alarmContentTemplateId("string")
.alarmWebhookAtGroups("string")
.alarmWebhookAtUsers("string")
.alarmWebhookIntegrationId("string")
.alarmWebhookIntegrationName("string")
.alarmWebhookIsAtAll(false)
.endTime("string")
.generalWebhookBody("string")
.generalWebhookHeaders(AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs.builder()
.key("string")
.value("string")
.build())
.generalWebhookMethod("string")
.generalWebhookUrl("string")
.receiverChannels("string")
.receiverNames("string")
.receiverType("string")
.startTime("string")
.build())
.ruleNode("string")
.build())
.notifyTypes("string")
.receivers(AlarmNotifyGroupReceiverArgs.builder()
.alarmContentTemplateId("string")
.alarmWebhookAtGroups("string")
.alarmWebhookAtUsers("string")
.alarmWebhookIntegrationId("string")
.alarmWebhookIntegrationName("string")
.alarmWebhookIsAtAll(false)
.endTime("string")
.generalWebhookBody("string")
.generalWebhookHeaders(AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs.builder()
.key("string")
.value("string")
.build())
.generalWebhookMethod("string")
.generalWebhookUrl("string")
.receiverChannels("string")
.receiverNames("string")
.receiverType("string")
.startTime("string")
.build())
.build());
alarm_notify_group_resource = volcenginecc.tls.AlarmNotifyGroup("alarmNotifyGroupResource",
alarm_notify_group_name="string",
iam_project_name="string",
notice_rules=[{
"has_end_node": False,
"has_next": False,
"receiver_infos": [{
"alarm_content_template_id": "string",
"alarm_webhook_at_groups": ["string"],
"alarm_webhook_at_users": ["string"],
"alarm_webhook_integration_id": "string",
"alarm_webhook_integration_name": "string",
"alarm_webhook_is_at_all": False,
"end_time": "string",
"general_webhook_body": "string",
"general_webhook_headers": [{
"key": "string",
"value": "string",
}],
"general_webhook_method": "string",
"general_webhook_url": "string",
"receiver_channels": ["string"],
"receiver_names": ["string"],
"receiver_type": "string",
"start_time": "string",
}],
"rule_node": "string",
}],
notify_types=["string"],
receivers=[{
"alarm_content_template_id": "string",
"alarm_webhook_at_groups": ["string"],
"alarm_webhook_at_users": ["string"],
"alarm_webhook_integration_id": "string",
"alarm_webhook_integration_name": "string",
"alarm_webhook_is_at_all": False,
"end_time": "string",
"general_webhook_body": "string",
"general_webhook_headers": [{
"key": "string",
"value": "string",
}],
"general_webhook_method": "string",
"general_webhook_url": "string",
"receiver_channels": ["string"],
"receiver_names": ["string"],
"receiver_type": "string",
"start_time": "string",
}])
const alarmNotifyGroupResource = new volcenginecc.tls.AlarmNotifyGroup("alarmNotifyGroupResource", {
alarmNotifyGroupName: "string",
iamProjectName: "string",
noticeRules: [{
hasEndNode: false,
hasNext: false,
receiverInfos: [{
alarmContentTemplateId: "string",
alarmWebhookAtGroups: ["string"],
alarmWebhookAtUsers: ["string"],
alarmWebhookIntegrationId: "string",
alarmWebhookIntegrationName: "string",
alarmWebhookIsAtAll: false,
endTime: "string",
generalWebhookBody: "string",
generalWebhookHeaders: [{
key: "string",
value: "string",
}],
generalWebhookMethod: "string",
generalWebhookUrl: "string",
receiverChannels: ["string"],
receiverNames: ["string"],
receiverType: "string",
startTime: "string",
}],
ruleNode: "string",
}],
notifyTypes: ["string"],
receivers: [{
alarmContentTemplateId: "string",
alarmWebhookAtGroups: ["string"],
alarmWebhookAtUsers: ["string"],
alarmWebhookIntegrationId: "string",
alarmWebhookIntegrationName: "string",
alarmWebhookIsAtAll: false,
endTime: "string",
generalWebhookBody: "string",
generalWebhookHeaders: [{
key: "string",
value: "string",
}],
generalWebhookMethod: "string",
generalWebhookUrl: "string",
receiverChannels: ["string"],
receiverNames: ["string"],
receiverType: "string",
startTime: "string",
}],
});
type: volcenginecc:tls:AlarmNotifyGroup
properties:
alarmNotifyGroupName: string
iamProjectName: string
noticeRules:
- hasEndNode: false
hasNext: false
receiverInfos:
- alarmContentTemplateId: string
alarmWebhookAtGroups:
- string
alarmWebhookAtUsers:
- string
alarmWebhookIntegrationId: string
alarmWebhookIntegrationName: string
alarmWebhookIsAtAll: false
endTime: string
generalWebhookBody: string
generalWebhookHeaders:
- key: string
value: string
generalWebhookMethod: string
generalWebhookUrl: string
receiverChannels:
- string
receiverNames:
- string
receiverType: string
startTime: string
ruleNode: string
notifyTypes:
- string
receivers:
- alarmContentTemplateId: string
alarmWebhookAtGroups:
- string
alarmWebhookAtUsers:
- string
alarmWebhookIntegrationId: string
alarmWebhookIntegrationName: string
alarmWebhookIsAtAll: false
endTime: string
generalWebhookBody: string
generalWebhookHeaders:
- key: string
value: string
generalWebhookMethod: string
generalWebhookUrl: string
receiverChannels:
- string
receiverNames:
- string
receiverType: string
startTime: string
AlarmNotifyGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AlarmNotifyGroup resource accepts the following input properties:
- Alarm
Notify stringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- Iam
Project stringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- Notice
Rules List<Volcengine.Alarm Notify Group Notice Rule> - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Notify
Types List<string> - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- Receivers
List<Volcengine.
Alarm Notify Group Receiver> - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Alarm
Notify stringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- Iam
Project stringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- Notice
Rules []AlarmNotify Group Notice Rule Args - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Notify
Types []string - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- Receivers
[]Alarm
Notify Group Receiver Args - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- alarm_
notify_ stringgroup_ name - Alarm notification group name. Refer to the resource naming rules.
- iam_
project_ stringname - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice_
rules list(object) - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify_
types list(string) - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers list(object)
- IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- alarm
Notify StringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- iam
Project StringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice
Rules List<AlarmNotify Group Notice Rule> - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify
Types List<String> - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers
List<Alarm
Notify Group Receiver> - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- alarm
Notify stringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- iam
Project stringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice
Rules AlarmNotify Group Notice Rule[] - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify
Types string[] - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers
Alarm
Notify Group Receiver[] - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- alarm_
notify_ strgroup_ name - Alarm notification group name. Refer to the resource naming rules.
- iam_
project_ strname - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice_
rules Sequence[AlarmNotify Group Notice Rule Args] - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify_
types Sequence[str] - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers
Sequence[Alarm
Notify Group Receiver Args] - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- alarm
Notify StringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- iam
Project StringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice
Rules List<Property Map> - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify
Types List<String> - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers List<Property Map>
- IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlarmNotifyGroup resource produces the following output properties:
- Alarm
Notify stringGroup Id - Alarm notification group ID.
- Created
Time string - Time when the alarm notification group was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
Time string - Time when the alarm notification group was modified.
- Alarm
Notify stringGroup Id - Alarm notification group ID.
- Created
Time string - Time when the alarm notification group was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
Time string - Time when the alarm notification group was modified.
- alarm_
notify_ stringgroup_ id - Alarm notification group ID.
- created_
time string - Time when the alarm notification group was created.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
time string - Time when the alarm notification group was modified.
- alarm
Notify StringGroup Id - Alarm notification group ID.
- created
Time String - Time when the alarm notification group was created.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
Time String - Time when the alarm notification group was modified.
- alarm
Notify stringGroup Id - Alarm notification group ID.
- created
Time string - Time when the alarm notification group was created.
- id string
- The provider-assigned unique ID for this managed resource.
- updated
Time string - Time when the alarm notification group was modified.
- alarm_
notify_ strgroup_ id - Alarm notification group ID.
- created_
time str - Time when the alarm notification group was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
time str - Time when the alarm notification group was modified.
- alarm
Notify StringGroup Id - Alarm notification group ID.
- created
Time String - Time when the alarm notification group was created.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
Time String - Time when the alarm notification group was modified.
Look up Existing AlarmNotifyGroup Resource
Get an existing AlarmNotifyGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AlarmNotifyGroupState, opts?: CustomResourceOptions): AlarmNotifyGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alarm_notify_group_id: Optional[str] = None,
alarm_notify_group_name: Optional[str] = None,
created_time: Optional[str] = None,
iam_project_name: Optional[str] = None,
notice_rules: Optional[Sequence[AlarmNotifyGroupNoticeRuleArgs]] = None,
notify_types: Optional[Sequence[str]] = None,
receivers: Optional[Sequence[AlarmNotifyGroupReceiverArgs]] = None,
updated_time: Optional[str] = None) -> AlarmNotifyGroupfunc GetAlarmNotifyGroup(ctx *Context, name string, id IDInput, state *AlarmNotifyGroupState, opts ...ResourceOption) (*AlarmNotifyGroup, error)public static AlarmNotifyGroup Get(string name, Input<string> id, AlarmNotifyGroupState? state, CustomResourceOptions? opts = null)public static AlarmNotifyGroup get(String name, Output<String> id, AlarmNotifyGroupState state, CustomResourceOptions options)resources: _: type: volcenginecc:tls:AlarmNotifyGroup get: id: ${id}import {
to = volcenginecc_tls_alarm_notify_group.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alarm
Notify stringGroup Id - Alarm notification group ID.
- Alarm
Notify stringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- Created
Time string - Time when the alarm notification group was created.
- Iam
Project stringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- Notice
Rules List<Volcengine.Alarm Notify Group Notice Rule> - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Notify
Types List<string> - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- Receivers
List<Volcengine.
Alarm Notify Group Receiver> - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Updated
Time string - Time when the alarm notification group was modified.
- Alarm
Notify stringGroup Id - Alarm notification group ID.
- Alarm
Notify stringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- Created
Time string - Time when the alarm notification group was created.
- Iam
Project stringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- Notice
Rules []AlarmNotify Group Notice Rule Args - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Notify
Types []string - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- Receivers
[]Alarm
Notify Group Receiver Args - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Updated
Time string - Time when the alarm notification group was modified.
- alarm_
notify_ stringgroup_ id - Alarm notification group ID.
- alarm_
notify_ stringgroup_ name - Alarm notification group name. Refer to the resource naming rules.
- created_
time string - Time when the alarm notification group was created.
- iam_
project_ stringname - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice_
rules list(object) - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify_
types list(string) - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers list(object)
- IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated_
time string - Time when the alarm notification group was modified.
- alarm
Notify StringGroup Id - Alarm notification group ID.
- alarm
Notify StringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- created
Time String - Time when the alarm notification group was created.
- iam
Project StringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice
Rules List<AlarmNotify Group Notice Rule> - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify
Types List<String> - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers
List<Alarm
Notify Group Receiver> - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time String - Time when the alarm notification group was modified.
- alarm
Notify stringGroup Id - Alarm notification group ID.
- alarm
Notify stringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- created
Time string - Time when the alarm notification group was created.
- iam
Project stringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice
Rules AlarmNotify Group Notice Rule[] - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify
Types string[] - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers
Alarm
Notify Group Receiver[] - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time string - Time when the alarm notification group was modified.
- alarm_
notify_ strgroup_ id - Alarm notification group ID.
- alarm_
notify_ strgroup_ name - Alarm notification group name. Refer to the resource naming rules.
- created_
time str - Time when the alarm notification group was created.
- iam_
project_ strname - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice_
rules Sequence[AlarmNotify Group Notice Rule Args] - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify_
types Sequence[str] - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers
Sequence[Alarm
Notify Group Receiver Args] - IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated_
time str - Time when the alarm notification group was modified.
- alarm
Notify StringGroup Id - Alarm notification group ID.
- alarm
Notify StringGroup Name - Alarm notification group name. Refer to the resource naming rules.
- created
Time String - Time when the alarm notification group was created.
- iam
Project StringName - Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
- notice
Rules List<Property Map> - Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- notify
Types List<String> - Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
- receivers List<Property Map>
- IAM user list to receive alarms. You can set 1–10 IAM users. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time String - Time when the alarm notification group was modified.
Supporting Types
AlarmNotifyGroupNoticeRule, AlarmNotifyGroupNoticeRuleArgs
- Has
End boolNode - Whether there is an end node afterwards.
- Has
Next bool - Condition for whether to proceed to the next level.
- Receiver
Infos List<Volcengine.Alarm Notify Group Notice Rule Receiver Info> - Notification channel information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Rule
Node string - Rule node. JSON format.
- Has
End boolNode - Whether there is an end node afterwards.
- Has
Next bool - Condition for whether to proceed to the next level.
- Receiver
Infos []AlarmNotify Group Notice Rule Receiver Info - Notification channel information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Rule
Node string - Rule node. JSON format.
- has_
end_ boolnode - Whether there is an end node afterwards.
- has_
next bool - Condition for whether to proceed to the next level.
- receiver_
infos list(object) - Notification channel information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- rule_
node string - Rule node. JSON format.
- has
End BooleanNode - Whether there is an end node afterwards.
- has
Next Boolean - Condition for whether to proceed to the next level.
- receiver
Infos List<AlarmNotify Group Notice Rule Receiver Info> - Notification channel information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- rule
Node String - Rule node. JSON format.
- has
End booleanNode - Whether there is an end node afterwards.
- has
Next boolean - Condition for whether to proceed to the next level.
- receiver
Infos AlarmNotify Group Notice Rule Receiver Info[] - Notification channel information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- rule
Node string - Rule node. JSON format.
- has_
end_ boolnode - Whether there is an end node afterwards.
- has_
next bool - Condition for whether to proceed to the next level.
- receiver_
infos Sequence[AlarmNotify Group Notice Rule Receiver Info] - Notification channel information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- rule_
node str - Rule node. JSON format.
- has
End BooleanNode - Whether there is an end node afterwards.
- has
Next Boolean - Condition for whether to proceed to the next level.
- receiver
Infos List<Property Map> - Notification channel information. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- rule
Node String - Rule node. JSON format.
AlarmNotifyGroupNoticeRuleReceiverInfo, AlarmNotifyGroupNoticeRuleReceiverInfoArgs
- Alarm
Content stringTemplate Id - Alarm content template ID.
- Alarm
Webhook List<string>At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook List<string>At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook stringIntegration Id - Alarm webhook integration configuration ID.
- Alarm
Webhook stringIntegration Name - Name of the alarm Webhook integration configuration.
- Alarm
Webhook boolIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- End
Time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- General
Webhook stringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- General
Webhook List<Volcengine.Headers Alarm Notify Group Notice Rule Receiver Info General Webhook Header> - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- General
Webhook stringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- General
Webhook stringUrl - Custom callback URL for the interface.
- Receiver
Channels List<string> - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- Receiver
Names List<string> - IAM user or user group name.
- Receiver
Type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- Start
Time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- Alarm
Content stringTemplate Id - Alarm content template ID.
- Alarm
Webhook []stringAt Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook []stringAt Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook stringIntegration Id - Alarm webhook integration configuration ID.
- Alarm
Webhook stringIntegration Name - Name of the alarm Webhook integration configuration.
- Alarm
Webhook boolIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- End
Time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- General
Webhook stringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- General
Webhook []AlarmHeaders Notify Group Notice Rule Receiver Info General Webhook Header - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- General
Webhook stringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- General
Webhook stringUrl - Custom callback URL for the interface.
- Receiver
Channels []string - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- Receiver
Names []string - IAM user or user group name.
- Receiver
Type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- Start
Time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm_
content_ stringtemplate_ id - Alarm content template ID.
- alarm_
webhook_ list(string)at_ groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ list(string)at_ users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ stringintegration_ id - Alarm webhook integration configuration ID.
- alarm_
webhook_ stringintegration_ name - Name of the alarm Webhook integration configuration.
- alarm_
webhook_ boolis_ at_ all - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end_
time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general_
webhook_ stringbody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general_
webhook_ list(object)headers - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general_
webhook_ stringmethod - Custom callback method for the interface. Only POST or PUT is supported.
- general_
webhook_ stringurl - Custom callback URL for the interface.
- receiver_
channels list(string) - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver_
names list(string) - IAM user or user group name.
- receiver_
type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start_
time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm
Content StringTemplate Id - Alarm content template ID.
- alarm
Webhook List<String>At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook List<String>At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook StringIntegration Id - Alarm webhook integration configuration ID.
- alarm
Webhook StringIntegration Name - Name of the alarm Webhook integration configuration.
- alarm
Webhook BooleanIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end
Time String - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general
Webhook StringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general
Webhook List<AlarmHeaders Notify Group Notice Rule Receiver Info General Webhook Header> - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general
Webhook StringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- general
Webhook StringUrl - Custom callback URL for the interface.
- receiver
Channels List<String> - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver
Names List<String> - IAM user or user group name.
- receiver
Type String - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start
Time String - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm
Content stringTemplate Id - Alarm content template ID.
- alarm
Webhook string[]At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook string[]At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook stringIntegration Id - Alarm webhook integration configuration ID.
- alarm
Webhook stringIntegration Name - Name of the alarm Webhook integration configuration.
- alarm
Webhook booleanIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end
Time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general
Webhook stringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general
Webhook AlarmHeaders Notify Group Notice Rule Receiver Info General Webhook Header[] - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general
Webhook stringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- general
Webhook stringUrl - Custom callback URL for the interface.
- receiver
Channels string[] - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver
Names string[] - IAM user or user group name.
- receiver
Type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start
Time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm_
content_ strtemplate_ id - Alarm content template ID.
- alarm_
webhook_ Sequence[str]at_ groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ Sequence[str]at_ users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ strintegration_ id - Alarm webhook integration configuration ID.
- alarm_
webhook_ strintegration_ name - Name of the alarm Webhook integration configuration.
- alarm_
webhook_ boolis_ at_ all - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end_
time str - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general_
webhook_ strbody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general_
webhook_ Sequence[Alarmheaders Notify Group Notice Rule Receiver Info General Webhook Header] - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general_
webhook_ strmethod - Custom callback method for the interface. Only POST or PUT is supported.
- general_
webhook_ strurl - Custom callback URL for the interface.
- receiver_
channels Sequence[str] - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver_
names Sequence[str] - IAM user or user group name.
- receiver_
type str - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start_
time str - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm
Content StringTemplate Id - Alarm content template ID.
- alarm
Webhook List<String>At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook List<String>At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook StringIntegration Id - Alarm webhook integration configuration ID.
- alarm
Webhook StringIntegration Name - Name of the alarm Webhook integration configuration.
- alarm
Webhook BooleanIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end
Time String - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general
Webhook StringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general
Webhook List<Property Map>Headers - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general
Webhook StringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- general
Webhook StringUrl - Custom callback URL for the interface.
- receiver
Channels List<String> - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver
Names List<String> - IAM user or user group name.
- receiver
Type String - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start
Time String - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeader, AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs
AlarmNotifyGroupReceiver, AlarmNotifyGroupReceiverArgs
- Alarm
Content stringTemplate Id - Alarm content template ID.
- Alarm
Webhook List<string>At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook List<string>At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook stringIntegration Id - Alarm webhook integration configuration ID.
- Alarm
Webhook stringIntegration Name - Name of the alarm Webhook integration configuration.
- Alarm
Webhook boolIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- End
Time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- General
Webhook stringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- General
Webhook List<Volcengine.Headers Alarm Notify Group Receiver General Webhook Header> - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- General
Webhook stringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- General
Webhook stringUrl - Custom callback URL for the interface.
- Receiver
Channels List<string> - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- Receiver
Names List<string> - IAM user or user group name.
- Receiver
Type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- Start
Time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- Alarm
Content stringTemplate Id - Alarm content template ID.
- Alarm
Webhook []stringAt Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook []stringAt Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- Alarm
Webhook stringIntegration Id - Alarm webhook integration configuration ID.
- Alarm
Webhook stringIntegration Name - Name of the alarm Webhook integration configuration.
- Alarm
Webhook boolIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- End
Time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- General
Webhook stringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- General
Webhook []AlarmHeaders Notify Group Receiver General Webhook Header - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- General
Webhook stringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- General
Webhook stringUrl - Custom callback URL for the interface.
- Receiver
Channels []string - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- Receiver
Names []string - IAM user or user group name.
- Receiver
Type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- Start
Time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm_
content_ stringtemplate_ id - Alarm content template ID.
- alarm_
webhook_ list(string)at_ groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ list(string)at_ users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ stringintegration_ id - Alarm webhook integration configuration ID.
- alarm_
webhook_ stringintegration_ name - Name of the alarm Webhook integration configuration.
- alarm_
webhook_ boolis_ at_ all - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end_
time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general_
webhook_ stringbody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general_
webhook_ list(object)headers - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general_
webhook_ stringmethod - Custom callback method for the interface. Only POST or PUT is supported.
- general_
webhook_ stringurl - Custom callback URL for the interface.
- receiver_
channels list(string) - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver_
names list(string) - IAM user or user group name.
- receiver_
type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start_
time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm
Content StringTemplate Id - Alarm content template ID.
- alarm
Webhook List<String>At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook List<String>At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook StringIntegration Id - Alarm webhook integration configuration ID.
- alarm
Webhook StringIntegration Name - Name of the alarm Webhook integration configuration.
- alarm
Webhook BooleanIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end
Time String - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general
Webhook StringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general
Webhook List<AlarmHeaders Notify Group Receiver General Webhook Header> - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general
Webhook StringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- general
Webhook StringUrl - Custom callback URL for the interface.
- receiver
Channels List<String> - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver
Names List<String> - IAM user or user group name.
- receiver
Type String - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start
Time String - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm
Content stringTemplate Id - Alarm content template ID.
- alarm
Webhook string[]At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook string[]At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook stringIntegration Id - Alarm webhook integration configuration ID.
- alarm
Webhook stringIntegration Name - Name of the alarm Webhook integration configuration.
- alarm
Webhook booleanIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end
Time string - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general
Webhook stringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general
Webhook AlarmHeaders Notify Group Receiver General Webhook Header[] - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general
Webhook stringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- general
Webhook stringUrl - Custom callback URL for the interface.
- receiver
Channels string[] - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver
Names string[] - IAM user or user group name.
- receiver
Type string - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start
Time string - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm_
content_ strtemplate_ id - Alarm content template ID.
- alarm_
webhook_ Sequence[str]at_ groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ Sequence[str]at_ users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm_
webhook_ strintegration_ id - Alarm webhook integration configuration ID.
- alarm_
webhook_ strintegration_ name - Name of the alarm Webhook integration configuration.
- alarm_
webhook_ boolis_ at_ all - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end_
time str - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general_
webhook_ strbody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general_
webhook_ Sequence[Alarmheaders Notify Group Receiver General Webhook Header] - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general_
webhook_ strmethod - Custom callback method for the interface. Only POST or PUT is supported.
- general_
webhook_ strurl - Custom callback URL for the interface.
- receiver_
channels Sequence[str] - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver_
names Sequence[str] - IAM user or user group name.
- receiver_
type str - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start_
time str - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
- alarm
Content StringTemplate Id - Alarm content template ID.
- alarm
Webhook List<String>At Groups - User group name to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook List<String>At Users - Username to notify when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- alarm
Webhook StringIntegration Id - Alarm webhook integration configuration ID.
- alarm
Webhook StringIntegration Name - Name of the alarm Webhook integration configuration.
- alarm
Webhook BooleanIs At All - Whether to notify everyone when sending notifications to Feishu, DingTalk, or WeCom via Webhook integration.
- end
Time String - End time for receiving alarm notifications. Uses 24-hour format: HH:mm:ss, with a valid range of 00:00:00–23:59:59. StartTime cannot be greater than EndTime.
- general
Webhook StringBody - Custom WebHook request body. It is recommended to set the request body according to the callback interface requirements of the corresponding service.
- general
Webhook List<Property Map>Headers - Custom callback request headers for the interface. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- general
Webhook StringMethod - Custom callback method for the interface. Only POST or PUT is supported.
- general
Webhook StringUrl - Custom callback URL for the interface.
- receiver
Channels List<String> - Notification channels. Supports one or more channels. Options: Email, Sms, Phone, GeneralWebhook, Lark, DingTalk, WeChat.
- receiver
Names List<String> - IAM user or user group name.
- receiver
Type String - Recipient type. Options: User: IAM user; UserGroup: IAM user group.
- start
Time String - Alarm notification start time. Uses 24-hour format (HH:mm:ss), valid range is 00:00:00–23:59:59. StartTime cannot be later than EndTime.
AlarmNotifyGroupReceiverGeneralWebhookHeader, AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs
Import
$ pulumi import volcenginecc:tls/alarmNotifyGroup:AlarmNotifyGroup example "alarm_notify_group_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Monday, Jul 20, 2026 by Volcengine