Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
Use this data source to query monitor notice content templates.
Example Usage
Query all templates
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getMonitorNoticeContentTmpls({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_monitor_notice_content_tmpls()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetMonitorNoticeContentTmpls(ctx, &tencentcloud.GetMonitorNoticeContentTmplsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetMonitorNoticeContentTmpls.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetMonitorNoticeContentTmplsArgs;
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 example = TencentcloudFunctions.getMonitorNoticeContentTmpls(GetMonitorNoticeContentTmplsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getMonitorNoticeContentTmpls
arguments: {}
Query by filter
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getMonitorNoticeContentTmpls({
tmplIds: ["ntpl-plu46bk5"],
tmplName: "tf-example",
noticeId: "notice-c2af43ee-1a4b-4c4a-ae3e-f81481280101",
tmplLanguage: "en",
monitorType: "MT_QCE",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_monitor_notice_content_tmpls(tmpl_ids=["ntpl-plu46bk5"],
tmpl_name="tf-example",
notice_id="notice-c2af43ee-1a4b-4c4a-ae3e-f81481280101",
tmpl_language="en",
monitor_type="MT_QCE")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetMonitorNoticeContentTmpls(ctx, &tencentcloud.GetMonitorNoticeContentTmplsArgs{
TmplIds: []string{
"ntpl-plu46bk5",
},
TmplName: pulumi.StringRef("tf-example"),
NoticeId: pulumi.StringRef("notice-c2af43ee-1a4b-4c4a-ae3e-f81481280101"),
TmplLanguage: pulumi.StringRef("en"),
MonitorType: pulumi.StringRef("MT_QCE"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetMonitorNoticeContentTmpls.Invoke(new()
{
TmplIds = new[]
{
"ntpl-plu46bk5",
},
TmplName = "tf-example",
NoticeId = "notice-c2af43ee-1a4b-4c4a-ae3e-f81481280101",
TmplLanguage = "en",
MonitorType = "MT_QCE",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetMonitorNoticeContentTmplsArgs;
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 example = TencentcloudFunctions.getMonitorNoticeContentTmpls(GetMonitorNoticeContentTmplsArgs.builder()
.tmplIds("ntpl-plu46bk5")
.tmplName("tf-example")
.noticeId("notice-c2af43ee-1a4b-4c4a-ae3e-f81481280101")
.tmplLanguage("en")
.monitorType("MT_QCE")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getMonitorNoticeContentTmpls
arguments:
tmplIds:
- ntpl-plu46bk5
tmplName: tf-example
noticeId: notice-c2af43ee-1a4b-4c4a-ae3e-f81481280101
tmplLanguage: en
monitorType: MT_QCE
Using getMonitorNoticeContentTmpls
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 getMonitorNoticeContentTmpls(args: GetMonitorNoticeContentTmplsArgs, opts?: InvokeOptions): Promise<GetMonitorNoticeContentTmplsResult>
function getMonitorNoticeContentTmplsOutput(args: GetMonitorNoticeContentTmplsOutputArgs, opts?: InvokeOptions): Output<GetMonitorNoticeContentTmplsResult>def get_monitor_notice_content_tmpls(id: Optional[str] = None,
monitor_type: Optional[str] = None,
notice_id: Optional[str] = None,
result_output_file: Optional[str] = None,
tmpl_ids: Optional[Sequence[str]] = None,
tmpl_language: Optional[str] = None,
tmpl_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitorNoticeContentTmplsResult
def get_monitor_notice_content_tmpls_output(id: Optional[pulumi.Input[str]] = None,
monitor_type: Optional[pulumi.Input[str]] = None,
notice_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
tmpl_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tmpl_language: Optional[pulumi.Input[str]] = None,
tmpl_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMonitorNoticeContentTmplsResult]func GetMonitorNoticeContentTmpls(ctx *Context, args *GetMonitorNoticeContentTmplsArgs, opts ...InvokeOption) (*GetMonitorNoticeContentTmplsResult, error)
func GetMonitorNoticeContentTmplsOutput(ctx *Context, args *GetMonitorNoticeContentTmplsOutputArgs, opts ...InvokeOption) GetMonitorNoticeContentTmplsResultOutput> Note: This function is named GetMonitorNoticeContentTmpls in the Go SDK.
public static class GetMonitorNoticeContentTmpls
{
public static Task<GetMonitorNoticeContentTmplsResult> InvokeAsync(GetMonitorNoticeContentTmplsArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorNoticeContentTmplsResult> Invoke(GetMonitorNoticeContentTmplsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMonitorNoticeContentTmplsResult> getMonitorNoticeContentTmpls(GetMonitorNoticeContentTmplsArgs args, InvokeOptions options)
public static Output<GetMonitorNoticeContentTmplsResult> getMonitorNoticeContentTmpls(GetMonitorNoticeContentTmplsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMonitorNoticeContentTmpls:getMonitorNoticeContentTmpls
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Monitor
Type string - Monitor type for query. Valid value:
MT_QCE. - Notice
Id string - Notice template ID for query.
- Result
Output stringFile - Used to save results.
- Tmpl
Ids List<string> - Template ID list for query.
- Tmpl
Language string - Template language for query. Valid values:
en,zh. - Tmpl
Name string - Template name for query.
- Id string
- Monitor
Type string - Monitor type for query. Valid value:
MT_QCE. - Notice
Id string - Notice template ID for query.
- Result
Output stringFile - Used to save results.
- Tmpl
Ids []string - Template ID list for query.
- Tmpl
Language string - Template language for query. Valid values:
en,zh. - Tmpl
Name string - Template name for query.
- id String
- monitor
Type String - Monitor type for query. Valid value:
MT_QCE. - notice
Id String - Notice template ID for query.
- result
Output StringFile - Used to save results.
- tmpl
Ids List<String> - Template ID list for query.
- tmpl
Language String - Template language for query. Valid values:
en,zh. - tmpl
Name String - Template name for query.
- id string
- monitor
Type string - Monitor type for query. Valid value:
MT_QCE. - notice
Id string - Notice template ID for query.
- result
Output stringFile - Used to save results.
- tmpl
Ids string[] - Template ID list for query.
- tmpl
Language string - Template language for query. Valid values:
en,zh. - tmpl
Name string - Template name for query.
- id str
- monitor_
type str - Monitor type for query. Valid value:
MT_QCE. - notice_
id str - Notice template ID for query.
- result_
output_ strfile - Used to save results.
- tmpl_
ids Sequence[str] - Template ID list for query.
- tmpl_
language str - Template language for query. Valid values:
en,zh. - tmpl_
name str - Template name for query.
- id String
- monitor
Type String - Monitor type for query. Valid value:
MT_QCE. - notice
Id String - Notice template ID for query.
- result
Output StringFile - Used to save results.
- tmpl
Ids List<String> - Template ID list for query.
- tmpl
Language String - Template language for query. Valid values:
en,zh. - tmpl
Name String - Template name for query.
getMonitorNoticeContentTmpls Result
The following output properties are available:
- Id string
- Notice
Content List<GetTmpl Lists Monitor Notice Content Tmpls Notice Content Tmpl List> - Notification content template list.
- Monitor
Type string - Monitor type.
- Notice
Id string - Result
Output stringFile - Tmpl
Ids List<string> - Tmpl
Language string - Template language.
- Tmpl
Name string - Template name.
- Id string
- Notice
Content []GetTmpl Lists Monitor Notice Content Tmpls Notice Content Tmpl List - Notification content template list.
- Monitor
Type string - Monitor type.
- Notice
Id string - Result
Output stringFile - Tmpl
Ids []string - Tmpl
Language string - Template language.
- Tmpl
Name string - Template name.
- id String
- notice
Content List<GetTmpl Lists Monitor Notice Content Tmpls Notice Content Tmpl List> - Notification content template list.
- monitor
Type String - Monitor type.
- notice
Id String - result
Output StringFile - tmpl
Ids List<String> - tmpl
Language String - Template language.
- tmpl
Name String - Template name.
- id string
- notice
Content GetTmpl Lists Monitor Notice Content Tmpls Notice Content Tmpl List[] - Notification content template list.
- monitor
Type string - Monitor type.
- notice
Id string - result
Output stringFile - tmpl
Ids string[] - tmpl
Language string - Template language.
- tmpl
Name string - Template name.
- id str
- notice_
content_ Sequence[Gettmpl_ lists Monitor Notice Content Tmpls Notice Content Tmpl List] - Notification content template list.
- monitor_
type str - Monitor type.
- notice_
id str - result_
output_ strfile - tmpl_
ids Sequence[str] - tmpl_
language str - Template language.
- tmpl_
name str - Template name.
- id String
- notice
Content List<Property Map>Tmpl Lists - Notification content template list.
- monitor
Type String - Monitor type.
- notice
Id String - result
Output StringFile - tmpl
Ids List<String> - tmpl
Language String - Template language.
- tmpl
Name String - Template name.
Supporting Types
GetMonitorNoticeContentTmplsNoticeContentTmplList
- Create
Time double - Create time.
- Creator string
- Creator uin.
- Monitor
Type string - Monitor type for query. Valid value:
MT_QCE. - Tmpl
Contents stringJson - Template content in JSON format.
- Tmpl
Id string - Template ID.
- Tmpl
Language string - Template language for query. Valid values:
en,zh. - Tmpl
Name string - Template name for query.
- Update
Time double - Update time.
- Create
Time float64 - Create time.
- Creator string
- Creator uin.
- Monitor
Type string - Monitor type for query. Valid value:
MT_QCE. - Tmpl
Contents stringJson - Template content in JSON format.
- Tmpl
Id string - Template ID.
- Tmpl
Language string - Template language for query. Valid values:
en,zh. - Tmpl
Name string - Template name for query.
- Update
Time float64 - Update time.
- create
Time Double - Create time.
- creator String
- Creator uin.
- monitor
Type String - Monitor type for query. Valid value:
MT_QCE. - tmpl
Contents StringJson - Template content in JSON format.
- tmpl
Id String - Template ID.
- tmpl
Language String - Template language for query. Valid values:
en,zh. - tmpl
Name String - Template name for query.
- update
Time Double - Update time.
- create
Time number - Create time.
- creator string
- Creator uin.
- monitor
Type string - Monitor type for query. Valid value:
MT_QCE. - tmpl
Contents stringJson - Template content in JSON format.
- tmpl
Id string - Template ID.
- tmpl
Language string - Template language for query. Valid values:
en,zh. - tmpl
Name string - Template name for query.
- update
Time number - Update time.
- create_
time float - Create time.
- creator str
- Creator uin.
- monitor_
type str - Monitor type for query. Valid value:
MT_QCE. - tmpl_
contents_ strjson - Template content in JSON format.
- tmpl_
id str - Template ID.
- tmpl_
language str - Template language for query. Valid values:
en,zh. - tmpl_
name str - Template name for query.
- update_
time float - Update time.
- create
Time Number - Create time.
- creator String
- Creator uin.
- monitor
Type String - Monitor type for query. Valid value:
MT_QCE. - tmpl
Contents StringJson - Template content in JSON format.
- tmpl
Id String - Template ID.
- tmpl
Language String - Template language for query. Valid values:
en,zh. - tmpl
Name String - Template name for query.
- update
Time Number - Update time.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.82.79
published on Friday, Mar 27, 2026 by tencentcloudstack
published on Friday, Mar 27, 2026 by tencentcloudstack
