1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. AlarmContentTemplates
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.tls.AlarmContentTemplates has been deprecated in favor of volcengine.tls.getAlarmContentTemplates

    Use this data source to query detailed information of tls alarm content templates

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.tls.getAlarmContentTemplates({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.tls.get_alarm_content_templates()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.GetAlarmContentTemplates(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Tls.GetAlarmContentTemplates.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.TlsFunctions;
    import com.pulumi.volcengine.tls.inputs.GetAlarmContentTemplatesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var foo = TlsFunctions.getAlarmContentTemplates();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:tls:getAlarmContentTemplates
          Arguments: {}
    

    Using AlarmContentTemplates

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function alarmContentTemplates(args: AlarmContentTemplatesArgs, opts?: InvokeOptions): Promise<AlarmContentTemplatesResult>
    function alarmContentTemplatesOutput(args: AlarmContentTemplatesOutputArgs, opts?: InvokeOptions): Output<AlarmContentTemplatesResult>
    def alarm_content_templates(alarm_content_template_id: Optional[str] = None,
                                alarm_content_template_name: Optional[str] = None,
                                asc: Optional[bool] = None,
                                ids: Optional[Sequence[str]] = None,
                                order_field: Optional[str] = None,
                                output_file: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> AlarmContentTemplatesResult
    def alarm_content_templates_output(alarm_content_template_id: Optional[pulumi.Input[str]] = None,
                                alarm_content_template_name: Optional[pulumi.Input[str]] = None,
                                asc: Optional[pulumi.Input[bool]] = None,
                                ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                order_field: Optional[pulumi.Input[str]] = None,
                                output_file: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[AlarmContentTemplatesResult]
    func AlarmContentTemplates(ctx *Context, args *AlarmContentTemplatesArgs, opts ...InvokeOption) (*AlarmContentTemplatesResult, error)
    func AlarmContentTemplatesOutput(ctx *Context, args *AlarmContentTemplatesOutputArgs, opts ...InvokeOption) AlarmContentTemplatesResultOutput
    public static class AlarmContentTemplates 
    {
        public static Task<AlarmContentTemplatesResult> InvokeAsync(AlarmContentTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<AlarmContentTemplatesResult> Invoke(AlarmContentTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<AlarmContentTemplatesResult> alarmContentTemplates(AlarmContentTemplatesArgs args, InvokeOptions options)
    public static Output<AlarmContentTemplatesResult> alarmContentTemplates(AlarmContentTemplatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:tls:AlarmContentTemplates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AlarmContentTemplateId string
    The id of the alarm content template.
    AlarmContentTemplateName string
    The name of the alarm content template. Fuzzy matching is supported.
    Asc bool
    Whether to ascend.
    Ids List<string>
    A list of alarm content template IDs.
    OrderField string
    The order field.
    OutputFile string
    File name where to save data source results.
    AlarmContentTemplateId string
    The id of the alarm content template.
    AlarmContentTemplateName string
    The name of the alarm content template. Fuzzy matching is supported.
    Asc bool
    Whether to ascend.
    Ids []string
    A list of alarm content template IDs.
    OrderField string
    The order field.
    OutputFile string
    File name where to save data source results.
    alarmContentTemplateId String
    The id of the alarm content template.
    alarmContentTemplateName String
    The name of the alarm content template. Fuzzy matching is supported.
    asc Boolean
    Whether to ascend.
    ids List<String>
    A list of alarm content template IDs.
    orderField String
    The order field.
    outputFile String
    File name where to save data source results.
    alarmContentTemplateId string
    The id of the alarm content template.
    alarmContentTemplateName string
    The name of the alarm content template. Fuzzy matching is supported.
    asc boolean
    Whether to ascend.
    ids string[]
    A list of alarm content template IDs.
    orderField string
    The order field.
    outputFile string
    File name where to save data source results.
    alarm_content_template_id str
    The id of the alarm content template.
    alarm_content_template_name str
    The name of the alarm content template. Fuzzy matching is supported.
    asc bool
    Whether to ascend.
    ids Sequence[str]
    A list of alarm content template IDs.
    order_field str
    The order field.
    output_file str
    File name where to save data source results.
    alarmContentTemplateId String
    The id of the alarm content template.
    alarmContentTemplateName String
    The name of the alarm content template. Fuzzy matching is supported.
    asc Boolean
    Whether to ascend.
    ids List<String>
    A list of alarm content template IDs.
    orderField String
    The order field.
    outputFile String
    File name where to save data source results.

    AlarmContentTemplates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Templates List<AlarmContentTemplatesTemplate>
    The list of alarm content templates.
    TotalCount int
    The total count of alarm content templates.
    AlarmContentTemplateId string
    The ID of the alarm content template.
    AlarmContentTemplateName string
    The name of the alarm content template.
    Asc bool
    Ids List<string>
    OrderField string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Templates []AlarmContentTemplatesTemplate
    The list of alarm content templates.
    TotalCount int
    The total count of alarm content templates.
    AlarmContentTemplateId string
    The ID of the alarm content template.
    AlarmContentTemplateName string
    The name of the alarm content template.
    Asc bool
    Ids []string
    OrderField string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    templates List<AlarmContentTemplatesTemplate>
    The list of alarm content templates.
    totalCount Integer
    The total count of alarm content templates.
    alarmContentTemplateId String
    The ID of the alarm content template.
    alarmContentTemplateName String
    The name of the alarm content template.
    asc Boolean
    ids List<String>
    orderField String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    templates AlarmContentTemplatesTemplate[]
    The list of alarm content templates.
    totalCount number
    The total count of alarm content templates.
    alarmContentTemplateId string
    The ID of the alarm content template.
    alarmContentTemplateName string
    The name of the alarm content template.
    asc boolean
    ids string[]
    orderField string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    templates Sequence[AlarmContentTemplatesTemplate]
    The list of alarm content templates.
    total_count int
    The total count of alarm content templates.
    alarm_content_template_id str
    The ID of the alarm content template.
    alarm_content_template_name str
    The name of the alarm content template.
    asc bool
    ids Sequence[str]
    order_field str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    templates List<Property Map>
    The list of alarm content templates.
    totalCount Number
    The total count of alarm content templates.
    alarmContentTemplateId String
    The ID of the alarm content template.
    alarmContentTemplateName String
    The name of the alarm content template.
    asc Boolean
    ids List<String>
    orderField String
    outputFile String

    Supporting Types

    AlarmContentTemplatesTemplate

    AlarmContentTemplateId string
    The id of the alarm content template.
    AlarmContentTemplateName string
    The name of the alarm content template. Fuzzy matching is supported.
    Content string
    The content of the wechat content template.
    CreateTime string
    The creation time of the alarm content template.
    Description string
    The description of the alarm content template.
    DingTalks List<AlarmContentTemplatesTemplateDingTalk>
    The ding_talk content of the alarm content template.
    Emails List<AlarmContentTemplatesTemplateEmail>
    The email content of the alarm content template.
    IsDefault bool
    Whether the alarm content template is default.
    Larks List<AlarmContentTemplatesTemplateLark>
    The lark content of the alarm content template.
    Sms List<AlarmContentTemplatesTemplateSm>
    The sms content of the alarm content template.
    Type string
    The type of the alarm content template.
    UpdateTime string
    The update time of the alarm content template.
    Vms List<AlarmContentTemplatesTemplateVm>
    The vms content of the alarm content template.
    Webhooks List<AlarmContentTemplatesTemplateWebhook>
    The webhook content of the alarm content template.
    Wechats List<AlarmContentTemplatesTemplateWechat>
    The wechat content of the alarm content template.
    AlarmContentTemplateId string
    The id of the alarm content template.
    AlarmContentTemplateName string
    The name of the alarm content template. Fuzzy matching is supported.
    Content string
    The content of the wechat content template.
    CreateTime string
    The creation time of the alarm content template.
    Description string
    The description of the alarm content template.
    DingTalks []AlarmContentTemplatesTemplateDingTalk
    The ding_talk content of the alarm content template.
    Emails []AlarmContentTemplatesTemplateEmail
    The email content of the alarm content template.
    IsDefault bool
    Whether the alarm content template is default.
    Larks []AlarmContentTemplatesTemplateLark
    The lark content of the alarm content template.
    Sms []AlarmContentTemplatesTemplateSm
    The sms content of the alarm content template.
    Type string
    The type of the alarm content template.
    UpdateTime string
    The update time of the alarm content template.
    Vms []AlarmContentTemplatesTemplateVm
    The vms content of the alarm content template.
    Webhooks []AlarmContentTemplatesTemplateWebhook
    The webhook content of the alarm content template.
    Wechats []AlarmContentTemplatesTemplateWechat
    The wechat content of the alarm content template.
    alarmContentTemplateId String
    The id of the alarm content template.
    alarmContentTemplateName String
    The name of the alarm content template. Fuzzy matching is supported.
    content String
    The content of the wechat content template.
    createTime String
    The creation time of the alarm content template.
    description String
    The description of the alarm content template.
    dingTalks List<AlarmContentTemplatesTemplateDingTalk>
    The ding_talk content of the alarm content template.
    emails List<AlarmContentTemplatesTemplateEmail>
    The email content of the alarm content template.
    isDefault Boolean
    Whether the alarm content template is default.
    larks List<AlarmContentTemplatesTemplateLark>
    The lark content of the alarm content template.
    sms List<AlarmContentTemplatesTemplateSm>
    The sms content of the alarm content template.
    type String
    The type of the alarm content template.
    updateTime String
    The update time of the alarm content template.
    vms List<AlarmContentTemplatesTemplateVm>
    The vms content of the alarm content template.
    webhooks List<AlarmContentTemplatesTemplateWebhook>
    The webhook content of the alarm content template.
    wechats List<AlarmContentTemplatesTemplateWechat>
    The wechat content of the alarm content template.
    alarmContentTemplateId string
    The id of the alarm content template.
    alarmContentTemplateName string
    The name of the alarm content template. Fuzzy matching is supported.
    content string
    The content of the wechat content template.
    createTime string
    The creation time of the alarm content template.
    description string
    The description of the alarm content template.
    dingTalks AlarmContentTemplatesTemplateDingTalk[]
    The ding_talk content of the alarm content template.
    emails AlarmContentTemplatesTemplateEmail[]
    The email content of the alarm content template.
    isDefault boolean
    Whether the alarm content template is default.
    larks AlarmContentTemplatesTemplateLark[]
    The lark content of the alarm content template.
    sms AlarmContentTemplatesTemplateSm[]
    The sms content of the alarm content template.
    type string
    The type of the alarm content template.
    updateTime string
    The update time of the alarm content template.
    vms AlarmContentTemplatesTemplateVm[]
    The vms content of the alarm content template.
    webhooks AlarmContentTemplatesTemplateWebhook[]
    The webhook content of the alarm content template.
    wechats AlarmContentTemplatesTemplateWechat[]
    The wechat content of the alarm content template.
    alarm_content_template_id str
    The id of the alarm content template.
    alarm_content_template_name str
    The name of the alarm content template. Fuzzy matching is supported.
    content str
    The content of the wechat content template.
    create_time str
    The creation time of the alarm content template.
    description str
    The description of the alarm content template.
    ding_talks Sequence[AlarmContentTemplatesTemplateDingTalk]
    The ding_talk content of the alarm content template.
    emails Sequence[AlarmContentTemplatesTemplateEmail]
    The email content of the alarm content template.
    is_default bool
    Whether the alarm content template is default.
    larks Sequence[AlarmContentTemplatesTemplateLark]
    The lark content of the alarm content template.
    sms Sequence[AlarmContentTemplatesTemplateSm]
    The sms content of the alarm content template.
    type str
    The type of the alarm content template.
    update_time str
    The update time of the alarm content template.
    vms Sequence[AlarmContentTemplatesTemplateVm]
    The vms content of the alarm content template.
    webhooks Sequence[AlarmContentTemplatesTemplateWebhook]
    The webhook content of the alarm content template.
    wechats Sequence[AlarmContentTemplatesTemplateWechat]
    The wechat content of the alarm content template.
    alarmContentTemplateId String
    The id of the alarm content template.
    alarmContentTemplateName String
    The name of the alarm content template. Fuzzy matching is supported.
    content String
    The content of the wechat content template.
    createTime String
    The creation time of the alarm content template.
    description String
    The description of the alarm content template.
    dingTalks List<Property Map>
    The ding_talk content of the alarm content template.
    emails List<Property Map>
    The email content of the alarm content template.
    isDefault Boolean
    Whether the alarm content template is default.
    larks List<Property Map>
    The lark content of the alarm content template.
    sms List<Property Map>
    The sms content of the alarm content template.
    type String
    The type of the alarm content template.
    updateTime String
    The update time of the alarm content template.
    vms List<Property Map>
    The vms content of the alarm content template.
    webhooks List<Property Map>
    The webhook content of the alarm content template.
    wechats List<Property Map>
    The wechat content of the alarm content template.

    AlarmContentTemplatesTemplateDingTalk

    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Title string
    The title of the lark content template.
    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Title string
    The title of the lark content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    title String
    The title of the lark content template.
    content string
    The content of the wechat content template.
    locale string
    The locale of the wechat content template.
    title string
    The title of the lark content template.
    content str
    The content of the wechat content template.
    locale str
    The locale of the wechat content template.
    title str
    The title of the lark content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    title String
    The title of the lark content template.

    AlarmContentTemplatesTemplateEmail

    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Subject string
    The subject of the email content template.
    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Subject string
    The subject of the email content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    subject String
    The subject of the email content template.
    content string
    The content of the wechat content template.
    locale string
    The locale of the wechat content template.
    subject string
    The subject of the email content template.
    content str
    The content of the wechat content template.
    locale str
    The locale of the wechat content template.
    subject str
    The subject of the email content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    subject String
    The subject of the email content template.

    AlarmContentTemplatesTemplateLark

    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Title string
    The title of the lark content template.
    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Title string
    The title of the lark content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    title String
    The title of the lark content template.
    content string
    The content of the wechat content template.
    locale string
    The locale of the wechat content template.
    title string
    The title of the lark content template.
    content str
    The content of the wechat content template.
    locale str
    The locale of the wechat content template.
    title str
    The title of the lark content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    title String
    The title of the lark content template.

    AlarmContentTemplatesTemplateSm

    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    content string
    The content of the wechat content template.
    locale string
    The locale of the wechat content template.
    content str
    The content of the wechat content template.
    locale str
    The locale of the wechat content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.

    AlarmContentTemplatesTemplateVm

    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    content string
    The content of the wechat content template.
    locale string
    The locale of the wechat content template.
    content str
    The content of the wechat content template.
    locale str
    The locale of the wechat content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.

    AlarmContentTemplatesTemplateWebhook

    Content string
    The content of the wechat content template.
    Content string
    The content of the wechat content template.
    content String
    The content of the wechat content template.
    content string
    The content of the wechat content template.
    content str
    The content of the wechat content template.
    content String
    The content of the wechat content template.

    AlarmContentTemplatesTemplateWechat

    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    Content string
    The content of the wechat content template.
    Locale string
    The locale of the wechat content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.
    content string
    The content of the wechat content template.
    locale string
    The locale of the wechat content template.
    content str
    The content of the wechat content template.
    locale str
    The locale of the wechat content template.
    content String
    The content of the wechat content template.
    locale String
    The locale of the wechat content template.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate