published on Monday, Jul 20, 2026 by Volcengine
published on Monday, Jul 20, 2026 by Volcengine
TLS alert content template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.tls.AlarmContentTemplateType("Example", {
alarmContentTemplateName: "cc-test-1001",
needValidContent: true,
dingTalk: {
content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
locale: "en-US",
title: "TLS告警",
},
email: {
content: `告警策略:{{Alarm}}<br>
告警日志项目:{{ProjectName}}<br>
告警日志主题:{{AlarmTopicName}}<br>
告警级别:{{Severity}}<br>
首次触发时间:{{StartTime}}<br>
触发条件:{{Condition}}<br>
通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br>
告警持续时间:{{Duration}}<br>
附加通知内容:{{NotifyMsg}}<br>
日志检索详情:[查看详情]({{QueryUrl|safe}})<br>
告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>
感谢对火山引擎的支持`,
locale: "en-US",
subject: "TLS告警",
},
lark: {
content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
locale: "en-US",
title: "告警通知",
},
sms: {
content: "告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}",
locale: "zh-CN",
},
vms: {
content: "通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
locale: "zh-CN",
},
weChat: {
content: "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
locale: "zh-CN",
title: "告警通知",
},
webhook: {
content: `{
"msg_type": "interactive",
"card": {
"config": {
"wide_screen_mode": True
},
"elements": [
{
"content": "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\\n附加通知内容:{{NotifyMsg|escapejs}}\\n\\n感谢对火山引擎的支持",
"tag": "markdown"
}
],
"header": {
"template": "{%if NotifyType==1%}red{%else%}green{%endif%}",
"title": {
"content": "【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
"tag": "plain_text"
}
}
}
}`,
},
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.tls.AlarmContentTemplateType("Example",
alarm_content_template_name="cc-test-1001",
need_valid_content=True,
ding_talk={
"content": "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
"locale": "en-US",
"title": "TLS告警",
},
email={
"content": """告警策略:{{Alarm}}<br>
告警日志项目:{{ProjectName}}<br>
告警日志主题:{{AlarmTopicName}}<br>
告警级别:{{Severity}}<br>
首次触发时间:{{StartTime}}<br>
触发条件:{{Condition}}<br>
通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br>
告警持续时间:{{Duration}}<br>
附加通知内容:{{NotifyMsg}}<br>
日志检索详情:[查看详情]({{QueryUrl|safe}})<br>
告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>
感谢对火山引擎的支持""",
"locale": "en-US",
"subject": "TLS告警",
},
lark={
"content": "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
"locale": "en-US",
"title": "告警通知",
},
sms={
"content": "告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}",
"locale": "zh-CN",
},
vms={
"content": "通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
"locale": "zh-CN",
},
we_chat={
"content": "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
"locale": "zh-CN",
"title": "告警通知",
},
webhook={
"content": """{
"msg_type": "interactive",
"card": {
"config": {
"wide_screen_mode": True
},
"elements": [
{
"content": "尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\n附加通知内容:{{NotifyMsg|escapejs}}\n\n感谢对火山引擎的支持",
"tag": "markdown"
}
],
"header": {
"template": "{%if NotifyType==1%}red{%else%}green{%endif%}",
"title": {
"content": "【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
"tag": "plain_text"
}
}
}
}""",
})
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.NewAlarmContentTemplateType(ctx, "Example", &tls.AlarmContentTemplateTypeArgs{
AlarmContentTemplateName: pulumi.String("cc-test-1001"),
NeedValidContent: pulumi.Bool(true),
DingTalk: &tls.AlarmContentTemplateTypeDingTalkArgs{
Content: pulumi.String("尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持"),
Locale: pulumi.String("en-US"),
Title: pulumi.String("TLS告警"),
},
Email: &tls.AlarmContentTemplateTypeEmailArgs{
Content: pulumi.String(`告警策略:{{Alarm}}<br>
告警日志项目:{{ProjectName}}<br>
告警日志主题:{{AlarmTopicName}}<br>
告警级别:{{Severity}}<br>
首次触发时间:{{StartTime}}<br>
触发条件:{{Condition}}<br>
通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br>
告警持续时间:{{Duration}}<br>
附加通知内容:{{NotifyMsg}}<br>
日志检索详情:[查看详情]({{QueryUrl|safe}})<br>
告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>
感谢对火山引擎的支持`),
Locale: pulumi.String("en-US"),
Subject: pulumi.String("TLS告警"),
},
Lark: &tls.AlarmContentTemplateTypeLarkArgs{
Content: pulumi.String("尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持"),
Locale: pulumi.String("en-US"),
Title: pulumi.String("告警通知"),
},
Sms: &tls.AlarmContentTemplateTypeSmsArgs{
Content: pulumi.String("告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}"),
Locale: pulumi.String("zh-CN"),
},
Vms: &tls.AlarmContentTemplateTypeVmsArgs{
Content: pulumi.String("通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}"),
Locale: pulumi.String("zh-CN"),
},
WeChat: &tls.AlarmContentTemplateTypeWeChatArgs{
Content: pulumi.String("尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持"),
Locale: pulumi.String("zh-CN"),
Title: pulumi.String("告警通知"),
},
Webhook: &tls.AlarmContentTemplateTypeWebhookArgs{
Content: pulumi.String(`{
"msg_type": "interactive",
"card": {
"config": {
"wide_screen_mode": True
},
"elements": [
{
"content": "尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\n附加通知内容:{{NotifyMsg|escapejs}}\n\n感谢对火山引擎的支持",
"tag": "markdown"
}
],
"header": {
"template": "{%if NotifyType==1%}red{%else%}green{%endif%}",
"title": {
"content": "【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
"tag": "plain_text"
}
}
}
}`),
},
})
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 example = new Volcenginecc.Tls.AlarmContentTemplateType("Example", new()
{
AlarmContentTemplateName = "cc-test-1001",
NeedValidContent = true,
DingTalk = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeDingTalkArgs
{
Content = "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
Locale = "en-US",
Title = "TLS告警",
},
Email = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeEmailArgs
{
Content = @"告警策略:{{Alarm}}<br>
告警日志项目:{{ProjectName}}<br>
告警日志主题:{{AlarmTopicName}}<br>
告警级别:{{Severity}}<br>
首次触发时间:{{StartTime}}<br>
触发条件:{{Condition}}<br>
通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br>
告警持续时间:{{Duration}}<br>
附加通知内容:{{NotifyMsg}}<br>
日志检索详情:[查看详情]({{QueryUrl|safe}})<br>
告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>
感谢对火山引擎的支持",
Locale = "en-US",
Subject = "TLS告警",
},
Lark = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeLarkArgs
{
Content = "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
Locale = "en-US",
Title = "告警通知",
},
Sms = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeSmsArgs
{
Content = "告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}",
Locale = "zh-CN",
},
Vms = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeVmsArgs
{
Content = "通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
Locale = "zh-CN",
},
WeChat = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeWeChatArgs
{
Content = "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持",
Locale = "zh-CN",
Title = "告警通知",
},
Webhook = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeWebhookArgs
{
Content = @"{
""msg_type"": ""interactive"",
""card"": {
""config"": {
""wide_screen_mode"": True
},
""elements"": [
{
""content"": ""尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\n附加通知内容:{{NotifyMsg|escapejs}}\n\n感谢对火山引擎的支持"",
""tag"": ""markdown""
}
],
""header"": {
""template"": ""{%if NotifyType==1%}red{%else%}green{%endif%}"",
""title"": {
""content"": ""【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}"",
""tag"": ""plain_text""
}
}
}
}",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.tls.AlarmContentTemplateType;
import com.volcengine.volcenginecc.tls.AlarmContentTemplateTypeArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmContentTemplateTypeDingTalkArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmContentTemplateTypeEmailArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmContentTemplateTypeLarkArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmContentTemplateTypeSmsArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmContentTemplateTypeVmsArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmContentTemplateTypeWeChatArgs;
import com.pulumi.volcenginecc.tls.inputs.AlarmContentTemplateTypeWebhookArgs;
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 example = new AlarmContentTemplateType("example", AlarmContentTemplateTypeArgs.builder()
.alarmContentTemplateName("cc-test-1001")
.needValidContent(true)
.dingTalk(AlarmContentTemplateTypeDingTalkArgs.builder()
.content("尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持")
.locale("en-US")
.title("TLS告警")
.build())
.email(AlarmContentTemplateTypeEmailArgs.builder()
.content("""
告警策略:{{Alarm}}<br>
告警日志项目:{{ProjectName}}<br>
告警日志主题:{{AlarmTopicName}}<br>
告警级别:{{Severity}}<br>
首次触发时间:{{StartTime}}<br>
触发条件:{{Condition}}<br>
通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br>
告警持续时间:{{Duration}}<br>
附加通知内容:{{NotifyMsg}}<br>
日志检索详情:[查看详情]({{QueryUrl|safe}})<br>
告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>
感谢对火山引擎的支持 """)
.locale("en-US")
.subject("TLS告警")
.build())
.lark(AlarmContentTemplateTypeLarkArgs.builder()
.content("尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持")
.locale("en-US")
.title("告警通知")
.build())
.sms(AlarmContentTemplateTypeSmsArgs.builder()
.content("告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}")
.locale("zh-CN")
.build())
.vms(AlarmContentTemplateTypeVmsArgs.builder()
.content("通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}")
.locale("zh-CN")
.build())
.weChat(AlarmContentTemplateTypeWeChatArgs.builder()
.content("尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持")
.locale("zh-CN")
.title("告警通知")
.build())
.webhook(AlarmContentTemplateTypeWebhookArgs.builder()
.content("""
{
"msg_type": "interactive",
"card": {
"config": {
"wide_screen_mode": True
},
"elements": [
{
"content": "尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\n附加通知内容:{{NotifyMsg|escapejs}}\n\n感谢对火山引擎的支持",
"tag": "markdown"
}
],
"header": {
"template": "{%if NotifyType==1%}red{%else%}green{%endif%}",
"title": {
"content": "【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
"tag": "plain_text"
}
}
}
} """)
.build())
.build());
}
}
resources:
example:
type: volcenginecc:tls:AlarmContentTemplateType
name: Example
properties:
alarmContentTemplateName: cc-test-1001
needValidContent: true
dingTalk:
content: 尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\n附加通知内容:{{NotifyMsg|escapejs}}\n日志检索详情:[查看详情]({{QueryUrl|safe}})\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\n\n感谢对火山引擎的支持
locale: en-US
title: TLS告警
email:
content: "告警策略:{{Alarm}}<br> \n告警日志项目:{{ProjectName}}<br> \n告警日志主题:{{AlarmTopicName}}<br> \n告警级别:{{Severity}}<br> \n首次触发时间:{{StartTime}}<br> \n触发条件:{{Condition}}<br> \n通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br> \n告警持续时间:{{Duration}}<br> \n附加通知内容:{{NotifyMsg}}<br>\n日志检索详情:[查看详情]({{QueryUrl|safe}})<br>\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>\n\n感谢对火山引擎的支持"
locale: en-US
subject: TLS告警
lark:
content: 尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\n附加通知内容:{{NotifyMsg|escapejs}}\n日志检索详情:[查看详情]({{QueryUrl|safe}})\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\n\n感谢对火山引擎的支持
locale: en-US
title: 告警通知
sms:
content: 告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}
locale: zh-CN
vms:
content: 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}
locale: zh-CN
weChat:
content: 尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\n附加通知内容:{{NotifyMsg|escapejs}}\n日志检索详情:[查看详情]({{QueryUrl|safe}})\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\n\n感谢对火山引擎的支持
locale: zh-CN
title: 告警通知
webhook:
content: |-
{
"msg_type": "interactive",
"card": {
"config": {
"wide_screen_mode": True
},
"elements": [
{
"content": "尊敬的用户,您好!\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\n告警策略:{{Alarm}}\n告警日志主题:{{AlarmTopicName}}\n告警级别:{{Severity}}\n首次触发时间:{{StartTime}}\n触发条件:{{Condition}}\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\n附加通知内容:{{NotifyMsg|escapejs}}\n\n感谢对火山引擎的支持",
"tag": "markdown"
}
],
"header": {
"template": "{%if NotifyType==1%}red{%else%}green{%endif%}",
"title": {
"content": "【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}",
"tag": "plain_text"
}
}
}
}
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_tls_alarmcontenttemplatetype" "Example" {
alarm_content_template_name = "cc-test-1001"
need_valid_content = true
ding_talk = {
content = "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持"
locale = "en-US"
title = "TLS告警"
}
email = {
content = "告警策略:{{Alarm}}<br> \n告警日志项目:{{ProjectName}}<br> \n告警日志主题:{{AlarmTopicName}}<br> \n告警级别:{{Severity}}<br> \n首次触发时间:{{StartTime}}<br> \n触发条件:{{Condition}}<br> \n通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}<br> \n告警持续时间:{{Duration}}<br> \n附加通知内容:{{NotifyMsg}}<br>\n日志检索详情:[查看详情]({{QueryUrl|safe}})<br>\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})<br>\n\n感谢对火山引擎的支持"
locale = "en-US"
subject = "TLS告警"
}
lark = {
content = "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持"
locale = "en-US"
title = "告警通知"
}
sms = {
content = "告警策略{{Alarm}}, 告警日志项目:{{ProjectName}}, 告警日志主题:{{AlarmTopicName}}, 告警级别:{{Severity}}, 通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%},首次触发时间:{{StartTime}}, 触发条件:{{Condition}}, 当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}], n附加通知内容:{{NotifyMsg}}"
locale = "zh-CN"
}
vms = {
content = "通知类型:{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}"
locale = "zh-CN"
}
we_chat = {
content = "尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}]\\n附加通知内容:{{NotifyMsg|escapejs}}\\n日志检索详情:[查看详情]({{QueryUrl|safe}})\\n告警详情:[查看详情(链接12小时后失效)]({{SignInUrl|safe}})\\n\\n感谢对火山引擎的支持"
locale = "zh-CN"
title = "告警通知"
}
webhook = {
content = "{\n \"msg_type\": \"interactive\",\n \"card\": {\n \"config\": {\n \"wide_screen_mode\": True\n },\n \"elements\": [\n {\n \"content\": \"尊敬的用户,您好!\\n您的账号(主账户ID:{{AccountID}} )的日志服务{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\\n告警策略:{{Alarm}}\\n告警日志主题:{{AlarmTopicName}}\\n告警级别:{{Severity}}\\n首次触发时间:{{StartTime}}\\n触发条件:{{Condition}}\\n当前查询结果:[{%-for x in TriggerParams-%}{{-x-}} {%-endfor-%}];\\n附加通知内容:{{NotifyMsg|escapejs}}\\n\\n感谢对火山引擎的支持\",\n \"tag\": \"markdown\"\n }\n ],\n \"header\": {\n \"template\": \"{%if NotifyType==1%}red{%else%}green{%endif%}\",\n \"title\": {\n \"content\": \"【火山引擎】【日志服务】{%if NotifyType==1%}触发告警{%else%}告警恢复{%endif%}\",\n \"tag\": \"plain_text\"\n }\n }\n }\n}"
}
}
Create AlarmContentTemplateType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlarmContentTemplateType(name: string, args: AlarmContentTemplateTypeArgs, opts?: CustomResourceOptions);@overload
def AlarmContentTemplateType(resource_name: str,
args: AlarmContentTemplateTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlarmContentTemplateType(resource_name: str,
opts: Optional[ResourceOptions] = None,
alarm_content_template_name: Optional[str] = None,
ding_talk: Optional[AlarmContentTemplateTypeDingTalkArgs] = None,
email: Optional[AlarmContentTemplateTypeEmailArgs] = None,
lark: Optional[AlarmContentTemplateTypeLarkArgs] = None,
need_valid_content: Optional[bool] = None,
sms: Optional[AlarmContentTemplateTypeSmsArgs] = None,
vms: Optional[AlarmContentTemplateTypeVmsArgs] = None,
we_chat: Optional[AlarmContentTemplateTypeWeChatArgs] = None,
webhook: Optional[AlarmContentTemplateTypeWebhookArgs] = None)func NewAlarmContentTemplateType(ctx *Context, name string, args AlarmContentTemplateTypeArgs, opts ...ResourceOption) (*AlarmContentTemplateType, error)public AlarmContentTemplateType(string name, AlarmContentTemplateTypeArgs args, CustomResourceOptions? opts = null)
public AlarmContentTemplateType(String name, AlarmContentTemplateTypeArgs args)
public AlarmContentTemplateType(String name, AlarmContentTemplateTypeArgs args, CustomResourceOptions options)
type: volcenginecc:tls:AlarmContentTemplateType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_tls_alarm_content_template_type" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AlarmContentTemplateTypeArgs
- 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 AlarmContentTemplateTypeArgs
- 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 AlarmContentTemplateTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlarmContentTemplateTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlarmContentTemplateTypeArgs
- 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 alarmContentTemplateTypeResource = new Volcenginecc.Tls.AlarmContentTemplateType("alarmContentTemplateTypeResource", new()
{
AlarmContentTemplateName = "string",
DingTalk = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeDingTalkArgs
{
Content = "string",
Locale = "string",
Title = "string",
},
Email = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeEmailArgs
{
Content = "string",
Locale = "string",
Subject = "string",
},
Lark = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeLarkArgs
{
Content = "string",
Locale = "string",
Title = "string",
},
NeedValidContent = false,
Sms = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeSmsArgs
{
Content = "string",
Locale = "string",
},
Vms = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeVmsArgs
{
Content = "string",
Locale = "string",
},
WeChat = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeWeChatArgs
{
Content = "string",
Locale = "string",
Title = "string",
},
Webhook = new Volcenginecc.Tls.Inputs.AlarmContentTemplateTypeWebhookArgs
{
Content = "string",
},
});
example, err := tls.NewAlarmContentTemplateType(ctx, "alarmContentTemplateTypeResource", &tls.AlarmContentTemplateTypeArgs{
AlarmContentTemplateName: pulumi.String("string"),
DingTalk: &tls.AlarmContentTemplateTypeDingTalkArgs{
Content: pulumi.String("string"),
Locale: pulumi.String("string"),
Title: pulumi.String("string"),
},
Email: &tls.AlarmContentTemplateTypeEmailArgs{
Content: pulumi.String("string"),
Locale: pulumi.String("string"),
Subject: pulumi.String("string"),
},
Lark: &tls.AlarmContentTemplateTypeLarkArgs{
Content: pulumi.String("string"),
Locale: pulumi.String("string"),
Title: pulumi.String("string"),
},
NeedValidContent: pulumi.Bool(false),
Sms: &tls.AlarmContentTemplateTypeSmsArgs{
Content: pulumi.String("string"),
Locale: pulumi.String("string"),
},
Vms: &tls.AlarmContentTemplateTypeVmsArgs{
Content: pulumi.String("string"),
Locale: pulumi.String("string"),
},
WeChat: &tls.AlarmContentTemplateTypeWeChatArgs{
Content: pulumi.String("string"),
Locale: pulumi.String("string"),
Title: pulumi.String("string"),
},
Webhook: &tls.AlarmContentTemplateTypeWebhookArgs{
Content: pulumi.String("string"),
},
})
resource "volcenginecc_tls_alarm_content_template_type" "alarmContentTemplateTypeResource" {
lifecycle {
create_before_destroy = true
}
alarm_content_template_name = "string"
ding_talk = {
content = "string"
locale = "string"
title = "string"
}
email = {
content = "string"
locale = "string"
subject = "string"
}
lark = {
content = "string"
locale = "string"
title = "string"
}
need_valid_content = false
sms = {
content = "string"
locale = "string"
}
vms = {
content = "string"
locale = "string"
}
we_chat = {
content = "string"
locale = "string"
title = "string"
}
webhook = {
content = "string"
}
}
var alarmContentTemplateTypeResource = new AlarmContentTemplateType("alarmContentTemplateTypeResource", AlarmContentTemplateTypeArgs.builder()
.alarmContentTemplateName("string")
.dingTalk(AlarmContentTemplateTypeDingTalkArgs.builder()
.content("string")
.locale("string")
.title("string")
.build())
.email(AlarmContentTemplateTypeEmailArgs.builder()
.content("string")
.locale("string")
.subject("string")
.build())
.lark(AlarmContentTemplateTypeLarkArgs.builder()
.content("string")
.locale("string")
.title("string")
.build())
.needValidContent(false)
.sms(AlarmContentTemplateTypeSmsArgs.builder()
.content("string")
.locale("string")
.build())
.vms(AlarmContentTemplateTypeVmsArgs.builder()
.content("string")
.locale("string")
.build())
.weChat(AlarmContentTemplateTypeWeChatArgs.builder()
.content("string")
.locale("string")
.title("string")
.build())
.webhook(AlarmContentTemplateTypeWebhookArgs.builder()
.content("string")
.build())
.build());
alarm_content_template_type_resource = volcenginecc.tls.AlarmContentTemplateType("alarmContentTemplateTypeResource",
alarm_content_template_name="string",
ding_talk={
"content": "string",
"locale": "string",
"title": "string",
},
email={
"content": "string",
"locale": "string",
"subject": "string",
},
lark={
"content": "string",
"locale": "string",
"title": "string",
},
need_valid_content=False,
sms={
"content": "string",
"locale": "string",
},
vms={
"content": "string",
"locale": "string",
},
we_chat={
"content": "string",
"locale": "string",
"title": "string",
},
webhook={
"content": "string",
})
const alarmContentTemplateTypeResource = new volcenginecc.tls.AlarmContentTemplateType("alarmContentTemplateTypeResource", {
alarmContentTemplateName: "string",
dingTalk: {
content: "string",
locale: "string",
title: "string",
},
email: {
content: "string",
locale: "string",
subject: "string",
},
lark: {
content: "string",
locale: "string",
title: "string",
},
needValidContent: false,
sms: {
content: "string",
locale: "string",
},
vms: {
content: "string",
locale: "string",
},
weChat: {
content: "string",
locale: "string",
title: "string",
},
webhook: {
content: "string",
},
});
type: volcenginecc:tls:AlarmContentTemplateType
properties:
alarmContentTemplateName: string
dingTalk:
content: string
locale: string
title: string
email:
content: string
locale: string
subject: string
lark:
content: string
locale: string
title: string
needValidContent: false
sms:
content: string
locale: string
vms:
content: string
locale: string
weChat:
content: string
locale: string
title: string
webhook:
content: string
AlarmContentTemplateType 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 AlarmContentTemplateType resource accepts the following input properties:
- Alarm
Content stringTemplate Name - Name of the alert notification content template
- Ding
Talk Volcengine.Alarm Content Template Type Ding Talk - DingTalk notification content template
- Email
Volcengine.
Alarm Content Template Type Email - Email notification content template
- Lark
Volcengine.
Alarm Content Template Type Lark - Feishu notification content template
- Need
Valid boolContent - Whether to validate the content template
- Sms
Volcengine.
Alarm Content Template Type Sms - SMS notification content template
- Vms
Volcengine.
Alarm Content Template Type Vms - Voice notification content template
- We
Chat Volcengine.Alarm Content Template Type We Chat - WeCom notification content template
- Webhook
Volcengine.
Alarm Content Template Type Webhook - Custom Webhook alert notification content template
- Alarm
Content stringTemplate Name - Name of the alert notification content template
- Ding
Talk AlarmContent Template Type Ding Talk Args - DingTalk notification content template
- Email
Alarm
Content Template Type Email Args - Email notification content template
- Lark
Alarm
Content Template Type Lark Args - Feishu notification content template
- Need
Valid boolContent - Whether to validate the content template
- Sms
Alarm
Content Template Type Sms Args - SMS notification content template
- Vms
Alarm
Content Template Type Vms Args - Voice notification content template
- We
Chat AlarmContent Template Type We Chat Args - WeCom notification content template
- Webhook
Alarm
Content Template Type Webhook Args - Custom Webhook alert notification content template
- alarm_
content_ stringtemplate_ name - Name of the alert notification content template
- ding_
talk object - DingTalk notification content template
- email object
- Email notification content template
- lark object
- Feishu notification content template
- need_
valid_ boolcontent - Whether to validate the content template
- sms object
- SMS notification content template
- vms object
- Voice notification content template
- we_
chat object - WeCom notification content template
- webhook object
- Custom Webhook alert notification content template
- alarm
Content StringTemplate Name - Name of the alert notification content template
- ding
Talk AlarmContent Template Type Ding Talk - DingTalk notification content template
- email
Alarm
Content Template Type Email - Email notification content template
- lark
Alarm
Content Template Type Lark - Feishu notification content template
- need
Valid BooleanContent - Whether to validate the content template
- sms
Alarm
Content Template Type Sms - SMS notification content template
- vms
Alarm
Content Template Type Vms - Voice notification content template
- we
Chat AlarmContent Template Type We Chat - WeCom notification content template
- webhook
Alarm
Content Template Type Webhook - Custom Webhook alert notification content template
- alarm
Content stringTemplate Name - Name of the alert notification content template
- ding
Talk AlarmContent Template Type Ding Talk - DingTalk notification content template
- email
Alarm
Content Template Type Email - Email notification content template
- lark
Alarm
Content Template Type Lark - Feishu notification content template
- need
Valid booleanContent - Whether to validate the content template
- sms
Alarm
Content Template Type Sms - SMS notification content template
- vms
Alarm
Content Template Type Vms - Voice notification content template
- we
Chat AlarmContent Template Type We Chat - WeCom notification content template
- webhook
Alarm
Content Template Type Webhook - Custom Webhook alert notification content template
- alarm_
content_ strtemplate_ name - Name of the alert notification content template
- ding_
talk AlarmContent Template Type Ding Talk Args - DingTalk notification content template
- email
Alarm
Content Template Type Email Args - Email notification content template
- lark
Alarm
Content Template Type Lark Args - Feishu notification content template
- need_
valid_ boolcontent - Whether to validate the content template
- sms
Alarm
Content Template Type Sms Args - SMS notification content template
- vms
Alarm
Content Template Type Vms Args - Voice notification content template
- we_
chat AlarmContent Template Type We Chat Args - WeCom notification content template
- webhook
Alarm
Content Template Type Webhook Args - Custom Webhook alert notification content template
- alarm
Content StringTemplate Name - Name of the alert notification content template
- ding
Talk Property Map - DingTalk notification content template
- email Property Map
- Email notification content template
- lark Property Map
- Feishu notification content template
- need
Valid BooleanContent - Whether to validate the content template
- sms Property Map
- SMS notification content template
- vms Property Map
- Voice notification content template
- we
Chat Property Map - WeCom notification content template
- webhook Property Map
- Custom Webhook alert notification content template
Outputs
All input properties are implicitly available as output properties. Additionally, the AlarmContentTemplateType resource produces the following output properties:
- Alarm
Content stringTemplate Id - Alert notification template ID
- Create
Time string - Creation time of the alert notification content template
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default bool - Is default template
- Modify
Time string - Last modified time of the alert notification content template
- Alarm
Content stringTemplate Id - Alert notification template ID
- Create
Time string - Creation time of the alert notification content template
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default bool - Is default template
- Modify
Time string - Last modified time of the alert notification content template
- alarm_
content_ stringtemplate_ id - Alert notification template ID
- create_
time string - Creation time of the alert notification content template
- id string
- The provider-assigned unique ID for this managed resource.
- is_
default bool - Is default template
- modify_
time string - Last modified time of the alert notification content template
- alarm
Content StringTemplate Id - Alert notification template ID
- create
Time String - Creation time of the alert notification content template
- id String
- The provider-assigned unique ID for this managed resource.
- is
Default Boolean - Is default template
- modify
Time String - Last modified time of the alert notification content template
- alarm
Content stringTemplate Id - Alert notification template ID
- create
Time string - Creation time of the alert notification content template
- id string
- The provider-assigned unique ID for this managed resource.
- is
Default boolean - Is default template
- modify
Time string - Last modified time of the alert notification content template
- alarm_
content_ strtemplate_ id - Alert notification template ID
- create_
time str - Creation time of the alert notification content template
- id str
- The provider-assigned unique ID for this managed resource.
- is_
default bool - Is default template
- modify_
time str - Last modified time of the alert notification content template
- alarm
Content StringTemplate Id - Alert notification template ID
- create
Time String - Creation time of the alert notification content template
- id String
- The provider-assigned unique ID for this managed resource.
- is
Default Boolean - Is default template
- modify
Time String - Last modified time of the alert notification content template
Look up Existing AlarmContentTemplateType Resource
Get an existing AlarmContentTemplateType 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?: AlarmContentTemplateTypeState, opts?: CustomResourceOptions): AlarmContentTemplateType@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alarm_content_template_id: Optional[str] = None,
alarm_content_template_name: Optional[str] = None,
create_time: Optional[str] = None,
ding_talk: Optional[AlarmContentTemplateTypeDingTalkArgs] = None,
email: Optional[AlarmContentTemplateTypeEmailArgs] = None,
is_default: Optional[bool] = None,
lark: Optional[AlarmContentTemplateTypeLarkArgs] = None,
modify_time: Optional[str] = None,
need_valid_content: Optional[bool] = None,
sms: Optional[AlarmContentTemplateTypeSmsArgs] = None,
vms: Optional[AlarmContentTemplateTypeVmsArgs] = None,
we_chat: Optional[AlarmContentTemplateTypeWeChatArgs] = None,
webhook: Optional[AlarmContentTemplateTypeWebhookArgs] = None) -> AlarmContentTemplateTypefunc GetAlarmContentTemplateType(ctx *Context, name string, id IDInput, state *AlarmContentTemplateTypeState, opts ...ResourceOption) (*AlarmContentTemplateType, error)public static AlarmContentTemplateType Get(string name, Input<string> id, AlarmContentTemplateTypeState? state, CustomResourceOptions? opts = null)public static AlarmContentTemplateType get(String name, Output<String> id, AlarmContentTemplateTypeState state, CustomResourceOptions options)resources: _: type: volcenginecc:tls:AlarmContentTemplateType get: id: ${id}import {
to = volcenginecc_tls_alarm_content_template_type.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
Content stringTemplate Id - Alert notification template ID
- Alarm
Content stringTemplate Name - Name of the alert notification content template
- Create
Time string - Creation time of the alert notification content template
- Ding
Talk Volcengine.Alarm Content Template Type Ding Talk - DingTalk notification content template
- Email
Volcengine.
Alarm Content Template Type Email - Email notification content template
- Is
Default bool - Is default template
- Lark
Volcengine.
Alarm Content Template Type Lark - Feishu notification content template
- Modify
Time string - Last modified time of the alert notification content template
- Need
Valid boolContent - Whether to validate the content template
- Sms
Volcengine.
Alarm Content Template Type Sms - SMS notification content template
- Vms
Volcengine.
Alarm Content Template Type Vms - Voice notification content template
- We
Chat Volcengine.Alarm Content Template Type We Chat - WeCom notification content template
- Webhook
Volcengine.
Alarm Content Template Type Webhook - Custom Webhook alert notification content template
- Alarm
Content stringTemplate Id - Alert notification template ID
- Alarm
Content stringTemplate Name - Name of the alert notification content template
- Create
Time string - Creation time of the alert notification content template
- Ding
Talk AlarmContent Template Type Ding Talk Args - DingTalk notification content template
- Email
Alarm
Content Template Type Email Args - Email notification content template
- Is
Default bool - Is default template
- Lark
Alarm
Content Template Type Lark Args - Feishu notification content template
- Modify
Time string - Last modified time of the alert notification content template
- Need
Valid boolContent - Whether to validate the content template
- Sms
Alarm
Content Template Type Sms Args - SMS notification content template
- Vms
Alarm
Content Template Type Vms Args - Voice notification content template
- We
Chat AlarmContent Template Type We Chat Args - WeCom notification content template
- Webhook
Alarm
Content Template Type Webhook Args - Custom Webhook alert notification content template
- alarm_
content_ stringtemplate_ id - Alert notification template ID
- alarm_
content_ stringtemplate_ name - Name of the alert notification content template
- create_
time string - Creation time of the alert notification content template
- ding_
talk object - DingTalk notification content template
- email object
- Email notification content template
- is_
default bool - Is default template
- lark object
- Feishu notification content template
- modify_
time string - Last modified time of the alert notification content template
- need_
valid_ boolcontent - Whether to validate the content template
- sms object
- SMS notification content template
- vms object
- Voice notification content template
- we_
chat object - WeCom notification content template
- webhook object
- Custom Webhook alert notification content template
- alarm
Content StringTemplate Id - Alert notification template ID
- alarm
Content StringTemplate Name - Name of the alert notification content template
- create
Time String - Creation time of the alert notification content template
- ding
Talk AlarmContent Template Type Ding Talk - DingTalk notification content template
- email
Alarm
Content Template Type Email - Email notification content template
- is
Default Boolean - Is default template
- lark
Alarm
Content Template Type Lark - Feishu notification content template
- modify
Time String - Last modified time of the alert notification content template
- need
Valid BooleanContent - Whether to validate the content template
- sms
Alarm
Content Template Type Sms - SMS notification content template
- vms
Alarm
Content Template Type Vms - Voice notification content template
- we
Chat AlarmContent Template Type We Chat - WeCom notification content template
- webhook
Alarm
Content Template Type Webhook - Custom Webhook alert notification content template
- alarm
Content stringTemplate Id - Alert notification template ID
- alarm
Content stringTemplate Name - Name of the alert notification content template
- create
Time string - Creation time of the alert notification content template
- ding
Talk AlarmContent Template Type Ding Talk - DingTalk notification content template
- email
Alarm
Content Template Type Email - Email notification content template
- is
Default boolean - Is default template
- lark
Alarm
Content Template Type Lark - Feishu notification content template
- modify
Time string - Last modified time of the alert notification content template
- need
Valid booleanContent - Whether to validate the content template
- sms
Alarm
Content Template Type Sms - SMS notification content template
- vms
Alarm
Content Template Type Vms - Voice notification content template
- we
Chat AlarmContent Template Type We Chat - WeCom notification content template
- webhook
Alarm
Content Template Type Webhook - Custom Webhook alert notification content template
- alarm_
content_ strtemplate_ id - Alert notification template ID
- alarm_
content_ strtemplate_ name - Name of the alert notification content template
- create_
time str - Creation time of the alert notification content template
- ding_
talk AlarmContent Template Type Ding Talk Args - DingTalk notification content template
- email
Alarm
Content Template Type Email Args - Email notification content template
- is_
default bool - Is default template
- lark
Alarm
Content Template Type Lark Args - Feishu notification content template
- modify_
time str - Last modified time of the alert notification content template
- need_
valid_ boolcontent - Whether to validate the content template
- sms
Alarm
Content Template Type Sms Args - SMS notification content template
- vms
Alarm
Content Template Type Vms Args - Voice notification content template
- we_
chat AlarmContent Template Type We Chat Args - WeCom notification content template
- webhook
Alarm
Content Template Type Webhook Args - Custom Webhook alert notification content template
- alarm
Content StringTemplate Id - Alert notification template ID
- alarm
Content StringTemplate Name - Name of the alert notification content template
- create
Time String - Creation time of the alert notification content template
- ding
Talk Property Map - DingTalk notification content template
- email Property Map
- Email notification content template
- is
Default Boolean - Is default template
- lark Property Map
- Feishu notification content template
- modify
Time String - Last modified time of the alert notification content template
- need
Valid BooleanContent - Whether to validate the content template
- sms Property Map
- SMS notification content template
- vms Property Map
- Voice notification content template
- we
Chat Property Map - WeCom notification content template
- webhook Property Map
- Custom Webhook alert notification content template
Supporting Types
AlarmContentTemplateTypeDingTalk, AlarmContentTemplateTypeDingTalkArgs
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Title string
- Alert notification subject
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Title string
- Alert notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title string
- Alert notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title String
- Alert notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title string
- Alert notification subject
- content str
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale str
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title str
- Alert notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title String
- Alert notification subject
AlarmContentTemplateTypeEmail, AlarmContentTemplateTypeEmailArgs
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Subject string
- Email notification subject
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Subject string
- Email notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- subject string
- Email notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- subject String
- Email notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- subject string
- Email notification subject
- content str
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale str
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- subject str
- Email notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- subject String
- Email notification subject
AlarmContentTemplateTypeLark, AlarmContentTemplateTypeLarkArgs
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Title string
- Alert notification subject
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Title string
- Alert notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title string
- Alert notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title String
- Alert notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title string
- Alert notification subject
- content str
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale str
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title str
- Alert notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title String
- Alert notification subject
AlarmContentTemplateTypeSms, AlarmContentTemplateTypeSmsArgs
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content str
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale str
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
AlarmContentTemplateTypeVms, AlarmContentTemplateTypeVmsArgs
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content str
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale str
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
AlarmContentTemplateTypeWeChat, AlarmContentTemplateTypeWeChatArgs
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Title string
- Alert notification subject
- Content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- Title string
- Alert notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title string
- Alert notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title String
- Alert notification subject
- content string
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale string
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title string
- Alert notification subject
- content str
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale str
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title str
- Alert notification subject
- content String
- Alert notification content. Supports plain text format, content variables, and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- locale String
- The language for fixed content in alert notifications. Available values: zh-CN, en-US.
- title String
- Alert notification subject
AlarmContentTemplateTypeWebhook, AlarmContentTemplateTypeWebhookArgs
- Content string
- Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- Content string
- Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- content string
- Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- content String
- Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- content string
- Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- content str
- Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
- content String
- Alert notification content, usually in JSON format. Supports content variables and content functions. Note: The maximum length of the notification content after variable rendering is 8 KB. Content exceeding this limit will be truncated. If the body is left blank, the default content will be used.
Import
$ pulumi import volcenginecc:tls/alarmContentTemplateType:AlarmContentTemplateType example "alarm_content_template_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