1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. getAlarmContentTemplates
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

    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 getAlarmContentTemplates

    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 getAlarmContentTemplates(args: GetAlarmContentTemplatesArgs, opts?: InvokeOptions): Promise<GetAlarmContentTemplatesResult>
    function getAlarmContentTemplatesOutput(args: GetAlarmContentTemplatesOutputArgs, opts?: InvokeOptions): Output<GetAlarmContentTemplatesResult>
    def get_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) -> GetAlarmContentTemplatesResult
    def get_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[GetAlarmContentTemplatesResult]
    func GetAlarmContentTemplates(ctx *Context, args *GetAlarmContentTemplatesArgs, opts ...InvokeOption) (*GetAlarmContentTemplatesResult, error)
    func GetAlarmContentTemplatesOutput(ctx *Context, args *GetAlarmContentTemplatesOutputArgs, opts ...InvokeOption) GetAlarmContentTemplatesResultOutput

    > Note: This function is named GetAlarmContentTemplates in the Go SDK.

    public static class GetAlarmContentTemplates 
    {
        public static Task<GetAlarmContentTemplatesResult> InvokeAsync(GetAlarmContentTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetAlarmContentTemplatesResult> Invoke(GetAlarmContentTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAlarmContentTemplatesResult> getAlarmContentTemplates(GetAlarmContentTemplatesArgs args, InvokeOptions options)
    public static Output<GetAlarmContentTemplatesResult> getAlarmContentTemplates(GetAlarmContentTemplatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:tls/getAlarmContentTemplates:getAlarmContentTemplates
      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.

    getAlarmContentTemplates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Templates List<GetAlarmContentTemplatesTemplate>
    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 []GetAlarmContentTemplatesTemplate
    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<GetAlarmContentTemplatesTemplate>
    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 GetAlarmContentTemplatesTemplate[]
    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[GetAlarmContentTemplatesTemplate]
    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

    GetAlarmContentTemplatesTemplate

    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<GetAlarmContentTemplatesTemplateDingTalk>
    The ding_talk content of the alarm content template.
    Emails List<GetAlarmContentTemplatesTemplateEmail>
    The email content of the alarm content template.
    IsDefault bool
    Whether the alarm content template is default.
    Larks List<GetAlarmContentTemplatesTemplateLark>
    The lark content of the alarm content template.
    Sms List<GetAlarmContentTemplatesTemplateSm>
    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<GetAlarmContentTemplatesTemplateVm>
    The vms content of the alarm content template.
    Webhooks List<GetAlarmContentTemplatesTemplateWebhook>
    The webhook content of the alarm content template.
    Wechats List<GetAlarmContentTemplatesTemplateWechat>
    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 []GetAlarmContentTemplatesTemplateDingTalk
    The ding_talk content of the alarm content template.
    Emails []GetAlarmContentTemplatesTemplateEmail
    The email content of the alarm content template.
    IsDefault bool
    Whether the alarm content template is default.
    Larks []GetAlarmContentTemplatesTemplateLark
    The lark content of the alarm content template.
    Sms []GetAlarmContentTemplatesTemplateSm
    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 []GetAlarmContentTemplatesTemplateVm
    The vms content of the alarm content template.
    Webhooks []GetAlarmContentTemplatesTemplateWebhook
    The webhook content of the alarm content template.
    Wechats []GetAlarmContentTemplatesTemplateWechat
    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<GetAlarmContentTemplatesTemplateDingTalk>
    The ding_talk content of the alarm content template.
    emails List<GetAlarmContentTemplatesTemplateEmail>
    The email content of the alarm content template.
    isDefault Boolean
    Whether the alarm content template is default.
    larks List<GetAlarmContentTemplatesTemplateLark>
    The lark content of the alarm content template.
    sms List<GetAlarmContentTemplatesTemplateSm>
    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<GetAlarmContentTemplatesTemplateVm>
    The vms content of the alarm content template.
    webhooks List<GetAlarmContentTemplatesTemplateWebhook>
    The webhook content of the alarm content template.
    wechats List<GetAlarmContentTemplatesTemplateWechat>
    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 GetAlarmContentTemplatesTemplateDingTalk[]
    The ding_talk content of the alarm content template.
    emails GetAlarmContentTemplatesTemplateEmail[]
    The email content of the alarm content template.
    isDefault boolean
    Whether the alarm content template is default.
    larks GetAlarmContentTemplatesTemplateLark[]
    The lark content of the alarm content template.
    sms GetAlarmContentTemplatesTemplateSm[]
    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 GetAlarmContentTemplatesTemplateVm[]
    The vms content of the alarm content template.
    webhooks GetAlarmContentTemplatesTemplateWebhook[]
    The webhook content of the alarm content template.
    wechats GetAlarmContentTemplatesTemplateWechat[]
    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[GetAlarmContentTemplatesTemplateDingTalk]
    The ding_talk content of the alarm content template.
    emails Sequence[GetAlarmContentTemplatesTemplateEmail]
    The email content of the alarm content template.
    is_default bool
    Whether the alarm content template is default.
    larks Sequence[GetAlarmContentTemplatesTemplateLark]
    The lark content of the alarm content template.
    sms Sequence[GetAlarmContentTemplatesTemplateSm]
    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[GetAlarmContentTemplatesTemplateVm]
    The vms content of the alarm content template.
    webhooks Sequence[GetAlarmContentTemplatesTemplateWebhook]
    The webhook content of the alarm content template.
    wechats Sequence[GetAlarmContentTemplatesTemplateWechat]
    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.

    GetAlarmContentTemplatesTemplateDingTalk

    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.

    GetAlarmContentTemplatesTemplateEmail

    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.

    GetAlarmContentTemplatesTemplateLark

    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.

    GetAlarmContentTemplatesTemplateSm

    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.

    GetAlarmContentTemplatesTemplateVm

    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.

    GetAlarmContentTemplatesTemplateWebhook

    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.

    GetAlarmContentTemplatesTemplateWechat

    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