1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. MonitorAlarmNotice
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.MonitorAlarmNotice

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a alarm notice resource for monitor.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.MonitorAlarmNotice("example", {
        noticeLanguage: "zh-CN",
        noticeType: "ALL",
        urlNotices: [{
            endTime: 86399,
            isValid: 0,
            startTime: 0,
            url: "https://www.mytest.com/validate",
            weekdays: [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }],
        userNotices: [{
            endTime: 86399,
            groupIds: [],
            needPhoneArriveNotice: 1,
            noticeWays: [
                "EMAIL",
                "SMS",
            ],
            phoneCallType: "CIRCLE",
            phoneCircleInterval: 180,
            phoneCircleTimes: 2,
            phoneInnerInterval: 180,
            phoneOrders: [],
            receiverType: "USER",
            startTime: 0,
            userIds: [
                11082189,
                11082190,
            ],
            weekdays: [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.MonitorAlarmNotice("example",
        notice_language="zh-CN",
        notice_type="ALL",
        url_notices=[{
            "end_time": 86399,
            "is_valid": 0,
            "start_time": 0,
            "url": "https://www.mytest.com/validate",
            "weekdays": [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }],
        user_notices=[{
            "end_time": 86399,
            "group_ids": [],
            "need_phone_arrive_notice": 1,
            "notice_ways": [
                "EMAIL",
                "SMS",
            ],
            "phone_call_type": "CIRCLE",
            "phone_circle_interval": 180,
            "phone_circle_times": 2,
            "phone_inner_interval": 180,
            "phone_orders": [],
            "receiver_type": "USER",
            "start_time": 0,
            "user_ids": [
                11082189,
                11082190,
            ],
            "weekdays": [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewMonitorAlarmNotice(ctx, "example", &tencentcloud.MonitorAlarmNoticeArgs{
    			NoticeLanguage: pulumi.String("zh-CN"),
    			NoticeType:     pulumi.String("ALL"),
    			UrlNotices: tencentcloud.MonitorAlarmNoticeUrlNoticeArray{
    				&tencentcloud.MonitorAlarmNoticeUrlNoticeArgs{
    					EndTime:   pulumi.Float64(86399),
    					IsValid:   pulumi.Float64(0),
    					StartTime: pulumi.Float64(0),
    					Url:       pulumi.String("https://www.mytest.com/validate"),
    					Weekdays: pulumi.Float64Array{
    						pulumi.Float64(1),
    						pulumi.Float64(2),
    						pulumi.Float64(3),
    						pulumi.Float64(4),
    						pulumi.Float64(5),
    						pulumi.Float64(6),
    						pulumi.Float64(7),
    					},
    				},
    			},
    			UserNotices: tencentcloud.MonitorAlarmNoticeUserNoticeArray{
    				&tencentcloud.MonitorAlarmNoticeUserNoticeArgs{
    					EndTime:               pulumi.Float64(86399),
    					GroupIds:              pulumi.Float64Array{},
    					NeedPhoneArriveNotice: pulumi.Float64(1),
    					NoticeWays: pulumi.StringArray{
    						pulumi.String("EMAIL"),
    						pulumi.String("SMS"),
    					},
    					PhoneCallType:       pulumi.String("CIRCLE"),
    					PhoneCircleInterval: pulumi.Float64(180),
    					PhoneCircleTimes:    pulumi.Float64(2),
    					PhoneInnerInterval:  pulumi.Float64(180),
    					PhoneOrders:         pulumi.Float64Array{},
    					ReceiverType:        pulumi.String("USER"),
    					StartTime:           pulumi.Float64(0),
    					UserIds: pulumi.Float64Array{
    						pulumi.Float64(11082189),
    						pulumi.Float64(11082190),
    					},
    					Weekdays: pulumi.Float64Array{
    						pulumi.Float64(1),
    						pulumi.Float64(2),
    						pulumi.Float64(3),
    						pulumi.Float64(4),
    						pulumi.Float64(5),
    						pulumi.Float64(6),
    						pulumi.Float64(7),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.MonitorAlarmNotice("example", new()
        {
            NoticeLanguage = "zh-CN",
            NoticeType = "ALL",
            UrlNotices = new[]
            {
                new Tencentcloud.Inputs.MonitorAlarmNoticeUrlNoticeArgs
                {
                    EndTime = 86399,
                    IsValid = 0,
                    StartTime = 0,
                    Url = "https://www.mytest.com/validate",
                    Weekdays = new[]
                    {
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                    },
                },
            },
            UserNotices = new[]
            {
                new Tencentcloud.Inputs.MonitorAlarmNoticeUserNoticeArgs
                {
                    EndTime = 86399,
                    GroupIds = new() { },
                    NeedPhoneArriveNotice = 1,
                    NoticeWays = new[]
                    {
                        "EMAIL",
                        "SMS",
                    },
                    PhoneCallType = "CIRCLE",
                    PhoneCircleInterval = 180,
                    PhoneCircleTimes = 2,
                    PhoneInnerInterval = 180,
                    PhoneOrders = new() { },
                    ReceiverType = "USER",
                    StartTime = 0,
                    UserIds = new[]
                    {
                        11082189,
                        11082190,
                    },
                    Weekdays = new[]
                    {
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.MonitorAlarmNotice;
    import com.pulumi.tencentcloud.MonitorAlarmNoticeArgs;
    import com.pulumi.tencentcloud.inputs.MonitorAlarmNoticeUrlNoticeArgs;
    import com.pulumi.tencentcloud.inputs.MonitorAlarmNoticeUserNoticeArgs;
    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 MonitorAlarmNotice("example", MonitorAlarmNoticeArgs.builder()
                .noticeLanguage("zh-CN")
                .noticeType("ALL")
                .urlNotices(MonitorAlarmNoticeUrlNoticeArgs.builder()
                    .endTime(86399)
                    .isValid(0)
                    .startTime(0)
                    .url("https://www.mytest.com/validate")
                    .weekdays(                
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7)
                    .build())
                .userNotices(MonitorAlarmNoticeUserNoticeArgs.builder()
                    .endTime(86399)
                    .groupIds()
                    .needPhoneArriveNotice(1)
                    .noticeWays(                
                        "EMAIL",
                        "SMS")
                    .phoneCallType("CIRCLE")
                    .phoneCircleInterval(180)
                    .phoneCircleTimes(2)
                    .phoneInnerInterval(180)
                    .phoneOrders()
                    .receiverType("USER")
                    .startTime(0)
                    .userIds(                
                        11082189,
                        11082190)
                    .weekdays(                
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:MonitorAlarmNotice
        properties:
          noticeLanguage: zh-CN
          noticeType: ALL
          urlNotices:
            - endTime: 86399
              isValid: 0
              startTime: 0
              url: https://www.mytest.com/validate
              weekdays:
                - 1
                - 2
                - 3
                - 4
                - 5
                - 6
                - 7
          userNotices:
            - endTime: 86399
              groupIds: []
              needPhoneArriveNotice: 1
              noticeWays:
                - EMAIL
                - SMS
              phoneCallType: CIRCLE
              phoneCircleInterval: 180
              phoneCircleTimes: 2
              phoneInnerInterval: 180
              phoneOrders: []
              receiverType: USER
              startTime: 0
              userIds:
                - 1.1082189e+07
                - 1.108219e+07
              weekdays:
                - 1
                - 2
                - 3
                - 4
                - 5
                - 6
                - 7
    

    Create MonitorAlarmNotice Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MonitorAlarmNotice(name: string, args: MonitorAlarmNoticeArgs, opts?: CustomResourceOptions);
    @overload
    def MonitorAlarmNotice(resource_name: str,
                           args: MonitorAlarmNoticeArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitorAlarmNotice(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           notice_language: Optional[str] = None,
                           notice_type: Optional[str] = None,
                           cls_notices: Optional[Sequence[MonitorAlarmNoticeClsNoticeArgs]] = None,
                           monitor_alarm_notice_id: Optional[str] = None,
                           name: Optional[str] = None,
                           url_notices: Optional[Sequence[MonitorAlarmNoticeUrlNoticeArgs]] = None,
                           user_notices: Optional[Sequence[MonitorAlarmNoticeUserNoticeArgs]] = None)
    func NewMonitorAlarmNotice(ctx *Context, name string, args MonitorAlarmNoticeArgs, opts ...ResourceOption) (*MonitorAlarmNotice, error)
    public MonitorAlarmNotice(string name, MonitorAlarmNoticeArgs args, CustomResourceOptions? opts = null)
    public MonitorAlarmNotice(String name, MonitorAlarmNoticeArgs args)
    public MonitorAlarmNotice(String name, MonitorAlarmNoticeArgs args, CustomResourceOptions options)
    
    type: tencentcloud:MonitorAlarmNotice
    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 MonitorAlarmNoticeArgs
    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 MonitorAlarmNoticeArgs
    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 MonitorAlarmNoticeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorAlarmNoticeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorAlarmNoticeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MonitorAlarmNotice 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 MonitorAlarmNotice resource accepts the following input properties:

    NoticeLanguage string
    Notification language zh-CN=Chinese en-US=English.
    NoticeType string
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    ClsNotices List<MonitorAlarmNoticeClsNotice>
    A maximum of one alarm notification can be pushed to the CLS service.
    MonitorAlarmNoticeId string
    ID of the resource.
    Name string
    Notification template name within 60.
    UrlNotices List<MonitorAlarmNoticeUrlNotice>
    The maximum number of callback notifications is 3.
    UserNotices List<MonitorAlarmNoticeUserNotice>
    Alarm notification template list.(At most five).
    NoticeLanguage string
    Notification language zh-CN=Chinese en-US=English.
    NoticeType string
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    ClsNotices []MonitorAlarmNoticeClsNoticeArgs
    A maximum of one alarm notification can be pushed to the CLS service.
    MonitorAlarmNoticeId string
    ID of the resource.
    Name string
    Notification template name within 60.
    UrlNotices []MonitorAlarmNoticeUrlNoticeArgs
    The maximum number of callback notifications is 3.
    UserNotices []MonitorAlarmNoticeUserNoticeArgs
    Alarm notification template list.(At most five).
    noticeLanguage String
    Notification language zh-CN=Chinese en-US=English.
    noticeType String
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    clsNotices List<MonitorAlarmNoticeClsNotice>
    A maximum of one alarm notification can be pushed to the CLS service.
    monitorAlarmNoticeId String
    ID of the resource.
    name String
    Notification template name within 60.
    urlNotices List<MonitorAlarmNoticeUrlNotice>
    The maximum number of callback notifications is 3.
    userNotices List<MonitorAlarmNoticeUserNotice>
    Alarm notification template list.(At most five).
    noticeLanguage string
    Notification language zh-CN=Chinese en-US=English.
    noticeType string
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    clsNotices MonitorAlarmNoticeClsNotice[]
    A maximum of one alarm notification can be pushed to the CLS service.
    monitorAlarmNoticeId string
    ID of the resource.
    name string
    Notification template name within 60.
    urlNotices MonitorAlarmNoticeUrlNotice[]
    The maximum number of callback notifications is 3.
    userNotices MonitorAlarmNoticeUserNotice[]
    Alarm notification template list.(At most five).
    notice_language str
    Notification language zh-CN=Chinese en-US=English.
    notice_type str
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    cls_notices Sequence[MonitorAlarmNoticeClsNoticeArgs]
    A maximum of one alarm notification can be pushed to the CLS service.
    monitor_alarm_notice_id str
    ID of the resource.
    name str
    Notification template name within 60.
    url_notices Sequence[MonitorAlarmNoticeUrlNoticeArgs]
    The maximum number of callback notifications is 3.
    user_notices Sequence[MonitorAlarmNoticeUserNoticeArgs]
    Alarm notification template list.(At most five).
    noticeLanguage String
    Notification language zh-CN=Chinese en-US=English.
    noticeType String
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    clsNotices List<Property Map>
    A maximum of one alarm notification can be pushed to the CLS service.
    monitorAlarmNoticeId String
    ID of the resource.
    name String
    Notification template name within 60.
    urlNotices List<Property Map>
    The maximum number of callback notifications is 3.
    userNotices List<Property Map>
    Alarm notification template list.(At most five).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MonitorAlarmNotice resource produces the following output properties:

    AmpConsumerId string
    Amp consumer ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPreset double
    Whether it is the system default notification template 0=No 1=Yes.
    PolicyIds List<string>
    List of alarm policy IDs bound to the alarm notification template.
    UpdatedAt string
    Last modified time.
    UpdatedBy string
    Last Modified By.
    AmpConsumerId string
    Amp consumer ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsPreset float64
    Whether it is the system default notification template 0=No 1=Yes.
    PolicyIds []string
    List of alarm policy IDs bound to the alarm notification template.
    UpdatedAt string
    Last modified time.
    UpdatedBy string
    Last Modified By.
    ampConsumerId String
    Amp consumer ID.
    id String
    The provider-assigned unique ID for this managed resource.
    isPreset Double
    Whether it is the system default notification template 0=No 1=Yes.
    policyIds List<String>
    List of alarm policy IDs bound to the alarm notification template.
    updatedAt String
    Last modified time.
    updatedBy String
    Last Modified By.
    ampConsumerId string
    Amp consumer ID.
    id string
    The provider-assigned unique ID for this managed resource.
    isPreset number
    Whether it is the system default notification template 0=No 1=Yes.
    policyIds string[]
    List of alarm policy IDs bound to the alarm notification template.
    updatedAt string
    Last modified time.
    updatedBy string
    Last Modified By.
    amp_consumer_id str
    Amp consumer ID.
    id str
    The provider-assigned unique ID for this managed resource.
    is_preset float
    Whether it is the system default notification template 0=No 1=Yes.
    policy_ids Sequence[str]
    List of alarm policy IDs bound to the alarm notification template.
    updated_at str
    Last modified time.
    updated_by str
    Last Modified By.
    ampConsumerId String
    Amp consumer ID.
    id String
    The provider-assigned unique ID for this managed resource.
    isPreset Number
    Whether it is the system default notification template 0=No 1=Yes.
    policyIds List<String>
    List of alarm policy IDs bound to the alarm notification template.
    updatedAt String
    Last modified time.
    updatedBy String
    Last Modified By.

    Look up Existing MonitorAlarmNotice Resource

    Get an existing MonitorAlarmNotice 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?: MonitorAlarmNoticeState, opts?: CustomResourceOptions): MonitorAlarmNotice
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            amp_consumer_id: Optional[str] = None,
            cls_notices: Optional[Sequence[MonitorAlarmNoticeClsNoticeArgs]] = None,
            is_preset: Optional[float] = None,
            monitor_alarm_notice_id: Optional[str] = None,
            name: Optional[str] = None,
            notice_language: Optional[str] = None,
            notice_type: Optional[str] = None,
            policy_ids: Optional[Sequence[str]] = None,
            updated_at: Optional[str] = None,
            updated_by: Optional[str] = None,
            url_notices: Optional[Sequence[MonitorAlarmNoticeUrlNoticeArgs]] = None,
            user_notices: Optional[Sequence[MonitorAlarmNoticeUserNoticeArgs]] = None) -> MonitorAlarmNotice
    func GetMonitorAlarmNotice(ctx *Context, name string, id IDInput, state *MonitorAlarmNoticeState, opts ...ResourceOption) (*MonitorAlarmNotice, error)
    public static MonitorAlarmNotice Get(string name, Input<string> id, MonitorAlarmNoticeState? state, CustomResourceOptions? opts = null)
    public static MonitorAlarmNotice get(String name, Output<String> id, MonitorAlarmNoticeState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:MonitorAlarmNotice    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:
    AmpConsumerId string
    Amp consumer ID.
    ClsNotices List<MonitorAlarmNoticeClsNotice>
    A maximum of one alarm notification can be pushed to the CLS service.
    IsPreset double
    Whether it is the system default notification template 0=No 1=Yes.
    MonitorAlarmNoticeId string
    ID of the resource.
    Name string
    Notification template name within 60.
    NoticeLanguage string
    Notification language zh-CN=Chinese en-US=English.
    NoticeType string
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    PolicyIds List<string>
    List of alarm policy IDs bound to the alarm notification template.
    UpdatedAt string
    Last modified time.
    UpdatedBy string
    Last Modified By.
    UrlNotices List<MonitorAlarmNoticeUrlNotice>
    The maximum number of callback notifications is 3.
    UserNotices List<MonitorAlarmNoticeUserNotice>
    Alarm notification template list.(At most five).
    AmpConsumerId string
    Amp consumer ID.
    ClsNotices []MonitorAlarmNoticeClsNoticeArgs
    A maximum of one alarm notification can be pushed to the CLS service.
    IsPreset float64
    Whether it is the system default notification template 0=No 1=Yes.
    MonitorAlarmNoticeId string
    ID of the resource.
    Name string
    Notification template name within 60.
    NoticeLanguage string
    Notification language zh-CN=Chinese en-US=English.
    NoticeType string
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    PolicyIds []string
    List of alarm policy IDs bound to the alarm notification template.
    UpdatedAt string
    Last modified time.
    UpdatedBy string
    Last Modified By.
    UrlNotices []MonitorAlarmNoticeUrlNoticeArgs
    The maximum number of callback notifications is 3.
    UserNotices []MonitorAlarmNoticeUserNoticeArgs
    Alarm notification template list.(At most five).
    ampConsumerId String
    Amp consumer ID.
    clsNotices List<MonitorAlarmNoticeClsNotice>
    A maximum of one alarm notification can be pushed to the CLS service.
    isPreset Double
    Whether it is the system default notification template 0=No 1=Yes.
    monitorAlarmNoticeId String
    ID of the resource.
    name String
    Notification template name within 60.
    noticeLanguage String
    Notification language zh-CN=Chinese en-US=English.
    noticeType String
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    policyIds List<String>
    List of alarm policy IDs bound to the alarm notification template.
    updatedAt String
    Last modified time.
    updatedBy String
    Last Modified By.
    urlNotices List<MonitorAlarmNoticeUrlNotice>
    The maximum number of callback notifications is 3.
    userNotices List<MonitorAlarmNoticeUserNotice>
    Alarm notification template list.(At most five).
    ampConsumerId string
    Amp consumer ID.
    clsNotices MonitorAlarmNoticeClsNotice[]
    A maximum of one alarm notification can be pushed to the CLS service.
    isPreset number
    Whether it is the system default notification template 0=No 1=Yes.
    monitorAlarmNoticeId string
    ID of the resource.
    name string
    Notification template name within 60.
    noticeLanguage string
    Notification language zh-CN=Chinese en-US=English.
    noticeType string
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    policyIds string[]
    List of alarm policy IDs bound to the alarm notification template.
    updatedAt string
    Last modified time.
    updatedBy string
    Last Modified By.
    urlNotices MonitorAlarmNoticeUrlNotice[]
    The maximum number of callback notifications is 3.
    userNotices MonitorAlarmNoticeUserNotice[]
    Alarm notification template list.(At most five).
    amp_consumer_id str
    Amp consumer ID.
    cls_notices Sequence[MonitorAlarmNoticeClsNoticeArgs]
    A maximum of one alarm notification can be pushed to the CLS service.
    is_preset float
    Whether it is the system default notification template 0=No 1=Yes.
    monitor_alarm_notice_id str
    ID of the resource.
    name str
    Notification template name within 60.
    notice_language str
    Notification language zh-CN=Chinese en-US=English.
    notice_type str
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    policy_ids Sequence[str]
    List of alarm policy IDs bound to the alarm notification template.
    updated_at str
    Last modified time.
    updated_by str
    Last Modified By.
    url_notices Sequence[MonitorAlarmNoticeUrlNoticeArgs]
    The maximum number of callback notifications is 3.
    user_notices Sequence[MonitorAlarmNoticeUserNoticeArgs]
    Alarm notification template list.(At most five).
    ampConsumerId String
    Amp consumer ID.
    clsNotices List<Property Map>
    A maximum of one alarm notification can be pushed to the CLS service.
    isPreset Number
    Whether it is the system default notification template 0=No 1=Yes.
    monitorAlarmNoticeId String
    ID of the resource.
    name String
    Notification template name within 60.
    noticeLanguage String
    Notification language zh-CN=Chinese en-US=English.
    noticeType String
    Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
    policyIds List<String>
    List of alarm policy IDs bound to the alarm notification template.
    updatedAt String
    Last modified time.
    updatedBy String
    Last Modified By.
    urlNotices List<Property Map>
    The maximum number of callback notifications is 3.
    userNotices List<Property Map>
    Alarm notification template list.(At most five).

    Supporting Types

    MonitorAlarmNoticeClsNotice, MonitorAlarmNoticeClsNoticeArgs

    LogSetId string
    Log collection Id.
    Region string
    Regional.
    TopicId string
    Theme Id.
    Enable double
    Start-stop status, can not be transmitted, default enabled. 0= Disabled, 1= enabled.
    LogSetId string
    Log collection Id.
    Region string
    Regional.
    TopicId string
    Theme Id.
    Enable float64
    Start-stop status, can not be transmitted, default enabled. 0= Disabled, 1= enabled.
    logSetId String
    Log collection Id.
    region String
    Regional.
    topicId String
    Theme Id.
    enable Double
    Start-stop status, can not be transmitted, default enabled. 0= Disabled, 1= enabled.
    logSetId string
    Log collection Id.
    region string
    Regional.
    topicId string
    Theme Id.
    enable number
    Start-stop status, can not be transmitted, default enabled. 0= Disabled, 1= enabled.
    log_set_id str
    Log collection Id.
    region str
    Regional.
    topic_id str
    Theme Id.
    enable float
    Start-stop status, can not be transmitted, default enabled. 0= Disabled, 1= enabled.
    logSetId String
    Log collection Id.
    region String
    Regional.
    topicId String
    Theme Id.
    enable Number
    Start-stop status, can not be transmitted, default enabled. 0= Disabled, 1= enabled.

    MonitorAlarmNoticeUrlNotice, MonitorAlarmNoticeUrlNoticeArgs

    Url string
    Callback URL (limited to 256 characters).
    EndTime double
    Notification End Time Seconds at the start of a day.
    IsValid double
    If passed verification 0 is no, 1 is yes. Default 0.
    StartTime double
    Notification Start Time Number of seconds at the start of a day.
    ValidationCode string
    Verification code.
    Weekdays List<double>
    Notification period 1-7 indicates Monday to Sunday.
    Url string
    Callback URL (limited to 256 characters).
    EndTime float64
    Notification End Time Seconds at the start of a day.
    IsValid float64
    If passed verification 0 is no, 1 is yes. Default 0.
    StartTime float64
    Notification Start Time Number of seconds at the start of a day.
    ValidationCode string
    Verification code.
    Weekdays []float64
    Notification period 1-7 indicates Monday to Sunday.
    url String
    Callback URL (limited to 256 characters).
    endTime Double
    Notification End Time Seconds at the start of a day.
    isValid Double
    If passed verification 0 is no, 1 is yes. Default 0.
    startTime Double
    Notification Start Time Number of seconds at the start of a day.
    validationCode String
    Verification code.
    weekdays List<Double>
    Notification period 1-7 indicates Monday to Sunday.
    url string
    Callback URL (limited to 256 characters).
    endTime number
    Notification End Time Seconds at the start of a day.
    isValid number
    If passed verification 0 is no, 1 is yes. Default 0.
    startTime number
    Notification Start Time Number of seconds at the start of a day.
    validationCode string
    Verification code.
    weekdays number[]
    Notification period 1-7 indicates Monday to Sunday.
    url str
    Callback URL (limited to 256 characters).
    end_time float
    Notification End Time Seconds at the start of a day.
    is_valid float
    If passed verification 0 is no, 1 is yes. Default 0.
    start_time float
    Notification Start Time Number of seconds at the start of a day.
    validation_code str
    Verification code.
    weekdays Sequence[float]
    Notification period 1-7 indicates Monday to Sunday.
    url String
    Callback URL (limited to 256 characters).
    endTime Number
    Notification End Time Seconds at the start of a day.
    isValid Number
    If passed verification 0 is no, 1 is yes. Default 0.
    startTime Number
    Notification Start Time Number of seconds at the start of a day.
    validationCode String
    Verification code.
    weekdays List<Number>
    Notification period 1-7 indicates Monday to Sunday.

    MonitorAlarmNoticeUserNotice, MonitorAlarmNoticeUserNoticeArgs

    EndTime double
    The number of seconds since the notification end time 00:00:00 (value range 0-86399).
    NoticeWays List<string>
    Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
    ReceiverType string
    Recipient Type USER=User GROUP=User Group.
    StartTime double
    The number of seconds since the notification start time 00:00:00 (value range 0-86399).
    GroupIds List<double>
    User group ID list.
    NeedPhoneArriveNotice double
    Contact notification required 0= No 1= Yes.
    PhoneCallType string
    Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
    PhoneCircleInterval double
    Number of seconds between polls (value range: 60-900).
    PhoneCircleTimes double
    Number of telephone polls (value range: 1-5).
    PhoneInnerInterval double
    Number of seconds between calls in a polling session (value range: 60-900).
    PhoneOrders List<double>
    Telephone polling list.
    UserIds List<double>
    User UID List.
    Weekdays List<double>
    Notification period 1-7 indicates Monday to Sunday.
    EndTime float64
    The number of seconds since the notification end time 00:00:00 (value range 0-86399).
    NoticeWays []string
    Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
    ReceiverType string
    Recipient Type USER=User GROUP=User Group.
    StartTime float64
    The number of seconds since the notification start time 00:00:00 (value range 0-86399).
    GroupIds []float64
    User group ID list.
    NeedPhoneArriveNotice float64
    Contact notification required 0= No 1= Yes.
    PhoneCallType string
    Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
    PhoneCircleInterval float64
    Number of seconds between polls (value range: 60-900).
    PhoneCircleTimes float64
    Number of telephone polls (value range: 1-5).
    PhoneInnerInterval float64
    Number of seconds between calls in a polling session (value range: 60-900).
    PhoneOrders []float64
    Telephone polling list.
    UserIds []float64
    User UID List.
    Weekdays []float64
    Notification period 1-7 indicates Monday to Sunday.
    endTime Double
    The number of seconds since the notification end time 00:00:00 (value range 0-86399).
    noticeWays List<String>
    Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
    receiverType String
    Recipient Type USER=User GROUP=User Group.
    startTime Double
    The number of seconds since the notification start time 00:00:00 (value range 0-86399).
    groupIds List<Double>
    User group ID list.
    needPhoneArriveNotice Double
    Contact notification required 0= No 1= Yes.
    phoneCallType String
    Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
    phoneCircleInterval Double
    Number of seconds between polls (value range: 60-900).
    phoneCircleTimes Double
    Number of telephone polls (value range: 1-5).
    phoneInnerInterval Double
    Number of seconds between calls in a polling session (value range: 60-900).
    phoneOrders List<Double>
    Telephone polling list.
    userIds List<Double>
    User UID List.
    weekdays List<Double>
    Notification period 1-7 indicates Monday to Sunday.
    endTime number
    The number of seconds since the notification end time 00:00:00 (value range 0-86399).
    noticeWays string[]
    Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
    receiverType string
    Recipient Type USER=User GROUP=User Group.
    startTime number
    The number of seconds since the notification start time 00:00:00 (value range 0-86399).
    groupIds number[]
    User group ID list.
    needPhoneArriveNotice number
    Contact notification required 0= No 1= Yes.
    phoneCallType string
    Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
    phoneCircleInterval number
    Number of seconds between polls (value range: 60-900).
    phoneCircleTimes number
    Number of telephone polls (value range: 1-5).
    phoneInnerInterval number
    Number of seconds between calls in a polling session (value range: 60-900).
    phoneOrders number[]
    Telephone polling list.
    userIds number[]
    User UID List.
    weekdays number[]
    Notification period 1-7 indicates Monday to Sunday.
    end_time float
    The number of seconds since the notification end time 00:00:00 (value range 0-86399).
    notice_ways Sequence[str]
    Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
    receiver_type str
    Recipient Type USER=User GROUP=User Group.
    start_time float
    The number of seconds since the notification start time 00:00:00 (value range 0-86399).
    group_ids Sequence[float]
    User group ID list.
    need_phone_arrive_notice float
    Contact notification required 0= No 1= Yes.
    phone_call_type str
    Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
    phone_circle_interval float
    Number of seconds between polls (value range: 60-900).
    phone_circle_times float
    Number of telephone polls (value range: 1-5).
    phone_inner_interval float
    Number of seconds between calls in a polling session (value range: 60-900).
    phone_orders Sequence[float]
    Telephone polling list.
    user_ids Sequence[float]
    User UID List.
    weekdays Sequence[float]
    Notification period 1-7 indicates Monday to Sunday.
    endTime Number
    The number of seconds since the notification end time 00:00:00 (value range 0-86399).
    noticeWays List<String>
    Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
    receiverType String
    Recipient Type USER=User GROUP=User Group.
    startTime Number
    The number of seconds since the notification start time 00:00:00 (value range 0-86399).
    groupIds List<Number>
    User group ID list.
    needPhoneArriveNotice Number
    Contact notification required 0= No 1= Yes.
    phoneCallType String
    Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
    phoneCircleInterval Number
    Number of seconds between polls (value range: 60-900).
    phoneCircleTimes Number
    Number of telephone polls (value range: 1-5).
    phoneInnerInterval Number
    Number of seconds between calls in a polling session (value range: 60-900).
    phoneOrders List<Number>
    Telephone polling list.
    userIds List<Number>
    User UID List.
    weekdays List<Number>
    Notification period 1-7 indicates Monday to Sunday.

    Import

    Monitor Alarm Notice can be imported, e.g.

    $ pulumi import tencentcloud:index/monitorAlarmNotice:MonitorAlarmNotice import-test noticeId
    

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack