1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. tls
  6. AlarmContentTemplateType
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.50
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:

    AlarmContentTemplateName string
    Name of the alert notification content template
    DingTalk Volcengine.AlarmContentTemplateTypeDingTalk
    DingTalk notification content template
    Email Volcengine.AlarmContentTemplateTypeEmail
    Email notification content template
    Lark Volcengine.AlarmContentTemplateTypeLark
    Feishu notification content template
    NeedValidContent bool
    Whether to validate the content template
    Sms Volcengine.AlarmContentTemplateTypeSms
    SMS notification content template
    Vms Volcengine.AlarmContentTemplateTypeVms
    Voice notification content template
    WeChat Volcengine.AlarmContentTemplateTypeWeChat
    WeCom notification content template
    Webhook Volcengine.AlarmContentTemplateTypeWebhook
    Custom Webhook alert notification content template
    AlarmContentTemplateName string
    Name of the alert notification content template
    DingTalk AlarmContentTemplateTypeDingTalkArgs
    DingTalk notification content template
    Email AlarmContentTemplateTypeEmailArgs
    Email notification content template
    Lark AlarmContentTemplateTypeLarkArgs
    Feishu notification content template
    NeedValidContent bool
    Whether to validate the content template
    Sms AlarmContentTemplateTypeSmsArgs
    SMS notification content template
    Vms AlarmContentTemplateTypeVmsArgs
    Voice notification content template
    WeChat AlarmContentTemplateTypeWeChatArgs
    WeCom notification content template
    Webhook AlarmContentTemplateTypeWebhookArgs
    Custom Webhook alert notification content template
    alarm_content_template_name string
    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_content bool
    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
    alarmContentTemplateName String
    Name of the alert notification content template
    dingTalk AlarmContentTemplateTypeDingTalk
    DingTalk notification content template
    email AlarmContentTemplateTypeEmail
    Email notification content template
    lark AlarmContentTemplateTypeLark
    Feishu notification content template
    needValidContent Boolean
    Whether to validate the content template
    sms AlarmContentTemplateTypeSms
    SMS notification content template
    vms AlarmContentTemplateTypeVms
    Voice notification content template
    weChat AlarmContentTemplateTypeWeChat
    WeCom notification content template
    webhook AlarmContentTemplateTypeWebhook
    Custom Webhook alert notification content template
    alarmContentTemplateName string
    Name of the alert notification content template
    dingTalk AlarmContentTemplateTypeDingTalk
    DingTalk notification content template
    email AlarmContentTemplateTypeEmail
    Email notification content template
    lark AlarmContentTemplateTypeLark
    Feishu notification content template
    needValidContent boolean
    Whether to validate the content template
    sms AlarmContentTemplateTypeSms
    SMS notification content template
    vms AlarmContentTemplateTypeVms
    Voice notification content template
    weChat AlarmContentTemplateTypeWeChat
    WeCom notification content template
    webhook AlarmContentTemplateTypeWebhook
    Custom Webhook alert notification content template
    alarm_content_template_name str
    Name of the alert notification content template
    ding_talk AlarmContentTemplateTypeDingTalkArgs
    DingTalk notification content template
    email AlarmContentTemplateTypeEmailArgs
    Email notification content template
    lark AlarmContentTemplateTypeLarkArgs
    Feishu notification content template
    need_valid_content bool
    Whether to validate the content template
    sms AlarmContentTemplateTypeSmsArgs
    SMS notification content template
    vms AlarmContentTemplateTypeVmsArgs
    Voice notification content template
    we_chat AlarmContentTemplateTypeWeChatArgs
    WeCom notification content template
    webhook AlarmContentTemplateTypeWebhookArgs
    Custom Webhook alert notification content template
    alarmContentTemplateName String
    Name of the alert notification content template
    dingTalk Property Map
    DingTalk notification content template
    email Property Map
    Email notification content template
    lark Property Map
    Feishu notification content template
    needValidContent Boolean
    Whether to validate the content template
    sms Property Map
    SMS notification content template
    vms Property Map
    Voice notification content template
    weChat 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:

    AlarmContentTemplateId string
    Alert notification template ID
    CreateTime string
    Creation time of the alert notification content template
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    Is default template
    ModifyTime string
    Last modified time of the alert notification content template
    AlarmContentTemplateId string
    Alert notification template ID
    CreateTime string
    Creation time of the alert notification content template
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    Is default template
    ModifyTime string
    Last modified time of the alert notification content template
    alarm_content_template_id string
    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
    alarmContentTemplateId String
    Alert notification template ID
    createTime String
    Creation time of the alert notification content template
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    Is default template
    modifyTime String
    Last modified time of the alert notification content template
    alarmContentTemplateId string
    Alert notification template ID
    createTime string
    Creation time of the alert notification content template
    id string
    The provider-assigned unique ID for this managed resource.
    isDefault boolean
    Is default template
    modifyTime string
    Last modified time of the alert notification content template
    alarm_content_template_id str
    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
    alarmContentTemplateId String
    Alert notification template ID
    createTime String
    Creation time of the alert notification content template
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    Is default template
    modifyTime 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) -> AlarmContentTemplateType
    func 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.
    The following state arguments are supported:
    AlarmContentTemplateId string
    Alert notification template ID
    AlarmContentTemplateName string
    Name of the alert notification content template
    CreateTime string
    Creation time of the alert notification content template
    DingTalk Volcengine.AlarmContentTemplateTypeDingTalk
    DingTalk notification content template
    Email Volcengine.AlarmContentTemplateTypeEmail
    Email notification content template
    IsDefault bool
    Is default template
    Lark Volcengine.AlarmContentTemplateTypeLark
    Feishu notification content template
    ModifyTime string
    Last modified time of the alert notification content template
    NeedValidContent bool
    Whether to validate the content template
    Sms Volcengine.AlarmContentTemplateTypeSms
    SMS notification content template
    Vms Volcengine.AlarmContentTemplateTypeVms
    Voice notification content template
    WeChat Volcengine.AlarmContentTemplateTypeWeChat
    WeCom notification content template
    Webhook Volcengine.AlarmContentTemplateTypeWebhook
    Custom Webhook alert notification content template
    AlarmContentTemplateId string
    Alert notification template ID
    AlarmContentTemplateName string
    Name of the alert notification content template
    CreateTime string
    Creation time of the alert notification content template
    DingTalk AlarmContentTemplateTypeDingTalkArgs
    DingTalk notification content template
    Email AlarmContentTemplateTypeEmailArgs
    Email notification content template
    IsDefault bool
    Is default template
    Lark AlarmContentTemplateTypeLarkArgs
    Feishu notification content template
    ModifyTime string
    Last modified time of the alert notification content template
    NeedValidContent bool
    Whether to validate the content template
    Sms AlarmContentTemplateTypeSmsArgs
    SMS notification content template
    Vms AlarmContentTemplateTypeVmsArgs
    Voice notification content template
    WeChat AlarmContentTemplateTypeWeChatArgs
    WeCom notification content template
    Webhook AlarmContentTemplateTypeWebhookArgs
    Custom Webhook alert notification content template
    alarm_content_template_id string
    Alert notification template ID
    alarm_content_template_name string
    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_content bool
    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
    alarmContentTemplateId String
    Alert notification template ID
    alarmContentTemplateName String
    Name of the alert notification content template
    createTime String
    Creation time of the alert notification content template
    dingTalk AlarmContentTemplateTypeDingTalk
    DingTalk notification content template
    email AlarmContentTemplateTypeEmail
    Email notification content template
    isDefault Boolean
    Is default template
    lark AlarmContentTemplateTypeLark
    Feishu notification content template
    modifyTime String
    Last modified time of the alert notification content template
    needValidContent Boolean
    Whether to validate the content template
    sms AlarmContentTemplateTypeSms
    SMS notification content template
    vms AlarmContentTemplateTypeVms
    Voice notification content template
    weChat AlarmContentTemplateTypeWeChat
    WeCom notification content template
    webhook AlarmContentTemplateTypeWebhook
    Custom Webhook alert notification content template
    alarmContentTemplateId string
    Alert notification template ID
    alarmContentTemplateName string
    Name of the alert notification content template
    createTime string
    Creation time of the alert notification content template
    dingTalk AlarmContentTemplateTypeDingTalk
    DingTalk notification content template
    email AlarmContentTemplateTypeEmail
    Email notification content template
    isDefault boolean
    Is default template
    lark AlarmContentTemplateTypeLark
    Feishu notification content template
    modifyTime string
    Last modified time of the alert notification content template
    needValidContent boolean
    Whether to validate the content template
    sms AlarmContentTemplateTypeSms
    SMS notification content template
    vms AlarmContentTemplateTypeVms
    Voice notification content template
    weChat AlarmContentTemplateTypeWeChat
    WeCom notification content template
    webhook AlarmContentTemplateTypeWebhook
    Custom Webhook alert notification content template
    alarm_content_template_id str
    Alert notification template ID
    alarm_content_template_name str
    Name of the alert notification content template
    create_time str
    Creation time of the alert notification content template
    ding_talk AlarmContentTemplateTypeDingTalkArgs
    DingTalk notification content template
    email AlarmContentTemplateTypeEmailArgs
    Email notification content template
    is_default bool
    Is default template
    lark AlarmContentTemplateTypeLarkArgs
    Feishu notification content template
    modify_time str
    Last modified time of the alert notification content template
    need_valid_content bool
    Whether to validate the content template
    sms AlarmContentTemplateTypeSmsArgs
    SMS notification content template
    vms AlarmContentTemplateTypeVmsArgs
    Voice notification content template
    we_chat AlarmContentTemplateTypeWeChatArgs
    WeCom notification content template
    webhook AlarmContentTemplateTypeWebhookArgs
    Custom Webhook alert notification content template
    alarmContentTemplateId String
    Alert notification template ID
    alarmContentTemplateName String
    Name of the alert notification content template
    createTime String
    Creation time of the alert notification content template
    dingTalk Property Map
    DingTalk notification content template
    email Property Map
    Email notification content template
    isDefault Boolean
    Is default template
    lark Property Map
    Feishu notification content template
    modifyTime String
    Last modified time of the alert notification content template
    needValidContent Boolean
    Whether to validate the content template
    sms Property Map
    SMS notification content template
    vms Property Map
    Voice notification content template
    weChat 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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.50
    published on Monday, Jul 20, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial