Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Use this data source to query detailed information of CLS notice content templates.
Example Usage
Query all notice content templates
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getClsNoticeContents({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cls_notice_contents()
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.GetClsNoticeContents(ctx, &tencentcloud.GetClsNoticeContentsArgs{}, 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.GetClsNoticeContents.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.GetClsNoticeContentsArgs;
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.getClsNoticeContents(GetClsNoticeContentsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getClsNoticeContents
arguments: {}
Example coming soon!
Query by template name
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getClsNoticeContents({
filters: [{
key: "name",
values: ["DefaultTemplate(English)"],
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cls_notice_contents(filters=[{
"key": "name",
"values": ["DefaultTemplate(English)"],
}])
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.GetClsNoticeContents(ctx, &tencentcloud.GetClsNoticeContentsArgs{
Filters: []tencentcloud.GetClsNoticeContentsFilter{
{
Key: "name",
Values: []string{
"DefaultTemplate(English)",
},
},
},
}, 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.GetClsNoticeContents.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetClsNoticeContentsFilterInputArgs
{
Key = "name",
Values = new[]
{
"DefaultTemplate(English)",
},
},
},
});
});
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.GetClsNoticeContentsArgs;
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.getClsNoticeContents(GetClsNoticeContentsArgs.builder()
.filters(GetClsNoticeContentsFilterArgs.builder()
.key("name")
.values("DefaultTemplate(English)")
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getClsNoticeContents
arguments:
filters:
- key: name
values:
- DefaultTemplate(English)
Example coming soon!
Query by template ID
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getClsNoticeContents({
filters: [{
key: "noticeContentId",
values: ["Default-en"],
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cls_notice_contents(filters=[{
"key": "noticeContentId",
"values": ["Default-en"],
}])
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.GetClsNoticeContents(ctx, &tencentcloud.GetClsNoticeContentsArgs{
Filters: []tencentcloud.GetClsNoticeContentsFilter{
{
Key: "noticeContentId",
Values: []string{
"Default-en",
},
},
},
}, 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.GetClsNoticeContents.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetClsNoticeContentsFilterInputArgs
{
Key = "noticeContentId",
Values = new[]
{
"Default-en",
},
},
},
});
});
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.GetClsNoticeContentsArgs;
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.getClsNoticeContents(GetClsNoticeContentsArgs.builder()
.filters(GetClsNoticeContentsFilterArgs.builder()
.key("noticeContentId")
.values("Default-en")
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getClsNoticeContents
arguments:
filters:
- key: noticeContentId
values:
- Default-en
Example coming soon!
Using getClsNoticeContents
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 getClsNoticeContents(args: GetClsNoticeContentsArgs, opts?: InvokeOptions): Promise<GetClsNoticeContentsResult>
function getClsNoticeContentsOutput(args: GetClsNoticeContentsOutputArgs, opts?: InvokeOptions): Output<GetClsNoticeContentsResult>def get_cls_notice_contents(filters: Optional[Sequence[GetClsNoticeContentsFilter]] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClsNoticeContentsResult
def get_cls_notice_contents_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetClsNoticeContentsFilterArgs]]]] = None,
id: pulumi.Input[Optional[str]] = None,
result_output_file: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClsNoticeContentsResult]func GetClsNoticeContents(ctx *Context, args *GetClsNoticeContentsArgs, opts ...InvokeOption) (*GetClsNoticeContentsResult, error)
func GetClsNoticeContentsOutput(ctx *Context, args *GetClsNoticeContentsOutputArgs, opts ...InvokeOption) GetClsNoticeContentsResultOutput> Note: This function is named GetClsNoticeContents in the Go SDK.
public static class GetClsNoticeContents
{
public static Task<GetClsNoticeContentsResult> InvokeAsync(GetClsNoticeContentsArgs args, InvokeOptions? opts = null)
public static Output<GetClsNoticeContentsResult> Invoke(GetClsNoticeContentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClsNoticeContentsResult> getClsNoticeContents(GetClsNoticeContentsArgs args, InvokeOptions options)
public static Output<GetClsNoticeContentsResult> getClsNoticeContents(GetClsNoticeContentsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getClsNoticeContents:getClsNoticeContents
arguments:
# arguments dictionarydata "tencentcloud_getclsnoticecontents" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Cls Notice Contents Filter> - Filter conditions. Supported filter names: name (notice content template name), noticeContentId (notice content template ID). Each request supports up to 10 filters, and each filter value list supports up to 100 values.
- Id string
- Result
Output stringFile - Used to save results.
- Filters
[]Get
Cls Notice Contents Filter - Filter conditions. Supported filter names: name (notice content template name), noticeContentId (notice content template ID). Each request supports up to 10 filters, and each filter value list supports up to 100 values.
- Id string
- Result
Output stringFile - Used to save results.
- filters list(object)
- Filter conditions. Supported filter names: name (notice content template name), noticeContentId (notice content template ID). Each request supports up to 10 filters, and each filter value list supports up to 100 values.
- id string
- result_
output_ stringfile - Used to save results.
- filters
List<Get
Cls Notice Contents Filter> - Filter conditions. Supported filter names: name (notice content template name), noticeContentId (notice content template ID). Each request supports up to 10 filters, and each filter value list supports up to 100 values.
- id String
- result
Output StringFile - Used to save results.
- filters
Get
Cls Notice Contents Filter[] - Filter conditions. Supported filter names: name (notice content template name), noticeContentId (notice content template ID). Each request supports up to 10 filters, and each filter value list supports up to 100 values.
- id string
- result
Output stringFile - Used to save results.
- filters
Sequence[Get
Cls Notice Contents Filter] - Filter conditions. Supported filter names: name (notice content template name), noticeContentId (notice content template ID). Each request supports up to 10 filters, and each filter value list supports up to 100 values.
- id str
- result_
output_ strfile - Used to save results.
- filters List<Property Map>
- Filter conditions. Supported filter names: name (notice content template name), noticeContentId (notice content template ID). Each request supports up to 10 filters, and each filter value list supports up to 100 values.
- id String
- result
Output StringFile - Used to save results.
getClsNoticeContents Result
The following output properties are available:
- Id string
- Notice
Content List<GetLists Cls Notice Contents Notice Content List> - Notice content template list.
- Filters
List<Get
Cls Notice Contents Filter> - Result
Output stringFile
- Id string
- Notice
Content []GetLists Cls Notice Contents Notice Content List - Notice content template list.
- Filters
[]Get
Cls Notice Contents Filter - Result
Output stringFile
- id string
- notice_
content_ list(object)lists - Notice content template list.
- filters list(object)
- result_
output_ stringfile
- id String
- notice
Content List<GetLists Cls Notice Contents Notice Content List> - Notice content template list.
- filters
List<Get
Cls Notice Contents Filter> - result
Output StringFile
- id string
- notice
Content GetLists Cls Notice Contents Notice Content List[] - Notice content template list.
- filters
Get
Cls Notice Contents Filter[] - result
Output stringFile
- id str
- notice_
content_ Sequence[Getlists Cls Notice Contents Notice Content List] - Notice content template list.
- filters
Sequence[Get
Cls Notice Contents Filter] - result_
output_ strfile
- id String
- notice
Content List<Property Map>Lists - Notice content template list.
- filters List<Property Map>
- result
Output StringFile
Supporting Types
GetClsNoticeContentsFilter
GetClsNoticeContentsNoticeContentList
- Create
Time double - Creation time (Unix timestamp in seconds).
- Flag double
- Template flag. 0: user-defined, 1: system built-in.
- Name string
- Notice content template name.
- Notice
Content stringId - Notice content template ID.
- Notice
Contents List<GetCls Notice Contents Notice Content List Notice Content> - Notice content template details.
- Sub
Uin double - Creator/modifier sub-account ID.
- Type double
- Language type. 0: Chinese, 1: English.
- Uin double
- Creator primary account ID.
- Update
Time double - Update time (Unix timestamp in seconds).
- Create
Time float64 - Creation time (Unix timestamp in seconds).
- Flag float64
- Template flag. 0: user-defined, 1: system built-in.
- Name string
- Notice content template name.
- Notice
Content stringId - Notice content template ID.
- Notice
Contents []GetCls Notice Contents Notice Content List Notice Content - Notice content template details.
- Sub
Uin float64 - Creator/modifier sub-account ID.
- Type float64
- Language type. 0: Chinese, 1: English.
- Uin float64
- Creator primary account ID.
- Update
Time float64 - Update time (Unix timestamp in seconds).
- create_
time number - Creation time (Unix timestamp in seconds).
- flag number
- Template flag. 0: user-defined, 1: system built-in.
- name string
- Notice content template name.
- notice_
content_ stringid - Notice content template ID.
- notice_
contents list(object) - Notice content template details.
- sub_
uin number - Creator/modifier sub-account ID.
- type number
- Language type. 0: Chinese, 1: English.
- uin number
- Creator primary account ID.
- update_
time number - Update time (Unix timestamp in seconds).
- create
Time Double - Creation time (Unix timestamp in seconds).
- flag Double
- Template flag. 0: user-defined, 1: system built-in.
- name String
- Notice content template name.
- notice
Content StringId - Notice content template ID.
- notice
Contents List<GetCls Notice Contents Notice Content List Notice Content> - Notice content template details.
- sub
Uin Double - Creator/modifier sub-account ID.
- type Double
- Language type. 0: Chinese, 1: English.
- uin Double
- Creator primary account ID.
- update
Time Double - Update time (Unix timestamp in seconds).
- create
Time number - Creation time (Unix timestamp in seconds).
- flag number
- Template flag. 0: user-defined, 1: system built-in.
- name string
- Notice content template name.
- notice
Content stringId - Notice content template ID.
- notice
Contents GetCls Notice Contents Notice Content List Notice Content[] - Notice content template details.
- sub
Uin number - Creator/modifier sub-account ID.
- type number
- Language type. 0: Chinese, 1: English.
- uin number
- Creator primary account ID.
- update
Time number - Update time (Unix timestamp in seconds).
- create_
time float - Creation time (Unix timestamp in seconds).
- flag float
- Template flag. 0: user-defined, 1: system built-in.
- name str
- Notice content template name.
- notice_
content_ strid - Notice content template ID.
- notice_
contents Sequence[GetCls Notice Contents Notice Content List Notice Content] - Notice content template details.
- sub_
uin float - Creator/modifier sub-account ID.
- type float
- Language type. 0: Chinese, 1: English.
- uin float
- Creator primary account ID.
- update_
time float - Update time (Unix timestamp in seconds).
- create
Time Number - Creation time (Unix timestamp in seconds).
- flag Number
- Template flag. 0: user-defined, 1: system built-in.
- name String
- Notice content template name.
- notice
Content StringId - Notice content template ID.
- notice
Contents List<Property Map> - Notice content template details.
- sub
Uin Number - Creator/modifier sub-account ID.
- type Number
- Language type. 0: Chinese, 1: English.
- uin Number
- Creator primary account ID.
- update
Time Number - Update time (Unix timestamp in seconds).
GetClsNoticeContentsNoticeContentListNoticeContent
- Recovery
Contents List<GetCls Notice Contents Notice Content List Notice Content Recovery Content> - Alarm recovery notification content template.
- Trigger
Contents List<GetCls Notice Contents Notice Content List Notice Content Trigger Content> - Alarm trigger notification content template.
- Type string
- Language type. 0: Chinese, 1: English.
- Recovery
Contents []GetCls Notice Contents Notice Content List Notice Content Recovery Content - Alarm recovery notification content template.
- Trigger
Contents []GetCls Notice Contents Notice Content List Notice Content Trigger Content - Alarm trigger notification content template.
- Type string
- Language type. 0: Chinese, 1: English.
- recovery_
contents list(object) - Alarm recovery notification content template.
- trigger_
contents list(object) - Alarm trigger notification content template.
- type string
- Language type. 0: Chinese, 1: English.
- recovery
Contents List<GetCls Notice Contents Notice Content List Notice Content Recovery Content> - Alarm recovery notification content template.
- trigger
Contents List<GetCls Notice Contents Notice Content List Notice Content Trigger Content> - Alarm trigger notification content template.
- type String
- Language type. 0: Chinese, 1: English.
- recovery
Contents GetCls Notice Contents Notice Content List Notice Content Recovery Content[] - Alarm recovery notification content template.
- trigger
Contents GetCls Notice Contents Notice Content List Notice Content Trigger Content[] - Alarm trigger notification content template.
- type string
- Language type. 0: Chinese, 1: English.
- recovery_
contents Sequence[GetCls Notice Contents Notice Content List Notice Content Recovery Content] - Alarm recovery notification content template.
- trigger_
contents Sequence[GetCls Notice Contents Notice Content List Notice Content Trigger Content] - Alarm trigger notification content template.
- type str
- Language type. 0: Chinese, 1: English.
- recovery
Contents List<Property Map> - Alarm recovery notification content template.
- trigger
Contents List<Property Map> - Alarm trigger notification content template.
- type String
- Language type. 0: Chinese, 1: English.
GetClsNoticeContentsNoticeContentListNoticeContentRecoveryContent
GetClsNoticeContentsNoticeContentListNoticeContentTriggerContent
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.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
