published on Friday, May 1, 2026 by tencentcloudstack
published on Friday, May 1, 2026 by tencentcloudstack
Provides a resource to create a cls alarm notice
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ClsAlarmNotice("example", {
name: "tf-example",
jumpDomain: "https://console.cloud.tencent.com",
deliverStatus: 2,
alarmShieldStatus: 2,
callbackPrioritize: true,
noticeRules: [{
escalate: true,
interval: 10,
rule: JSON.stringify({
Children: [
{
Children: [
{
Type: "Compare",
Value: "In",
},
{
Type: "Value",
Value: JSON.stringify([1]),
},
],
Type: "Condition",
Value: "NotifyType",
},
{
Children: [
{
Type: "Compare",
Value: "In",
},
{
Type: "Value",
Value: JSON.stringify([
0,
2,
]),
},
],
Type: "Condition",
Value: "Level",
},
],
Type: "Operation",
Value: "AND",
}),
type: 1,
escalateNotices: [
{
escalate: true,
interval: 10,
type: 1,
noticeReceivers: [{
endTime: "23:59:59",
index: 1,
noticeContentId: "Default-zh",
receiverChannels: [
"Phone",
"Sms",
],
receiverIds: [19284382],
receiverType: "Uin",
startTime: "00:00:00",
}],
},
{
escalate: false,
interval: 10,
type: 1,
noticeReceivers: [{
endTime: "23:59:59",
index: 1,
noticeContentId: "Default-en",
receiverChannels: [
"Email",
"Phone",
"Sms",
],
receiverIds: [19284382],
receiverType: "Uin",
startTime: "00:00:00",
}],
},
],
noticeReceivers: [{
endTime: "23:59:59",
index: 1,
noticeContentId: "Default-en",
receiverChannels: ["Sms"],
receiverIds: [19284382],
receiverType: "Uin",
startTime: "00:00:00",
}],
}],
deliverConfig: {
region: "ap-guangzhou",
topicId: "898016cf-7e17-426f-9167-9b56fcfc603e",
scope: 0,
},
tags: {
createdBy: "Terraform",
},
});
import pulumi
import json
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ClsAlarmNotice("example",
name="tf-example",
jump_domain="https://console.cloud.tencent.com",
deliver_status=2,
alarm_shield_status=2,
callback_prioritize=True,
notice_rules=[{
"escalate": True,
"interval": 10,
"rule": json.dumps({
"Children": [
{
"Children": [
{
"Type": "Compare",
"Value": "In",
},
{
"Type": "Value",
"Value": json.dumps([1]),
},
],
"Type": "Condition",
"Value": "NotifyType",
},
{
"Children": [
{
"Type": "Compare",
"Value": "In",
},
{
"Type": "Value",
"Value": json.dumps([
0,
2,
]),
},
],
"Type": "Condition",
"Value": "Level",
},
],
"Type": "Operation",
"Value": "AND",
}),
"type": 1,
"escalate_notices": [
{
"escalate": True,
"interval": 10,
"type": 1,
"notice_receivers": [{
"end_time": "23:59:59",
"index": 1,
"notice_content_id": "Default-zh",
"receiver_channels": [
"Phone",
"Sms",
],
"receiver_ids": [19284382],
"receiver_type": "Uin",
"start_time": "00:00:00",
}],
},
{
"escalate": False,
"interval": 10,
"type": 1,
"notice_receivers": [{
"end_time": "23:59:59",
"index": 1,
"notice_content_id": "Default-en",
"receiver_channels": [
"Email",
"Phone",
"Sms",
],
"receiver_ids": [19284382],
"receiver_type": "Uin",
"start_time": "00:00:00",
}],
},
],
"notice_receivers": [{
"end_time": "23:59:59",
"index": 1,
"notice_content_id": "Default-en",
"receiver_channels": ["Sms"],
"receiver_ids": [19284382],
"receiver_type": "Uin",
"start_time": "00:00:00",
}],
}],
deliver_config={
"region": "ap-guangzhou",
"topic_id": "898016cf-7e17-426f-9167-9b56fcfc603e",
"scope": 0,
},
tags={
"createdBy": "Terraform",
})
package main
import (
"encoding/json"
"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 {
tmpJSON0, err := json.Marshal([]float64{
1,
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
tmpJSON1, err := json.Marshal([]float64{
0,
2,
})
if err != nil {
return err
}
json1 := string(tmpJSON1)
tmpJSON2, err := json.Marshal(map[string]interface{}{
"Children": []map[string]interface{}{
map[string]interface{}{
"Children": []map[string]interface{}{
map[string]interface{}{
"Type": "Compare",
"Value": "In",
},
map[string]interface{}{
"Type": "Value",
"Value": json0,
},
},
"Type": "Condition",
"Value": "NotifyType",
},
map[string]interface{}{
"Children": []map[string]interface{}{
map[string]interface{}{
"Type": "Compare",
"Value": "In",
},
map[string]interface{}{
"Type": "Value",
"Value": json1,
},
},
"Type": "Condition",
"Value": "Level",
},
},
"Type": "Operation",
"Value": "AND",
})
if err != nil {
return err
}
json2 := string(tmpJSON2)
_, err = tencentcloud.NewClsAlarmNotice(ctx, "example", &tencentcloud.ClsAlarmNoticeArgs{
Name: pulumi.String("tf-example"),
JumpDomain: pulumi.String("https://console.cloud.tencent.com"),
DeliverStatus: pulumi.Float64(2),
AlarmShieldStatus: pulumi.Float64(2),
CallbackPrioritize: pulumi.Bool(true),
NoticeRules: tencentcloud.ClsAlarmNoticeNoticeRuleArray{
&tencentcloud.ClsAlarmNoticeNoticeRuleArgs{
Escalate: pulumi.Bool(true),
Interval: pulumi.Float64(10),
Rule: pulumi.String(json2),
Type: pulumi.Float64(1),
EscalateNotices: tencentcloud.ClsAlarmNoticeNoticeRuleEscalateNoticeArray{
&tencentcloud.ClsAlarmNoticeNoticeRuleEscalateNoticeArgs{
Escalate: pulumi.Bool(true),
Interval: pulumi.Float64(10),
Type: pulumi.Float64(1),
NoticeReceivers: tencentcloud.ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArray{
&tencentcloud.ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs{
EndTime: pulumi.String("23:59:59"),
Index: pulumi.Float64(1),
NoticeContentId: pulumi.String("Default-zh"),
ReceiverChannels: pulumi.StringArray{
pulumi.String("Phone"),
pulumi.String("Sms"),
},
ReceiverIds: pulumi.Float64Array{
pulumi.Float64(19284382),
},
ReceiverType: pulumi.String("Uin"),
StartTime: pulumi.String("00:00:00"),
},
},
},
&tencentcloud.ClsAlarmNoticeNoticeRuleEscalateNoticeArgs{
Escalate: pulumi.Bool(false),
Interval: pulumi.Float64(10),
Type: pulumi.Float64(1),
NoticeReceivers: tencentcloud.ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArray{
&tencentcloud.ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs{
EndTime: pulumi.String("23:59:59"),
Index: pulumi.Float64(1),
NoticeContentId: pulumi.String("Default-en"),
ReceiverChannels: pulumi.StringArray{
pulumi.String("Email"),
pulumi.String("Phone"),
pulumi.String("Sms"),
},
ReceiverIds: pulumi.Float64Array{
pulumi.Float64(19284382),
},
ReceiverType: pulumi.String("Uin"),
StartTime: pulumi.String("00:00:00"),
},
},
},
},
NoticeReceivers: tencentcloud.ClsAlarmNoticeNoticeRuleNoticeReceiverArray{
&tencentcloud.ClsAlarmNoticeNoticeRuleNoticeReceiverArgs{
EndTime: pulumi.String("23:59:59"),
Index: pulumi.Float64(1),
NoticeContentId: pulumi.String("Default-en"),
ReceiverChannels: pulumi.StringArray{
pulumi.String("Sms"),
},
ReceiverIds: pulumi.Float64Array{
pulumi.Float64(19284382),
},
ReceiverType: pulumi.String("Uin"),
StartTime: pulumi.String("00:00:00"),
},
},
},
},
DeliverConfig: &tencentcloud.ClsAlarmNoticeDeliverConfigArgs{
Region: pulumi.String("ap-guangzhou"),
TopicId: pulumi.String("898016cf-7e17-426f-9167-9b56fcfc603e"),
Scope: pulumi.Float64(0),
},
Tags: pulumi.StringMap{
"createdBy": pulumi.String("Terraform"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.ClsAlarmNotice("example", new()
{
Name = "tf-example",
JumpDomain = "https://console.cloud.tencent.com",
DeliverStatus = 2,
AlarmShieldStatus = 2,
CallbackPrioritize = true,
NoticeRules = new[]
{
new Tencentcloud.Inputs.ClsAlarmNoticeNoticeRuleArgs
{
Escalate = true,
Interval = 10,
Rule = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["Children"] = new[]
{
new Dictionary<string, object?>
{
["Children"] = new[]
{
new Dictionary<string, object?>
{
["Type"] = "Compare",
["Value"] = "In",
},
new Dictionary<string, object?>
{
["Type"] = "Value",
["Value"] = JsonSerializer.Serialize(new[]
{
1,
}),
},
},
["Type"] = "Condition",
["Value"] = "NotifyType",
},
new Dictionary<string, object?>
{
["Children"] = new[]
{
new Dictionary<string, object?>
{
["Type"] = "Compare",
["Value"] = "In",
},
new Dictionary<string, object?>
{
["Type"] = "Value",
["Value"] = JsonSerializer.Serialize(new object?[]
{
0,
2,
}),
},
},
["Type"] = "Condition",
["Value"] = "Level",
},
},
["Type"] = "Operation",
["Value"] = "AND",
}),
Type = 1,
EscalateNotices = new[]
{
new Tencentcloud.Inputs.ClsAlarmNoticeNoticeRuleEscalateNoticeArgs
{
Escalate = true,
Interval = 10,
Type = 1,
NoticeReceivers = new[]
{
new Tencentcloud.Inputs.ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs
{
EndTime = "23:59:59",
Index = 1,
NoticeContentId = "Default-zh",
ReceiverChannels = new[]
{
"Phone",
"Sms",
},
ReceiverIds = new[]
{
19284382,
},
ReceiverType = "Uin",
StartTime = "00:00:00",
},
},
},
new Tencentcloud.Inputs.ClsAlarmNoticeNoticeRuleEscalateNoticeArgs
{
Escalate = false,
Interval = 10,
Type = 1,
NoticeReceivers = new[]
{
new Tencentcloud.Inputs.ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs
{
EndTime = "23:59:59",
Index = 1,
NoticeContentId = "Default-en",
ReceiverChannels = new[]
{
"Email",
"Phone",
"Sms",
},
ReceiverIds = new[]
{
19284382,
},
ReceiverType = "Uin",
StartTime = "00:00:00",
},
},
},
},
NoticeReceivers = new[]
{
new Tencentcloud.Inputs.ClsAlarmNoticeNoticeRuleNoticeReceiverArgs
{
EndTime = "23:59:59",
Index = 1,
NoticeContentId = "Default-en",
ReceiverChannels = new[]
{
"Sms",
},
ReceiverIds = new[]
{
19284382,
},
ReceiverType = "Uin",
StartTime = "00:00:00",
},
},
},
},
DeliverConfig = new Tencentcloud.Inputs.ClsAlarmNoticeDeliverConfigArgs
{
Region = "ap-guangzhou",
TopicId = "898016cf-7e17-426f-9167-9b56fcfc603e",
Scope = 0,
},
Tags =
{
{ "createdBy", "Terraform" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ClsAlarmNotice;
import com.pulumi.tencentcloud.ClsAlarmNoticeArgs;
import com.pulumi.tencentcloud.inputs.ClsAlarmNoticeNoticeRuleArgs;
import com.pulumi.tencentcloud.inputs.ClsAlarmNoticeDeliverConfigArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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) {
var example = new ClsAlarmNotice("example", ClsAlarmNoticeArgs.builder()
.name("tf-example")
.jumpDomain("https://console.cloud.tencent.com")
.deliverStatus(2.0)
.alarmShieldStatus(2.0)
.callbackPrioritize(true)
.noticeRules(ClsAlarmNoticeNoticeRuleArgs.builder()
.escalate(true)
.interval(10.0)
.rule(serializeJson(
jsonObject(
jsonProperty("Children", jsonArray(
jsonObject(
jsonProperty("Children", jsonArray(
jsonObject(
jsonProperty("Type", "Compare"),
jsonProperty("Value", "In")
),
jsonObject(
jsonProperty("Type", "Value"),
jsonProperty("Value", serializeJson(
jsonArray(1)))
)
)),
jsonProperty("Type", "Condition"),
jsonProperty("Value", "NotifyType")
),
jsonObject(
jsonProperty("Children", jsonArray(
jsonObject(
jsonProperty("Type", "Compare"),
jsonProperty("Value", "In")
),
jsonObject(
jsonProperty("Type", "Value"),
jsonProperty("Value", serializeJson(
jsonArray(
0,
2
)))
)
)),
jsonProperty("Type", "Condition"),
jsonProperty("Value", "Level")
)
)),
jsonProperty("Type", "Operation"),
jsonProperty("Value", "AND")
)))
.type(1.0)
.escalateNotices(
ClsAlarmNoticeNoticeRuleEscalateNoticeArgs.builder()
.escalate(true)
.interval(10.0)
.type(1.0)
.noticeReceivers(ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs.builder()
.endTime("23:59:59")
.index(1.0)
.noticeContentId("Default-zh")
.receiverChannels(
"Phone",
"Sms")
.receiverIds(19284382.0)
.receiverType("Uin")
.startTime("00:00:00")
.build())
.build(),
ClsAlarmNoticeNoticeRuleEscalateNoticeArgs.builder()
.escalate(false)
.interval(10.0)
.type(1.0)
.noticeReceivers(ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs.builder()
.endTime("23:59:59")
.index(1.0)
.noticeContentId("Default-en")
.receiverChannels(
"Email",
"Phone",
"Sms")
.receiverIds(19284382.0)
.receiverType("Uin")
.startTime("00:00:00")
.build())
.build())
.noticeReceivers(ClsAlarmNoticeNoticeRuleNoticeReceiverArgs.builder()
.endTime("23:59:59")
.index(1.0)
.noticeContentId("Default-en")
.receiverChannels("Sms")
.receiverIds(19284382.0)
.receiverType("Uin")
.startTime("00:00:00")
.build())
.build())
.deliverConfig(ClsAlarmNoticeDeliverConfigArgs.builder()
.region("ap-guangzhou")
.topicId("898016cf-7e17-426f-9167-9b56fcfc603e")
.scope(0.0)
.build())
.tags(Map.of("createdBy", "Terraform"))
.build());
}
}
resources:
example:
type: tencentcloud:ClsAlarmNotice
properties:
name: tf-example
jumpDomain: https://console.cloud.tencent.com
deliverStatus: 2
alarmShieldStatus: 2
callbackPrioritize: true
noticeRules:
- escalate: true
interval: 10
rule:
fn::toJSON:
Children:
- Children:
- Type: Compare
Value: In
- Type: Value
Value:
fn::toJSON:
- 1
Type: Condition
Value: NotifyType
- Children:
- Type: Compare
Value: In
- Type: Value
Value:
fn::toJSON:
- 0
- 2
Type: Condition
Value: Level
Type: Operation
Value: AND
type: 1
escalateNotices:
- escalate: true
interval: 10
type: 1
noticeReceivers:
- endTime: 23:59:59
index: 1
noticeContentId: Default-zh
receiverChannels:
- Phone
- Sms
receiverIds:
- 1.9284382e+07
receiverType: Uin
startTime: 00:00:00
- escalate: false
interval: 10
type: 1
noticeReceivers:
- endTime: 23:59:59
index: 1
noticeContentId: Default-en
receiverChannels:
- Email
- Phone
- Sms
receiverIds:
- 1.9284382e+07
receiverType: Uin
startTime: 00:00:00
noticeReceivers:
- endTime: 23:59:59
index: 1
noticeContentId: Default-en
receiverChannels:
- Sms
receiverIds:
- 1.9284382e+07
receiverType: Uin
startTime: 00:00:00
deliverConfig:
region: ap-guangzhou
topicId: 898016cf-7e17-426f-9167-9b56fcfc603e
scope: 0
tags:
createdBy: Terraform
Create ClsAlarmNotice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClsAlarmNotice(name: string, args?: ClsAlarmNoticeArgs, opts?: CustomResourceOptions);@overload
def ClsAlarmNotice(resource_name: str,
args: Optional[ClsAlarmNoticeArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ClsAlarmNotice(resource_name: str,
opts: Optional[ResourceOptions] = None,
alarm_shield_status: Optional[float] = None,
callback_prioritize: Optional[bool] = None,
cls_alarm_notice_id: Optional[str] = None,
deliver_config: Optional[ClsAlarmNoticeDeliverConfigArgs] = None,
deliver_status: Optional[float] = None,
jump_domain: Optional[str] = None,
name: Optional[str] = None,
notice_receivers: Optional[Sequence[ClsAlarmNoticeNoticeReceiverArgs]] = None,
notice_rules: Optional[Sequence[ClsAlarmNoticeNoticeRuleArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
web_callbacks: Optional[Sequence[ClsAlarmNoticeWebCallbackArgs]] = None)func NewClsAlarmNotice(ctx *Context, name string, args *ClsAlarmNoticeArgs, opts ...ResourceOption) (*ClsAlarmNotice, error)public ClsAlarmNotice(string name, ClsAlarmNoticeArgs? args = null, CustomResourceOptions? opts = null)
public ClsAlarmNotice(String name, ClsAlarmNoticeArgs args)
public ClsAlarmNotice(String name, ClsAlarmNoticeArgs args, CustomResourceOptions options)
type: tencentcloud:ClsAlarmNotice
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClsAlarmNoticeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClsAlarmNoticeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClsAlarmNoticeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClsAlarmNoticeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClsAlarmNoticeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ClsAlarmNotice Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ClsAlarmNotice resource accepts the following input properties:
- Alarm
Shield doubleStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- Callback
Prioritize bool - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- Cls
Alarm stringNotice Id - ID of the resource.
- Deliver
Config ClsAlarm Notice Deliver Config - Deliver log configuration. Required when deliver_status is 2.
- Deliver
Status double - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- Jump
Domain string - Jump domain. Must start with http:// or https://, cannot end with /.
- Name string
- Alarm notice name.
- Notice
Receivers List<ClsAlarm Notice Notice Receiver> - Notice receivers.
- Notice
Rules List<ClsAlarm Notice Notice Rule> - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Dictionary<string, string>
- Tag description list.
- Type string
- Notice type. Value: Trigger, Recovery, All.
- Web
Callbacks List<ClsAlarm Notice Web Callback> - Callback info.
- Alarm
Shield float64Status - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- Callback
Prioritize bool - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- Cls
Alarm stringNotice Id - ID of the resource.
- Deliver
Config ClsAlarm Notice Deliver Config Args - Deliver log configuration. Required when deliver_status is 2.
- Deliver
Status float64 - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- Jump
Domain string - Jump domain. Must start with http:// or https://, cannot end with /.
- Name string
- Alarm notice name.
- Notice
Receivers []ClsAlarm Notice Notice Receiver Args - Notice receivers.
- Notice
Rules []ClsAlarm Notice Notice Rule Args - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- map[string]string
- Tag description list.
- Type string
- Notice type. Value: Trigger, Recovery, All.
- Web
Callbacks []ClsAlarm Notice Web Callback Args - Callback info.
- alarm
Shield DoubleStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback
Prioritize Boolean - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls
Alarm StringNotice Id - ID of the resource.
- deliver
Config ClsAlarm Notice Deliver Config - Deliver log configuration. Required when deliver_status is 2.
- deliver
Status Double - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump
Domain String - Jump domain. Must start with http:// or https://, cannot end with /.
- name String
- Alarm notice name.
- notice
Receivers List<ClsAlarm Notice Notice Receiver> - Notice receivers.
- notice
Rules List<ClsAlarm Notice Notice Rule> - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Map<String,String>
- Tag description list.
- type String
- Notice type. Value: Trigger, Recovery, All.
- web
Callbacks List<ClsAlarm Notice Web Callback> - Callback info.
- alarm
Shield numberStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback
Prioritize boolean - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls
Alarm stringNotice Id - ID of the resource.
- deliver
Config ClsAlarm Notice Deliver Config - Deliver log configuration. Required when deliver_status is 2.
- deliver
Status number - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump
Domain string - Jump domain. Must start with http:// or https://, cannot end with /.
- name string
- Alarm notice name.
- notice
Receivers ClsAlarm Notice Notice Receiver[] - Notice receivers.
- notice
Rules ClsAlarm Notice Notice Rule[] - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- {[key: string]: string}
- Tag description list.
- type string
- Notice type. Value: Trigger, Recovery, All.
- web
Callbacks ClsAlarm Notice Web Callback[] - Callback info.
- alarm_
shield_ floatstatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback_
prioritize bool - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls_
alarm_ strnotice_ id - ID of the resource.
- deliver_
config ClsAlarm Notice Deliver Config Args - Deliver log configuration. Required when deliver_status is 2.
- deliver_
status float - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump_
domain str - Jump domain. Must start with http:// or https://, cannot end with /.
- name str
- Alarm notice name.
- notice_
receivers Sequence[ClsAlarm Notice Notice Receiver Args] - Notice receivers.
- notice_
rules Sequence[ClsAlarm Notice Notice Rule Args] - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Mapping[str, str]
- Tag description list.
- type str
- Notice type. Value: Trigger, Recovery, All.
- web_
callbacks Sequence[ClsAlarm Notice Web Callback Args] - Callback info.
- alarm
Shield NumberStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback
Prioritize Boolean - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls
Alarm StringNotice Id - ID of the resource.
- deliver
Config Property Map - Deliver log configuration. Required when deliver_status is 2.
- deliver
Status Number - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump
Domain String - Jump domain. Must start with http:// or https://, cannot end with /.
- name String
- Alarm notice name.
- notice
Receivers List<Property Map> - Notice receivers.
- notice
Rules List<Property Map> - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Map<String>
- Tag description list.
- type String
- Notice type. Value: Trigger, Recovery, All.
- web
Callbacks List<Property Map> - Callback info.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClsAlarmNotice resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ClsAlarmNotice Resource
Get an existing ClsAlarmNotice resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ClsAlarmNoticeState, opts?: CustomResourceOptions): ClsAlarmNotice@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alarm_shield_status: Optional[float] = None,
callback_prioritize: Optional[bool] = None,
cls_alarm_notice_id: Optional[str] = None,
deliver_config: Optional[ClsAlarmNoticeDeliverConfigArgs] = None,
deliver_status: Optional[float] = None,
jump_domain: Optional[str] = None,
name: Optional[str] = None,
notice_receivers: Optional[Sequence[ClsAlarmNoticeNoticeReceiverArgs]] = None,
notice_rules: Optional[Sequence[ClsAlarmNoticeNoticeRuleArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
web_callbacks: Optional[Sequence[ClsAlarmNoticeWebCallbackArgs]] = None) -> ClsAlarmNoticefunc GetClsAlarmNotice(ctx *Context, name string, id IDInput, state *ClsAlarmNoticeState, opts ...ResourceOption) (*ClsAlarmNotice, error)public static ClsAlarmNotice Get(string name, Input<string> id, ClsAlarmNoticeState? state, CustomResourceOptions? opts = null)public static ClsAlarmNotice get(String name, Output<String> id, ClsAlarmNoticeState state, CustomResourceOptions options)resources: _: type: tencentcloud:ClsAlarmNotice get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alarm
Shield doubleStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- Callback
Prioritize bool - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- Cls
Alarm stringNotice Id - ID of the resource.
- Deliver
Config ClsAlarm Notice Deliver Config - Deliver log configuration. Required when deliver_status is 2.
- Deliver
Status double - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- Jump
Domain string - Jump domain. Must start with http:// or https://, cannot end with /.
- Name string
- Alarm notice name.
- Notice
Receivers List<ClsAlarm Notice Notice Receiver> - Notice receivers.
- Notice
Rules List<ClsAlarm Notice Notice Rule> - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Dictionary<string, string>
- Tag description list.
- Type string
- Notice type. Value: Trigger, Recovery, All.
- Web
Callbacks List<ClsAlarm Notice Web Callback> - Callback info.
- Alarm
Shield float64Status - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- Callback
Prioritize bool - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- Cls
Alarm stringNotice Id - ID of the resource.
- Deliver
Config ClsAlarm Notice Deliver Config Args - Deliver log configuration. Required when deliver_status is 2.
- Deliver
Status float64 - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- Jump
Domain string - Jump domain. Must start with http:// or https://, cannot end with /.
- Name string
- Alarm notice name.
- Notice
Receivers []ClsAlarm Notice Notice Receiver Args - Notice receivers.
- Notice
Rules []ClsAlarm Notice Notice Rule Args - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- map[string]string
- Tag description list.
- Type string
- Notice type. Value: Trigger, Recovery, All.
- Web
Callbacks []ClsAlarm Notice Web Callback Args - Callback info.
- alarm
Shield DoubleStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback
Prioritize Boolean - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls
Alarm StringNotice Id - ID of the resource.
- deliver
Config ClsAlarm Notice Deliver Config - Deliver log configuration. Required when deliver_status is 2.
- deliver
Status Double - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump
Domain String - Jump domain. Must start with http:// or https://, cannot end with /.
- name String
- Alarm notice name.
- notice
Receivers List<ClsAlarm Notice Notice Receiver> - Notice receivers.
- notice
Rules List<ClsAlarm Notice Notice Rule> - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Map<String,String>
- Tag description list.
- type String
- Notice type. Value: Trigger, Recovery, All.
- web
Callbacks List<ClsAlarm Notice Web Callback> - Callback info.
- alarm
Shield numberStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback
Prioritize boolean - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls
Alarm stringNotice Id - ID of the resource.
- deliver
Config ClsAlarm Notice Deliver Config - Deliver log configuration. Required when deliver_status is 2.
- deliver
Status number - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump
Domain string - Jump domain. Must start with http:// or https://, cannot end with /.
- name string
- Alarm notice name.
- notice
Receivers ClsAlarm Notice Notice Receiver[] - Notice receivers.
- notice
Rules ClsAlarm Notice Notice Rule[] - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- {[key: string]: string}
- Tag description list.
- type string
- Notice type. Value: Trigger, Recovery, All.
- web
Callbacks ClsAlarm Notice Web Callback[] - Callback info.
- alarm_
shield_ floatstatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback_
prioritize bool - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls_
alarm_ strnotice_ id - ID of the resource.
- deliver_
config ClsAlarm Notice Deliver Config Args - Deliver log configuration. Required when deliver_status is 2.
- deliver_
status float - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump_
domain str - Jump domain. Must start with http:// or https://, cannot end with /.
- name str
- Alarm notice name.
- notice_
receivers Sequence[ClsAlarm Notice Notice Receiver Args] - Notice receivers.
- notice_
rules Sequence[ClsAlarm Notice Notice Rule Args] - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Mapping[str, str]
- Tag description list.
- type str
- Notice type. Value: Trigger, Recovery, All.
- web_
callbacks Sequence[ClsAlarm Notice Web Callback Args] - Callback info.
- alarm
Shield NumberStatus - Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
- callback
Prioritize Boolean - Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
- cls
Alarm StringNotice Id - ID of the resource.
- deliver
Config Property Map - Deliver log configuration. Required when deliver_status is 2.
- deliver
Status Number - Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
- jump
Domain String - Jump domain. Must start with http:// or https://, cannot end with /.
- name String
- Alarm notice name.
- notice
Receivers List<Property Map> - Notice receivers.
- notice
Rules List<Property Map> - Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
- Map<String>
- Tag description list.
- type String
- Notice type. Value: Trigger, Recovery, All.
- web
Callbacks List<Property Map> - Callback info.
Supporting Types
ClsAlarmNoticeDeliverConfig, ClsAlarmNoticeDeliverConfigArgs
ClsAlarmNoticeNoticeReceiver, ClsAlarmNoticeNoticeReceiverArgs
- Receiver
Channels List<string> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- Receiver
Ids List<double> - Receiver id list.
- Receiver
Type string - Receiver type, Uin or Group.
- End
Time string - End time allowed to receive messages.
- Index double
- Index. The input parameter is invalid, but the output parameter is valid.
- Notice
Content stringId - Notice content ID.
- Start
Time string - Start time allowed to receive messages.
- Receiver
Channels []string - Receiver channels, Value: Email, Sms, WeChat, Phone.
- Receiver
Ids []float64 - Receiver id list.
- Receiver
Type string - Receiver type, Uin or Group.
- End
Time string - End time allowed to receive messages.
- Index float64
- Index. The input parameter is invalid, but the output parameter is valid.
- Notice
Content stringId - Notice content ID.
- Start
Time string - Start time allowed to receive messages.
- receiver
Channels List<String> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids List<Double> - Receiver id list.
- receiver
Type String - Receiver type, Uin or Group.
- end
Time String - End time allowed to receive messages.
- index Double
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content StringId - Notice content ID.
- start
Time String - Start time allowed to receive messages.
- receiver
Channels string[] - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids number[] - Receiver id list.
- receiver
Type string - Receiver type, Uin or Group.
- end
Time string - End time allowed to receive messages.
- index number
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content stringId - Notice content ID.
- start
Time string - Start time allowed to receive messages.
- receiver_
channels Sequence[str] - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver_
ids Sequence[float] - Receiver id list.
- receiver_
type str - Receiver type, Uin or Group.
- end_
time str - End time allowed to receive messages.
- index float
- Index. The input parameter is invalid, but the output parameter is valid.
- notice_
content_ strid - Notice content ID.
- start_
time str - Start time allowed to receive messages.
- receiver
Channels List<String> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids List<Number> - Receiver id list.
- receiver
Type String - Receiver type, Uin or Group.
- end
Time String - End time allowed to receive messages.
- index Number
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content StringId - Notice content ID.
- start
Time String - Start time allowed to receive messages.
ClsAlarmNoticeNoticeRule, ClsAlarmNoticeNoticeRuleArgs
- Escalate bool
- Alarm escalate switch. true: enable; false: disable (default).
- Escalate
Notices List<ClsAlarm Notice Notice Rule Escalate Notice> - Alarm escalate notice chain, ordered from level 1 to level 5 (max). Each element represents the next escalation level.
- Interval double
- Alarm escalate interval in minutes. Range: [1, 14400].
- Notice
Receivers List<ClsAlarm Notice Notice Rule Notice Receiver> - Notice receivers for this rule.
- Rule string
- Matching rule JSON string.
- Type double
- Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- Web
Callbacks List<ClsAlarm Notice Notice Rule Web Callback> - Web callbacks for this rule.
- Escalate bool
- Alarm escalate switch. true: enable; false: disable (default).
- Escalate
Notices []ClsAlarm Notice Notice Rule Escalate Notice - Alarm escalate notice chain, ordered from level 1 to level 5 (max). Each element represents the next escalation level.
- Interval float64
- Alarm escalate interval in minutes. Range: [1, 14400].
- Notice
Receivers []ClsAlarm Notice Notice Rule Notice Receiver - Notice receivers for this rule.
- Rule string
- Matching rule JSON string.
- Type float64
- Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- Web
Callbacks []ClsAlarm Notice Notice Rule Web Callback - Web callbacks for this rule.
- escalate Boolean
- Alarm escalate switch. true: enable; false: disable (default).
- escalate
Notices List<ClsAlarm Notice Notice Rule Escalate Notice> - Alarm escalate notice chain, ordered from level 1 to level 5 (max). Each element represents the next escalation level.
- interval Double
- Alarm escalate interval in minutes. Range: [1, 14400].
- notice
Receivers List<ClsAlarm Notice Notice Rule Notice Receiver> - Notice receivers for this rule.
- rule String
- Matching rule JSON string.
- type Double
- Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web
Callbacks List<ClsAlarm Notice Notice Rule Web Callback> - Web callbacks for this rule.
- escalate boolean
- Alarm escalate switch. true: enable; false: disable (default).
- escalate
Notices ClsAlarm Notice Notice Rule Escalate Notice[] - Alarm escalate notice chain, ordered from level 1 to level 5 (max). Each element represents the next escalation level.
- interval number
- Alarm escalate interval in minutes. Range: [1, 14400].
- notice
Receivers ClsAlarm Notice Notice Rule Notice Receiver[] - Notice receivers for this rule.
- rule string
- Matching rule JSON string.
- type number
- Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web
Callbacks ClsAlarm Notice Notice Rule Web Callback[] - Web callbacks for this rule.
- escalate bool
- Alarm escalate switch. true: enable; false: disable (default).
- escalate_
notices Sequence[ClsAlarm Notice Notice Rule Escalate Notice] - Alarm escalate notice chain, ordered from level 1 to level 5 (max). Each element represents the next escalation level.
- interval float
- Alarm escalate interval in minutes. Range: [1, 14400].
- notice_
receivers Sequence[ClsAlarm Notice Notice Rule Notice Receiver] - Notice receivers for this rule.
- rule str
- Matching rule JSON string.
- type float
- Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web_
callbacks Sequence[ClsAlarm Notice Notice Rule Web Callback] - Web callbacks for this rule.
- escalate Boolean
- Alarm escalate switch. true: enable; false: disable (default).
- escalate
Notices List<Property Map> - Alarm escalate notice chain, ordered from level 1 to level 5 (max). Each element represents the next escalation level.
- interval Number
- Alarm escalate interval in minutes. Range: [1, 14400].
- notice
Receivers List<Property Map> - Notice receivers for this rule.
- rule String
- Matching rule JSON string.
- type Number
- Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web
Callbacks List<Property Map> - Web callbacks for this rule.
ClsAlarmNoticeNoticeRuleEscalateNotice, ClsAlarmNoticeNoticeRuleEscalateNoticeArgs
- Escalate bool
- Whether to continue escalating from this level. true: enable; false: disable.
- Interval double
- Escalate interval in minutes. Range: [1, 14400].
- Notice
Receivers List<ClsAlarm Notice Notice Rule Escalate Notice Notice Receiver> - Notice receivers for this escalation level.
- Type double
- Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- Web
Callbacks List<ClsAlarm Notice Notice Rule Escalate Notice Web Callback> - Web callbacks for this escalation level.
- Escalate bool
- Whether to continue escalating from this level. true: enable; false: disable.
- Interval float64
- Escalate interval in minutes. Range: [1, 14400].
- Notice
Receivers []ClsAlarm Notice Notice Rule Escalate Notice Notice Receiver - Notice receivers for this escalation level.
- Type float64
- Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- Web
Callbacks []ClsAlarm Notice Notice Rule Escalate Notice Web Callback - Web callbacks for this escalation level.
- escalate Boolean
- Whether to continue escalating from this level. true: enable; false: disable.
- interval Double
- Escalate interval in minutes. Range: [1, 14400].
- notice
Receivers List<ClsAlarm Notice Notice Rule Escalate Notice Notice Receiver> - Notice receivers for this escalation level.
- type Double
- Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web
Callbacks List<ClsAlarm Notice Notice Rule Escalate Notice Web Callback> - Web callbacks for this escalation level.
- escalate boolean
- Whether to continue escalating from this level. true: enable; false: disable.
- interval number
- Escalate interval in minutes. Range: [1, 14400].
- notice
Receivers ClsAlarm Notice Notice Rule Escalate Notice Notice Receiver[] - Notice receivers for this escalation level.
- type number
- Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web
Callbacks ClsAlarm Notice Notice Rule Escalate Notice Web Callback[] - Web callbacks for this escalation level.
- escalate bool
- Whether to continue escalating from this level. true: enable; false: disable.
- interval float
- Escalate interval in minutes. Range: [1, 14400].
- notice_
receivers Sequence[ClsAlarm Notice Notice Rule Escalate Notice Notice Receiver] - Notice receivers for this escalation level.
- type float
- Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web_
callbacks Sequence[ClsAlarm Notice Notice Rule Escalate Notice Web Callback] - Web callbacks for this escalation level.
- escalate Boolean
- Whether to continue escalating from this level. true: enable; false: disable.
- interval Number
- Escalate interval in minutes. Range: [1, 14400].
- notice
Receivers List<Property Map> - Notice receivers for this escalation level.
- type Number
- Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
- web
Callbacks List<Property Map> - Web callbacks for this escalation level.
ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiver, ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs
- Receiver
Channels List<string> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- Receiver
Ids List<double> - Receiver id list.
- Receiver
Type string - Receiver type, Uin or Group.
- End
Time string - End time allowed to receive messages.
- Index double
- Index. The input parameter is invalid, but the output parameter is valid.
- Notice
Content stringId - Notice content ID.
- Start
Time string - Start time allowed to receive messages.
- Receiver
Channels []string - Receiver channels, Value: Email, Sms, WeChat, Phone.
- Receiver
Ids []float64 - Receiver id list.
- Receiver
Type string - Receiver type, Uin or Group.
- End
Time string - End time allowed to receive messages.
- Index float64
- Index. The input parameter is invalid, but the output parameter is valid.
- Notice
Content stringId - Notice content ID.
- Start
Time string - Start time allowed to receive messages.
- receiver
Channels List<String> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids List<Double> - Receiver id list.
- receiver
Type String - Receiver type, Uin or Group.
- end
Time String - End time allowed to receive messages.
- index Double
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content StringId - Notice content ID.
- start
Time String - Start time allowed to receive messages.
- receiver
Channels string[] - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids number[] - Receiver id list.
- receiver
Type string - Receiver type, Uin or Group.
- end
Time string - End time allowed to receive messages.
- index number
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content stringId - Notice content ID.
- start
Time string - Start time allowed to receive messages.
- receiver_
channels Sequence[str] - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver_
ids Sequence[float] - Receiver id list.
- receiver_
type str - Receiver type, Uin or Group.
- end_
time str - End time allowed to receive messages.
- index float
- Index. The input parameter is invalid, but the output parameter is valid.
- notice_
content_ strid - Notice content ID.
- start_
time str - Start time allowed to receive messages.
- receiver
Channels List<String> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids List<Number> - Receiver id list.
- receiver
Type String - Receiver type, Uin or Group.
- end
Time String - End time allowed to receive messages.
- index Number
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content StringId - Notice content ID.
- start
Time String - Start time allowed to receive messages.
ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallback, ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallbackArgs
- Callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- Url string
- Callback url.
- Body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - Headers List<string>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - Index double
- Index. The input parameter is invalid, but the output parameter is valid.
- Method string
- Method, POST or PUT.
- Mobiles List<string>
- Telephone list.
- Notice
Content stringId - Notice content ID.
- Remind
Type double - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- User
Ids List<string> - User ID list.
- Web
Callback stringId - Integration configuration ID.
- Callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- Url string
- Callback url.
- Body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - Headers []string
- This parameter is deprecated. Please use
notice_content_id. Request headers. - Index float64
- Index. The input parameter is invalid, but the output parameter is valid.
- Method string
- Method, POST or PUT.
- Mobiles []string
- Telephone list.
- Notice
Content stringId - Notice content ID.
- Remind
Type float64 - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- User
Ids []string - User ID list.
- Web
Callback stringId - Integration configuration ID.
- callback
Type String - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url String
- Callback url.
- body String
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers List<String>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index Double
- Index. The input parameter is invalid, but the output parameter is valid.
- method String
- Method, POST or PUT.
- mobiles List<String>
- Telephone list.
- notice
Content StringId - Notice content ID.
- remind
Type Double - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids List<String> - User ID list.
- web
Callback StringId - Integration configuration ID.
- callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url string
- Callback url.
- body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers string[]
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index number
- Index. The input parameter is invalid, but the output parameter is valid.
- method string
- Method, POST or PUT.
- mobiles string[]
- Telephone list.
- notice
Content stringId - Notice content ID.
- remind
Type number - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids string[] - User ID list.
- web
Callback stringId - Integration configuration ID.
- callback_
type str - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url str
- Callback url.
- body str
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers Sequence[str]
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index float
- Index. The input parameter is invalid, but the output parameter is valid.
- method str
- Method, POST or PUT.
- mobiles Sequence[str]
- Telephone list.
- notice_
content_ strid - Notice content ID.
- remind_
type float - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user_
ids Sequence[str] - User ID list.
- web_
callback_ strid - Integration configuration ID.
- callback
Type String - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url String
- Callback url.
- body String
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers List<String>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index Number
- Index. The input parameter is invalid, but the output parameter is valid.
- method String
- Method, POST or PUT.
- mobiles List<String>
- Telephone list.
- notice
Content StringId - Notice content ID.
- remind
Type Number - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids List<String> - User ID list.
- web
Callback StringId - Integration configuration ID.
ClsAlarmNoticeNoticeRuleNoticeReceiver, ClsAlarmNoticeNoticeRuleNoticeReceiverArgs
- Receiver
Channels List<string> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- Receiver
Ids List<double> - Receiver id list.
- Receiver
Type string - Receiver type, Uin or Group.
- End
Time string - End time allowed to receive messages.
- Index double
- Index. The input parameter is invalid, but the output parameter is valid.
- Notice
Content stringId - Notice content ID.
- Start
Time string - Start time allowed to receive messages.
- Receiver
Channels []string - Receiver channels, Value: Email, Sms, WeChat, Phone.
- Receiver
Ids []float64 - Receiver id list.
- Receiver
Type string - Receiver type, Uin or Group.
- End
Time string - End time allowed to receive messages.
- Index float64
- Index. The input parameter is invalid, but the output parameter is valid.
- Notice
Content stringId - Notice content ID.
- Start
Time string - Start time allowed to receive messages.
- receiver
Channels List<String> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids List<Double> - Receiver id list.
- receiver
Type String - Receiver type, Uin or Group.
- end
Time String - End time allowed to receive messages.
- index Double
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content StringId - Notice content ID.
- start
Time String - Start time allowed to receive messages.
- receiver
Channels string[] - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids number[] - Receiver id list.
- receiver
Type string - Receiver type, Uin or Group.
- end
Time string - End time allowed to receive messages.
- index number
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content stringId - Notice content ID.
- start
Time string - Start time allowed to receive messages.
- receiver_
channels Sequence[str] - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver_
ids Sequence[float] - Receiver id list.
- receiver_
type str - Receiver type, Uin or Group.
- end_
time str - End time allowed to receive messages.
- index float
- Index. The input parameter is invalid, but the output parameter is valid.
- notice_
content_ strid - Notice content ID.
- start_
time str - Start time allowed to receive messages.
- receiver
Channels List<String> - Receiver channels, Value: Email, Sms, WeChat, Phone.
- receiver
Ids List<Number> - Receiver id list.
- receiver
Type String - Receiver type, Uin or Group.
- end
Time String - End time allowed to receive messages.
- index Number
- Index. The input parameter is invalid, but the output parameter is valid.
- notice
Content StringId - Notice content ID.
- start
Time String - Start time allowed to receive messages.
ClsAlarmNoticeNoticeRuleWebCallback, ClsAlarmNoticeNoticeRuleWebCallbackArgs
- Callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- Url string
- Callback url.
- Body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - Headers List<string>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - Index double
- Index. The input parameter is invalid, but the output parameter is valid.
- Method string
- Method, POST or PUT.
- Mobiles List<string>
- Telephone list.
- Notice
Content stringId - Notice content ID.
- Remind
Type double - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- User
Ids List<string> - User ID list.
- Web
Callback stringId - Integration configuration ID.
- Callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- Url string
- Callback url.
- Body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - Headers []string
- This parameter is deprecated. Please use
notice_content_id. Request headers. - Index float64
- Index. The input parameter is invalid, but the output parameter is valid.
- Method string
- Method, POST or PUT.
- Mobiles []string
- Telephone list.
- Notice
Content stringId - Notice content ID.
- Remind
Type float64 - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- User
Ids []string - User ID list.
- Web
Callback stringId - Integration configuration ID.
- callback
Type String - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url String
- Callback url.
- body String
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers List<String>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index Double
- Index. The input parameter is invalid, but the output parameter is valid.
- method String
- Method, POST or PUT.
- mobiles List<String>
- Telephone list.
- notice
Content StringId - Notice content ID.
- remind
Type Double - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids List<String> - User ID list.
- web
Callback StringId - Integration configuration ID.
- callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url string
- Callback url.
- body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers string[]
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index number
- Index. The input parameter is invalid, but the output parameter is valid.
- method string
- Method, POST or PUT.
- mobiles string[]
- Telephone list.
- notice
Content stringId - Notice content ID.
- remind
Type number - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids string[] - User ID list.
- web
Callback stringId - Integration configuration ID.
- callback_
type str - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url str
- Callback url.
- body str
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers Sequence[str]
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index float
- Index. The input parameter is invalid, but the output parameter is valid.
- method str
- Method, POST or PUT.
- mobiles Sequence[str]
- Telephone list.
- notice_
content_ strid - Notice content ID.
- remind_
type float - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user_
ids Sequence[str] - User ID list.
- web_
callback_ strid - Integration configuration ID.
- callback
Type String - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url String
- Callback url.
- body String
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers List<String>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index Number
- Index. The input parameter is invalid, but the output parameter is valid.
- method String
- Method, POST or PUT.
- mobiles List<String>
- Telephone list.
- notice
Content StringId - Notice content ID.
- remind
Type Number - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids List<String> - User ID list.
- web
Callback StringId - Integration configuration ID.
ClsAlarmNoticeWebCallback, ClsAlarmNoticeWebCallbackArgs
- Callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- Url string
- Callback url.
- Body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - Headers List<string>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - Index double
- Index. The input parameter is invalid, but the output parameter is valid.
- Method string
- Method, POST or PUT.
- Mobiles List<string>
- Telephone list.
- Notice
Content stringId - Notice content ID.
- Remind
Type double - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- User
Ids List<string> - User ID list.
- Web
Callback stringId - Integration configuration ID.
- Callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- Url string
- Callback url.
- Body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - Headers []string
- This parameter is deprecated. Please use
notice_content_id. Request headers. - Index float64
- Index. The input parameter is invalid, but the output parameter is valid.
- Method string
- Method, POST or PUT.
- Mobiles []string
- Telephone list.
- Notice
Content stringId - Notice content ID.
- Remind
Type float64 - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- User
Ids []string - User ID list.
- Web
Callback stringId - Integration configuration ID.
- callback
Type String - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url String
- Callback url.
- body String
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers List<String>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index Double
- Index. The input parameter is invalid, but the output parameter is valid.
- method String
- Method, POST or PUT.
- mobiles List<String>
- Telephone list.
- notice
Content StringId - Notice content ID.
- remind
Type Double - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids List<String> - User ID list.
- web
Callback StringId - Integration configuration ID.
- callback
Type string - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url string
- Callback url.
- body string
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers string[]
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index number
- Index. The input parameter is invalid, but the output parameter is valid.
- method string
- Method, POST or PUT.
- mobiles string[]
- Telephone list.
- notice
Content stringId - Notice content ID.
- remind
Type number - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids string[] - User ID list.
- web
Callback stringId - Integration configuration ID.
- callback_
type str - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url str
- Callback url.
- body str
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers Sequence[str]
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index float
- Index. The input parameter is invalid, but the output parameter is valid.
- method str
- Method, POST or PUT.
- mobiles Sequence[str]
- Telephone list.
- notice_
content_ strid - Notice content ID.
- remind_
type float - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user_
ids Sequence[str] - User ID list.
- web_
callback_ strid - Integration configuration ID.
- callback
Type String - Callback type, Values: Http, WeCom, DingTalk, Lark.
- url String
- Callback url.
- body String
- This parameter is deprecated. Please use
notice_content_id. Request body. - headers List<String>
- This parameter is deprecated. Please use
notice_content_id. Request headers. - index Number
- Index. The input parameter is invalid, but the output parameter is valid.
- method String
- Method, POST or PUT.
- mobiles List<String>
- Telephone list.
- notice
Content StringId - Notice content ID.
- remind
Type Number - Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
- user
Ids List<String> - User ID list.
- web
Callback StringId - Integration configuration ID.
Import
cls alarm notice can be imported using the id, e.g.
$ pulumi import tencentcloud:index/clsAlarmNotice:ClsAlarmNotice example notice-19076f96-0f9a-4206-b308-b478737cab66
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Friday, May 1, 2026 by tencentcloudstack
