Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
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 dictionaryThe following arguments are supported:
- Alarm
Content stringTemplate Id - The id of the alarm content template.
- Alarm
Content stringTemplate Name - 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.
- Order
Field string - The order field.
- Output
File string - File name where to save data source results.
- Alarm
Content stringTemplate Id - The id of the alarm content template.
- Alarm
Content stringTemplate Name - 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.
- Order
Field string - The order field.
- Output
File string - File name where to save data source results.
- alarm
Content StringTemplate Id - The id of the alarm content template.
- alarm
Content StringTemplate Name - 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.
- order
Field String - The order field.
- output
File String - File name where to save data source results.
- alarm
Content stringTemplate Id - The id of the alarm content template.
- alarm
Content stringTemplate Name - 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.
- order
Field string - The order field.
- output
File string - File name where to save data source results.
- alarm_
content_ strtemplate_ id - The id of the alarm content template.
- alarm_
content_ strtemplate_ name - 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.
- alarm
Content StringTemplate Id - The id of the alarm content template.
- alarm
Content StringTemplate Name - 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.
- order
Field String - The order field.
- output
File 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<Get
Alarm Content Templates Template> - The list of alarm content templates.
- Total
Count int - The total count of alarm content templates.
- Alarm
Content stringTemplate Id - The ID of the alarm content template.
- Alarm
Content stringTemplate Name - The name of the alarm content template.
- Asc bool
- Ids List<string>
- Order
Field string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Templates
[]Get
Alarm Content Templates Template - The list of alarm content templates.
- Total
Count int - The total count of alarm content templates.
- Alarm
Content stringTemplate Id - The ID of the alarm content template.
- Alarm
Content stringTemplate Name - The name of the alarm content template.
- Asc bool
- Ids []string
- Order
Field string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- templates
List<Get
Alarm Content Templates Template> - The list of alarm content templates.
- total
Count Integer - The total count of alarm content templates.
- alarm
Content StringTemplate Id - The ID of the alarm content template.
- alarm
Content StringTemplate Name - The name of the alarm content template.
- asc Boolean
- ids List<String>
- order
Field String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- templates
Get
Alarm Content Templates Template[] - The list of alarm content templates.
- total
Count number - The total count of alarm content templates.
- alarm
Content stringTemplate Id - The ID of the alarm content template.
- alarm
Content stringTemplate Name - The name of the alarm content template.
- asc boolean
- ids string[]
- order
Field string - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- templates
Sequence[Get
Alarm Content Templates Template] - The list of alarm content templates.
- total_
count int - The total count of alarm content templates.
- alarm_
content_ strtemplate_ id - The ID of the alarm content template.
- alarm_
content_ strtemplate_ name - 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.
- total
Count Number - The total count of alarm content templates.
- alarm
Content StringTemplate Id - The ID of the alarm content template.
- alarm
Content StringTemplate Name - The name of the alarm content template.
- asc Boolean
- ids List<String>
- order
Field String - output
File String
Supporting Types
GetAlarmContentTemplatesTemplate
- Alarm
Content stringTemplate Id - The id of the alarm content template.
- Alarm
Content stringTemplate Name - The name of the alarm content template. Fuzzy matching is supported.
- Content string
- The content of the wechat content template.
- Create
Time string - The creation time of the alarm content template.
- Description string
- The description of the alarm content template.
- Ding
Talks List<GetAlarm Content Templates Template Ding Talk> - The ding_talk content of the alarm content template.
- Emails
List<Get
Alarm Content Templates Template Email> - The email content of the alarm content template.
- Is
Default bool - Whether the alarm content template is default.
- Larks
List<Get
Alarm Content Templates Template Lark> - The lark content of the alarm content template.
- Sms
List<Get
Alarm Content Templates Template Sm> - The sms content of the alarm content template.
- Type string
- The type of the alarm content template.
- Update
Time string - The update time of the alarm content template.
- Vms
List<Get
Alarm Content Templates Template Vm> - The vms content of the alarm content template.
- Webhooks
List<Get
Alarm Content Templates Template Webhook> - The webhook content of the alarm content template.
- Wechats
List<Get
Alarm Content Templates Template Wechat> - The wechat content of the alarm content template.
- Alarm
Content stringTemplate Id - The id of the alarm content template.
- Alarm
Content stringTemplate Name - The name of the alarm content template. Fuzzy matching is supported.
- Content string
- The content of the wechat content template.
- Create
Time string - The creation time of the alarm content template.
- Description string
- The description of the alarm content template.
- Ding
Talks []GetAlarm Content Templates Template Ding Talk - The ding_talk content of the alarm content template.
- Emails
[]Get
Alarm Content Templates Template Email - The email content of the alarm content template.
- Is
Default bool - Whether the alarm content template is default.
- Larks
[]Get
Alarm Content Templates Template Lark - The lark content of the alarm content template.
- Sms
[]Get
Alarm Content Templates Template Sm - The sms content of the alarm content template.
- Type string
- The type of the alarm content template.
- Update
Time string - The update time of the alarm content template.
- Vms
[]Get
Alarm Content Templates Template Vm - The vms content of the alarm content template.
- Webhooks
[]Get
Alarm Content Templates Template Webhook - The webhook content of the alarm content template.
- Wechats
[]Get
Alarm Content Templates Template Wechat - The wechat content of the alarm content template.
- alarm
Content StringTemplate Id - The id of the alarm content template.
- alarm
Content StringTemplate Name - The name of the alarm content template. Fuzzy matching is supported.
- content String
- The content of the wechat content template.
- create
Time String - The creation time of the alarm content template.
- description String
- The description of the alarm content template.
- ding
Talks List<GetAlarm Content Templates Template Ding Talk> - The ding_talk content of the alarm content template.
- emails
List<Get
Alarm Content Templates Template Email> - The email content of the alarm content template.
- is
Default Boolean - Whether the alarm content template is default.
- larks
List<Get
Alarm Content Templates Template Lark> - The lark content of the alarm content template.
- sms
List<Get
Alarm Content Templates Template Sm> - The sms content of the alarm content template.
- type String
- The type of the alarm content template.
- update
Time String - The update time of the alarm content template.
- vms
List<Get
Alarm Content Templates Template Vm> - The vms content of the alarm content template.
- webhooks
List<Get
Alarm Content Templates Template Webhook> - The webhook content of the alarm content template.
- wechats
List<Get
Alarm Content Templates Template Wechat> - The wechat content of the alarm content template.
- alarm
Content stringTemplate Id - The id of the alarm content template.
- alarm
Content stringTemplate Name - The name of the alarm content template. Fuzzy matching is supported.
- content string
- The content of the wechat content template.
- create
Time string - The creation time of the alarm content template.
- description string
- The description of the alarm content template.
- ding
Talks GetAlarm Content Templates Template Ding Talk[] - The ding_talk content of the alarm content template.
- emails
Get
Alarm Content Templates Template Email[] - The email content of the alarm content template.
- is
Default boolean - Whether the alarm content template is default.
- larks
Get
Alarm Content Templates Template Lark[] - The lark content of the alarm content template.
- sms
Get
Alarm Content Templates Template Sm[] - The sms content of the alarm content template.
- type string
- The type of the alarm content template.
- update
Time string - The update time of the alarm content template.
- vms
Get
Alarm Content Templates Template Vm[] - The vms content of the alarm content template.
- webhooks
Get
Alarm Content Templates Template Webhook[] - The webhook content of the alarm content template.
- wechats
Get
Alarm Content Templates Template Wechat[] - The wechat content of the alarm content template.
- alarm_
content_ strtemplate_ id - The id of the alarm content template.
- alarm_
content_ strtemplate_ name - 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[GetAlarm Content Templates Template Ding Talk] - The ding_talk content of the alarm content template.
- emails
Sequence[Get
Alarm Content Templates Template Email] - The email content of the alarm content template.
- is_
default bool - Whether the alarm content template is default.
- larks
Sequence[Get
Alarm Content Templates Template Lark] - The lark content of the alarm content template.
- sms
Sequence[Get
Alarm Content Templates Template Sm] - 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[Get
Alarm Content Templates Template Vm] - The vms content of the alarm content template.
- webhooks
Sequence[Get
Alarm Content Templates Template Webhook] - The webhook content of the alarm content template.
- wechats
Sequence[Get
Alarm Content Templates Template Wechat] - The wechat content of the alarm content template.
- alarm
Content StringTemplate Id - The id of the alarm content template.
- alarm
Content StringTemplate Name - The name of the alarm content template. Fuzzy matching is supported.
- content String
- The content of the wechat content template.
- create
Time String - The creation time of the alarm content template.
- description String
- The description of the alarm content template.
- ding
Talks List<Property Map> - The ding_talk content of the alarm content template.
- emails List<Property Map>
- The email content of the alarm content template.
- is
Default 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.
- update
Time 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
GetAlarmContentTemplatesTemplateEmail
GetAlarmContentTemplatesTemplateLark
GetAlarmContentTemplatesTemplateSm
GetAlarmContentTemplatesTemplateVm
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
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
