1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ClsAlarmNotice
Viewing docs for tencentcloud 1.82.91
published on Friday, May 1, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.91
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:

    AlarmShieldStatus double
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    CallbackPrioritize bool
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    ClsAlarmNoticeId string
    ID of the resource.
    DeliverConfig ClsAlarmNoticeDeliverConfig
    Deliver log configuration. Required when deliver_status is 2.
    DeliverStatus double
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    JumpDomain string
    Jump domain. Must start with http:// or https://, cannot end with /.
    Name string
    Alarm notice name.
    NoticeReceivers List<ClsAlarmNoticeNoticeReceiver>
    Notice receivers.
    NoticeRules List<ClsAlarmNoticeNoticeRule>
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    Tags Dictionary<string, string>
    Tag description list.
    Type string
    Notice type. Value: Trigger, Recovery, All.
    WebCallbacks List<ClsAlarmNoticeWebCallback>
    Callback info.
    AlarmShieldStatus float64
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    CallbackPrioritize bool
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    ClsAlarmNoticeId string
    ID of the resource.
    DeliverConfig ClsAlarmNoticeDeliverConfigArgs
    Deliver log configuration. Required when deliver_status is 2.
    DeliverStatus float64
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    JumpDomain string
    Jump domain. Must start with http:// or https://, cannot end with /.
    Name string
    Alarm notice name.
    NoticeReceivers []ClsAlarmNoticeNoticeReceiverArgs
    Notice receivers.
    NoticeRules []ClsAlarmNoticeNoticeRuleArgs
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    Tags map[string]string
    Tag description list.
    Type string
    Notice type. Value: Trigger, Recovery, All.
    WebCallbacks []ClsAlarmNoticeWebCallbackArgs
    Callback info.
    alarmShieldStatus Double
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    callbackPrioritize Boolean
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    clsAlarmNoticeId String
    ID of the resource.
    deliverConfig ClsAlarmNoticeDeliverConfig
    Deliver log configuration. Required when deliver_status is 2.
    deliverStatus Double
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    jumpDomain String
    Jump domain. Must start with http:// or https://, cannot end with /.
    name String
    Alarm notice name.
    noticeReceivers List<ClsAlarmNoticeNoticeReceiver>
    Notice receivers.
    noticeRules List<ClsAlarmNoticeNoticeRule>
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags Map<String,String>
    Tag description list.
    type String
    Notice type. Value: Trigger, Recovery, All.
    webCallbacks List<ClsAlarmNoticeWebCallback>
    Callback info.
    alarmShieldStatus number
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    callbackPrioritize boolean
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    clsAlarmNoticeId string
    ID of the resource.
    deliverConfig ClsAlarmNoticeDeliverConfig
    Deliver log configuration. Required when deliver_status is 2.
    deliverStatus number
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    jumpDomain string
    Jump domain. Must start with http:// or https://, cannot end with /.
    name string
    Alarm notice name.
    noticeReceivers ClsAlarmNoticeNoticeReceiver[]
    Notice receivers.
    noticeRules ClsAlarmNoticeNoticeRule[]
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags {[key: string]: string}
    Tag description list.
    type string
    Notice type. Value: Trigger, Recovery, All.
    webCallbacks ClsAlarmNoticeWebCallback[]
    Callback info.
    alarm_shield_status float
    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_notice_id str
    ID of the resource.
    deliver_config ClsAlarmNoticeDeliverConfigArgs
    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[ClsAlarmNoticeNoticeReceiverArgs]
    Notice receivers.
    notice_rules Sequence[ClsAlarmNoticeNoticeRuleArgs]
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags Mapping[str, str]
    Tag description list.
    type str
    Notice type. Value: Trigger, Recovery, All.
    web_callbacks Sequence[ClsAlarmNoticeWebCallbackArgs]
    Callback info.
    alarmShieldStatus Number
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    callbackPrioritize Boolean
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    clsAlarmNoticeId String
    ID of the resource.
    deliverConfig Property Map
    Deliver log configuration. Required when deliver_status is 2.
    deliverStatus Number
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    jumpDomain String
    Jump domain. Must start with http:// or https://, cannot end with /.
    name String
    Alarm notice name.
    noticeReceivers List<Property Map>
    Notice receivers.
    noticeRules List<Property Map>
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags Map<String>
    Tag description list.
    type String
    Notice type. Value: Trigger, Recovery, All.
    webCallbacks 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) -> ClsAlarmNotice
    func 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.
    The following state arguments are supported:
    AlarmShieldStatus double
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    CallbackPrioritize bool
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    ClsAlarmNoticeId string
    ID of the resource.
    DeliverConfig ClsAlarmNoticeDeliverConfig
    Deliver log configuration. Required when deliver_status is 2.
    DeliverStatus double
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    JumpDomain string
    Jump domain. Must start with http:// or https://, cannot end with /.
    Name string
    Alarm notice name.
    NoticeReceivers List<ClsAlarmNoticeNoticeReceiver>
    Notice receivers.
    NoticeRules List<ClsAlarmNoticeNoticeRule>
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    Tags Dictionary<string, string>
    Tag description list.
    Type string
    Notice type. Value: Trigger, Recovery, All.
    WebCallbacks List<ClsAlarmNoticeWebCallback>
    Callback info.
    AlarmShieldStatus float64
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    CallbackPrioritize bool
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    ClsAlarmNoticeId string
    ID of the resource.
    DeliverConfig ClsAlarmNoticeDeliverConfigArgs
    Deliver log configuration. Required when deliver_status is 2.
    DeliverStatus float64
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    JumpDomain string
    Jump domain. Must start with http:// or https://, cannot end with /.
    Name string
    Alarm notice name.
    NoticeReceivers []ClsAlarmNoticeNoticeReceiverArgs
    Notice receivers.
    NoticeRules []ClsAlarmNoticeNoticeRuleArgs
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    Tags map[string]string
    Tag description list.
    Type string
    Notice type. Value: Trigger, Recovery, All.
    WebCallbacks []ClsAlarmNoticeWebCallbackArgs
    Callback info.
    alarmShieldStatus Double
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    callbackPrioritize Boolean
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    clsAlarmNoticeId String
    ID of the resource.
    deliverConfig ClsAlarmNoticeDeliverConfig
    Deliver log configuration. Required when deliver_status is 2.
    deliverStatus Double
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    jumpDomain String
    Jump domain. Must start with http:// or https://, cannot end with /.
    name String
    Alarm notice name.
    noticeReceivers List<ClsAlarmNoticeNoticeReceiver>
    Notice receivers.
    noticeRules List<ClsAlarmNoticeNoticeRule>
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags Map<String,String>
    Tag description list.
    type String
    Notice type. Value: Trigger, Recovery, All.
    webCallbacks List<ClsAlarmNoticeWebCallback>
    Callback info.
    alarmShieldStatus number
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    callbackPrioritize boolean
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    clsAlarmNoticeId string
    ID of the resource.
    deliverConfig ClsAlarmNoticeDeliverConfig
    Deliver log configuration. Required when deliver_status is 2.
    deliverStatus number
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    jumpDomain string
    Jump domain. Must start with http:// or https://, cannot end with /.
    name string
    Alarm notice name.
    noticeReceivers ClsAlarmNoticeNoticeReceiver[]
    Notice receivers.
    noticeRules ClsAlarmNoticeNoticeRule[]
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags {[key: string]: string}
    Tag description list.
    type string
    Notice type. Value: Trigger, Recovery, All.
    webCallbacks ClsAlarmNoticeWebCallback[]
    Callback info.
    alarm_shield_status float
    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_notice_id str
    ID of the resource.
    deliver_config ClsAlarmNoticeDeliverConfigArgs
    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[ClsAlarmNoticeNoticeReceiverArgs]
    Notice receivers.
    notice_rules Sequence[ClsAlarmNoticeNoticeRuleArgs]
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags Mapping[str, str]
    Tag description list.
    type str
    Notice type. Value: Trigger, Recovery, All.
    web_callbacks Sequence[ClsAlarmNoticeWebCallbackArgs]
    Callback info.
    alarmShieldStatus Number
    Alarm shield status (no-login operation). Valid values: 1 (off), 2 (on, default).
    callbackPrioritize Boolean
    Callback prioritize. true: use custom callback params from notice content template; false: use params from alarm policy.
    clsAlarmNoticeId String
    ID of the resource.
    deliverConfig Property Map
    Deliver log configuration. Required when deliver_status is 2.
    deliverStatus Number
    Deliver log switch. Valid values: 1 (off, default), 2 (on). When set to 2, deliver_config is required.
    jumpDomain String
    Jump domain. Must start with http:// or https://, cannot end with /.
    name String
    Alarm notice name.
    noticeReceivers List<Property Map>
    Notice receivers.
    noticeRules List<Property Map>
    Notice rules (advanced mode). Mutually exclusive with type/notice_receivers/web_callbacks (simple mode).
    tags Map<String>
    Tag description list.
    type String
    Notice type. Value: Trigger, Recovery, All.
    webCallbacks List<Property Map>
    Callback info.

    Supporting Types

    ClsAlarmNoticeDeliverConfig, ClsAlarmNoticeDeliverConfigArgs

    Region string
    Region of the target log topic. e.g. ap-guangzhou.
    TopicId string
    Target log topic ID.
    Scope double
    Deliver data scope. 0: all logs (default); 1: only alarm trigger and recovery logs.
    Region string
    Region of the target log topic. e.g. ap-guangzhou.
    TopicId string
    Target log topic ID.
    Scope float64
    Deliver data scope. 0: all logs (default); 1: only alarm trigger and recovery logs.
    region String
    Region of the target log topic. e.g. ap-guangzhou.
    topicId String
    Target log topic ID.
    scope Double
    Deliver data scope. 0: all logs (default); 1: only alarm trigger and recovery logs.
    region string
    Region of the target log topic. e.g. ap-guangzhou.
    topicId string
    Target log topic ID.
    scope number
    Deliver data scope. 0: all logs (default); 1: only alarm trigger and recovery logs.
    region str
    Region of the target log topic. e.g. ap-guangzhou.
    topic_id str
    Target log topic ID.
    scope float
    Deliver data scope. 0: all logs (default); 1: only alarm trigger and recovery logs.
    region String
    Region of the target log topic. e.g. ap-guangzhou.
    topicId String
    Target log topic ID.
    scope Number
    Deliver data scope. 0: all logs (default); 1: only alarm trigger and recovery logs.

    ClsAlarmNoticeNoticeReceiver, ClsAlarmNoticeNoticeReceiverArgs

    ReceiverChannels List<string>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    ReceiverIds List<double>
    Receiver id list.
    ReceiverType string
    Receiver type, Uin or Group.
    EndTime string
    End time allowed to receive messages.
    Index double
    Index. The input parameter is invalid, but the output parameter is valid.
    NoticeContentId string
    Notice content ID.
    StartTime string
    Start time allowed to receive messages.
    ReceiverChannels []string
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    ReceiverIds []float64
    Receiver id list.
    ReceiverType string
    Receiver type, Uin or Group.
    EndTime string
    End time allowed to receive messages.
    Index float64
    Index. The input parameter is invalid, but the output parameter is valid.
    NoticeContentId string
    Notice content ID.
    StartTime string
    Start time allowed to receive messages.
    receiverChannels List<String>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds List<Double>
    Receiver id list.
    receiverType String
    Receiver type, Uin or Group.
    endTime String
    End time allowed to receive messages.
    index Double
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId String
    Notice content ID.
    startTime String
    Start time allowed to receive messages.
    receiverChannels string[]
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds number[]
    Receiver id list.
    receiverType string
    Receiver type, Uin or Group.
    endTime string
    End time allowed to receive messages.
    index number
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId string
    Notice content ID.
    startTime 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_id str
    Notice content ID.
    start_time str
    Start time allowed to receive messages.
    receiverChannels List<String>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds List<Number>
    Receiver id list.
    receiverType String
    Receiver type, Uin or Group.
    endTime String
    End time allowed to receive messages.
    index Number
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId String
    Notice content ID.
    startTime String
    Start time allowed to receive messages.

    ClsAlarmNoticeNoticeRule, ClsAlarmNoticeNoticeRuleArgs

    Escalate bool
    Alarm escalate switch. true: enable; false: disable (default).
    EscalateNotices List<ClsAlarmNoticeNoticeRuleEscalateNotice>
    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].
    NoticeReceivers List<ClsAlarmNoticeNoticeRuleNoticeReceiver>
    Notice receivers for this rule.
    Rule string
    Matching rule JSON string.
    Type double
    Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    WebCallbacks List<ClsAlarmNoticeNoticeRuleWebCallback>
    Web callbacks for this rule.
    Escalate bool
    Alarm escalate switch. true: enable; false: disable (default).
    EscalateNotices []ClsAlarmNoticeNoticeRuleEscalateNotice
    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].
    NoticeReceivers []ClsAlarmNoticeNoticeRuleNoticeReceiver
    Notice receivers for this rule.
    Rule string
    Matching rule JSON string.
    Type float64
    Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    WebCallbacks []ClsAlarmNoticeNoticeRuleWebCallback
    Web callbacks for this rule.
    escalate Boolean
    Alarm escalate switch. true: enable; false: disable (default).
    escalateNotices List<ClsAlarmNoticeNoticeRuleEscalateNotice>
    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].
    noticeReceivers List<ClsAlarmNoticeNoticeRuleNoticeReceiver>
    Notice receivers for this rule.
    rule String
    Matching rule JSON string.
    type Double
    Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    webCallbacks List<ClsAlarmNoticeNoticeRuleWebCallback>
    Web callbacks for this rule.
    escalate boolean
    Alarm escalate switch. true: enable; false: disable (default).
    escalateNotices ClsAlarmNoticeNoticeRuleEscalateNotice[]
    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].
    noticeReceivers ClsAlarmNoticeNoticeRuleNoticeReceiver[]
    Notice receivers for this rule.
    rule string
    Matching rule JSON string.
    type number
    Alarm escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    webCallbacks ClsAlarmNoticeNoticeRuleWebCallback[]
    Web callbacks for this rule.
    escalate bool
    Alarm escalate switch. true: enable; false: disable (default).
    escalate_notices Sequence[ClsAlarmNoticeNoticeRuleEscalateNotice]
    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[ClsAlarmNoticeNoticeRuleNoticeReceiver]
    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[ClsAlarmNoticeNoticeRuleWebCallback]
    Web callbacks for this rule.
    escalate Boolean
    Alarm escalate switch. true: enable; false: disable (default).
    escalateNotices 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].
    noticeReceivers 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.
    webCallbacks 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].
    NoticeReceivers List<ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiver>
    Notice receivers for this escalation level.
    Type double
    Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    WebCallbacks List<ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallback>
    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].
    NoticeReceivers []ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiver
    Notice receivers for this escalation level.
    Type float64
    Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    WebCallbacks []ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallback
    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].
    noticeReceivers List<ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiver>
    Notice receivers for this escalation level.
    type Double
    Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    webCallbacks List<ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallback>
    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].
    noticeReceivers ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiver[]
    Notice receivers for this escalation level.
    type number
    Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    webCallbacks ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallback[]
    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[ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiver]
    Notice receivers for this escalation level.
    type float
    Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    web_callbacks Sequence[ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallback]
    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].
    noticeReceivers List<Property Map>
    Notice receivers for this escalation level.
    type Number
    Escalate condition. 1: unclaimed and unresolved (default); 2: unresolved.
    webCallbacks List<Property Map>
    Web callbacks for this escalation level.

    ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiver, ClsAlarmNoticeNoticeRuleEscalateNoticeNoticeReceiverArgs

    ReceiverChannels List<string>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    ReceiverIds List<double>
    Receiver id list.
    ReceiverType string
    Receiver type, Uin or Group.
    EndTime string
    End time allowed to receive messages.
    Index double
    Index. The input parameter is invalid, but the output parameter is valid.
    NoticeContentId string
    Notice content ID.
    StartTime string
    Start time allowed to receive messages.
    ReceiverChannels []string
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    ReceiverIds []float64
    Receiver id list.
    ReceiverType string
    Receiver type, Uin or Group.
    EndTime string
    End time allowed to receive messages.
    Index float64
    Index. The input parameter is invalid, but the output parameter is valid.
    NoticeContentId string
    Notice content ID.
    StartTime string
    Start time allowed to receive messages.
    receiverChannels List<String>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds List<Double>
    Receiver id list.
    receiverType String
    Receiver type, Uin or Group.
    endTime String
    End time allowed to receive messages.
    index Double
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId String
    Notice content ID.
    startTime String
    Start time allowed to receive messages.
    receiverChannels string[]
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds number[]
    Receiver id list.
    receiverType string
    Receiver type, Uin or Group.
    endTime string
    End time allowed to receive messages.
    index number
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId string
    Notice content ID.
    startTime 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_id str
    Notice content ID.
    start_time str
    Start time allowed to receive messages.
    receiverChannels List<String>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds List<Number>
    Receiver id list.
    receiverType String
    Receiver type, Uin or Group.
    endTime String
    End time allowed to receive messages.
    index Number
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId String
    Notice content ID.
    startTime String
    Start time allowed to receive messages.

    ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallback, ClsAlarmNoticeNoticeRuleEscalateNoticeWebCallbackArgs

    CallbackType 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.

    Deprecated: Deprecated

    Headers List<string>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    NoticeContentId string
    Notice content ID.
    RemindType double
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    UserIds List<string>
    User ID list.
    WebCallbackId string
    Integration configuration ID.
    CallbackType 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.

    Deprecated: Deprecated

    Headers []string
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    Index float64
    Index. The input parameter is invalid, but the output parameter is valid.
    Method string
    Method, POST or PUT.
    Mobiles []string
    Telephone list.
    NoticeContentId string
    Notice content ID.
    RemindType float64
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    UserIds []string
    User ID list.
    WebCallbackId string
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers List<String>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    noticeContentId String
    Notice content ID.
    remindType Double
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds List<String>
    User ID list.
    webCallbackId String
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers string[]
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    index number
    Index. The input parameter is invalid, but the output parameter is valid.
    method string
    Method, POST or PUT.
    mobiles string[]
    Telephone list.
    noticeContentId string
    Notice content ID.
    remindType number
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds string[]
    User ID list.
    webCallbackId string
    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.

    Deprecated: Deprecated

    headers Sequence[str]
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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_id str
    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_id str
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers List<String>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    noticeContentId String
    Notice content ID.
    remindType Number
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds List<String>
    User ID list.
    webCallbackId String
    Integration configuration ID.

    ClsAlarmNoticeNoticeRuleNoticeReceiver, ClsAlarmNoticeNoticeRuleNoticeReceiverArgs

    ReceiverChannels List<string>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    ReceiverIds List<double>
    Receiver id list.
    ReceiverType string
    Receiver type, Uin or Group.
    EndTime string
    End time allowed to receive messages.
    Index double
    Index. The input parameter is invalid, but the output parameter is valid.
    NoticeContentId string
    Notice content ID.
    StartTime string
    Start time allowed to receive messages.
    ReceiverChannels []string
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    ReceiverIds []float64
    Receiver id list.
    ReceiverType string
    Receiver type, Uin or Group.
    EndTime string
    End time allowed to receive messages.
    Index float64
    Index. The input parameter is invalid, but the output parameter is valid.
    NoticeContentId string
    Notice content ID.
    StartTime string
    Start time allowed to receive messages.
    receiverChannels List<String>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds List<Double>
    Receiver id list.
    receiverType String
    Receiver type, Uin or Group.
    endTime String
    End time allowed to receive messages.
    index Double
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId String
    Notice content ID.
    startTime String
    Start time allowed to receive messages.
    receiverChannels string[]
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds number[]
    Receiver id list.
    receiverType string
    Receiver type, Uin or Group.
    endTime string
    End time allowed to receive messages.
    index number
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId string
    Notice content ID.
    startTime 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_id str
    Notice content ID.
    start_time str
    Start time allowed to receive messages.
    receiverChannels List<String>
    Receiver channels, Value: Email, Sms, WeChat, Phone.
    receiverIds List<Number>
    Receiver id list.
    receiverType String
    Receiver type, Uin or Group.
    endTime String
    End time allowed to receive messages.
    index Number
    Index. The input parameter is invalid, but the output parameter is valid.
    noticeContentId String
    Notice content ID.
    startTime String
    Start time allowed to receive messages.

    ClsAlarmNoticeNoticeRuleWebCallback, ClsAlarmNoticeNoticeRuleWebCallbackArgs

    CallbackType 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.

    Deprecated: Deprecated

    Headers List<string>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    NoticeContentId string
    Notice content ID.
    RemindType double
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    UserIds List<string>
    User ID list.
    WebCallbackId string
    Integration configuration ID.
    CallbackType 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.

    Deprecated: Deprecated

    Headers []string
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    Index float64
    Index. The input parameter is invalid, but the output parameter is valid.
    Method string
    Method, POST or PUT.
    Mobiles []string
    Telephone list.
    NoticeContentId string
    Notice content ID.
    RemindType float64
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    UserIds []string
    User ID list.
    WebCallbackId string
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers List<String>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    noticeContentId String
    Notice content ID.
    remindType Double
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds List<String>
    User ID list.
    webCallbackId String
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers string[]
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    index number
    Index. The input parameter is invalid, but the output parameter is valid.
    method string
    Method, POST or PUT.
    mobiles string[]
    Telephone list.
    noticeContentId string
    Notice content ID.
    remindType number
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds string[]
    User ID list.
    webCallbackId string
    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.

    Deprecated: Deprecated

    headers Sequence[str]
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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_id str
    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_id str
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers List<String>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    noticeContentId String
    Notice content ID.
    remindType Number
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds List<String>
    User ID list.
    webCallbackId String
    Integration configuration ID.

    ClsAlarmNoticeWebCallback, ClsAlarmNoticeWebCallbackArgs

    CallbackType 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.

    Deprecated: Deprecated

    Headers List<string>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    NoticeContentId string
    Notice content ID.
    RemindType double
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    UserIds List<string>
    User ID list.
    WebCallbackId string
    Integration configuration ID.
    CallbackType 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.

    Deprecated: Deprecated

    Headers []string
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    Index float64
    Index. The input parameter is invalid, but the output parameter is valid.
    Method string
    Method, POST or PUT.
    Mobiles []string
    Telephone list.
    NoticeContentId string
    Notice content ID.
    RemindType float64
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    UserIds []string
    User ID list.
    WebCallbackId string
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers List<String>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    noticeContentId String
    Notice content ID.
    remindType Double
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds List<String>
    User ID list.
    webCallbackId String
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers string[]
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    index number
    Index. The input parameter is invalid, but the output parameter is valid.
    method string
    Method, POST or PUT.
    mobiles string[]
    Telephone list.
    noticeContentId string
    Notice content ID.
    remindType number
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds string[]
    User ID list.
    webCallbackId string
    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.

    Deprecated: Deprecated

    headers Sequence[str]
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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_id str
    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_id str
    Integration configuration ID.
    callbackType 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.

    Deprecated: Deprecated

    headers List<String>
    This parameter is deprecated. Please use notice_content_id. Request headers.

    Deprecated: Deprecated

    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.
    noticeContentId String
    Notice content ID.
    remindType Number
    Remind type. 0: Do not remind; 1: Specified person; 2: Everyone.
    userIds List<String>
    User ID list.
    webCallbackId String
    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 tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.91
    published on Friday, May 1, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.