tencentcloud.MonitorAlarmNotice
Explore with Pulumi AI
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:
- Notice
Language string - Notification language zh-CN=Chinese en-US=English.
- Notice
Type string - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- Cls
Notices List<MonitorAlarm Notice Cls Notice> - A maximum of one alarm notification can be pushed to the CLS service.
- Monitor
Alarm stringNotice Id - ID of the resource.
- Name string
- Notification template name within 60.
- Url
Notices List<MonitorAlarm Notice Url Notice> - The maximum number of callback notifications is 3.
- User
Notices List<MonitorAlarm Notice User Notice> - Alarm notification template list.(At most five).
- Notice
Language string - Notification language zh-CN=Chinese en-US=English.
- Notice
Type string - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- Cls
Notices []MonitorAlarm Notice Cls Notice Args - A maximum of one alarm notification can be pushed to the CLS service.
- Monitor
Alarm stringNotice Id - ID of the resource.
- Name string
- Notification template name within 60.
- Url
Notices []MonitorAlarm Notice Url Notice Args - The maximum number of callback notifications is 3.
- User
Notices []MonitorAlarm Notice User Notice Args - Alarm notification template list.(At most five).
- notice
Language String - Notification language zh-CN=Chinese en-US=English.
- notice
Type String - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- cls
Notices List<MonitorAlarm Notice Cls Notice> - A maximum of one alarm notification can be pushed to the CLS service.
- monitor
Alarm StringNotice Id - ID of the resource.
- name String
- Notification template name within 60.
- url
Notices List<MonitorAlarm Notice Url Notice> - The maximum number of callback notifications is 3.
- user
Notices List<MonitorAlarm Notice User Notice> - Alarm notification template list.(At most five).
- notice
Language string - Notification language zh-CN=Chinese en-US=English.
- notice
Type string - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- cls
Notices MonitorAlarm Notice Cls Notice[] - A maximum of one alarm notification can be pushed to the CLS service.
- monitor
Alarm stringNotice Id - ID of the resource.
- name string
- Notification template name within 60.
- url
Notices MonitorAlarm Notice Url Notice[] - The maximum number of callback notifications is 3.
- user
Notices MonitorAlarm Notice User Notice[] - 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[MonitorAlarm Notice Cls Notice Args] - A maximum of one alarm notification can be pushed to the CLS service.
- monitor_
alarm_ strnotice_ id - ID of the resource.
- name str
- Notification template name within 60.
- url_
notices Sequence[MonitorAlarm Notice Url Notice Args] - The maximum number of callback notifications is 3.
- user_
notices Sequence[MonitorAlarm Notice User Notice Args] - Alarm notification template list.(At most five).
- notice
Language String - Notification language zh-CN=Chinese en-US=English.
- notice
Type String - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- cls
Notices List<Property Map> - A maximum of one alarm notification can be pushed to the CLS service.
- monitor
Alarm StringNotice Id - ID of the resource.
- name String
- Notification template name within 60.
- url
Notices List<Property Map> - The maximum number of callback notifications is 3.
- user
Notices 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:
- Amp
Consumer stringId - Amp consumer ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Preset double - Whether it is the system default notification template 0=No 1=Yes.
- Policy
Ids List<string> - List of alarm policy IDs bound to the alarm notification template.
- Updated
At string - Last modified time.
- Updated
By string - Last Modified By.
- Amp
Consumer stringId - Amp consumer ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Preset float64 - Whether it is the system default notification template 0=No 1=Yes.
- Policy
Ids []string - List of alarm policy IDs bound to the alarm notification template.
- Updated
At string - Last modified time.
- Updated
By string - Last Modified By.
- amp
Consumer StringId - Amp consumer ID.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Preset Double - Whether it is the system default notification template 0=No 1=Yes.
- policy
Ids List<String> - List of alarm policy IDs bound to the alarm notification template.
- updated
At String - Last modified time.
- updated
By String - Last Modified By.
- amp
Consumer stringId - Amp consumer ID.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Preset number - Whether it is the system default notification template 0=No 1=Yes.
- policy
Ids string[] - List of alarm policy IDs bound to the alarm notification template.
- updated
At string - Last modified time.
- updated
By string - Last Modified By.
- amp_
consumer_ strid - 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.
- amp
Consumer StringId - Amp consumer ID.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Preset Number - Whether it is the system default notification template 0=No 1=Yes.
- policy
Ids List<String> - List of alarm policy IDs bound to the alarm notification template.
- updated
At String - Last modified time.
- updated
By 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.
- Amp
Consumer stringId - Amp consumer ID.
- Cls
Notices List<MonitorAlarm Notice Cls Notice> - A maximum of one alarm notification can be pushed to the CLS service.
- Is
Preset double - Whether it is the system default notification template 0=No 1=Yes.
- Monitor
Alarm stringNotice Id - ID of the resource.
- Name string
- Notification template name within 60.
- Notice
Language string - Notification language zh-CN=Chinese en-US=English.
- Notice
Type string - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- Policy
Ids List<string> - List of alarm policy IDs bound to the alarm notification template.
- Updated
At string - Last modified time.
- Updated
By string - Last Modified By.
- Url
Notices List<MonitorAlarm Notice Url Notice> - The maximum number of callback notifications is 3.
- User
Notices List<MonitorAlarm Notice User Notice> - Alarm notification template list.(At most five).
- Amp
Consumer stringId - Amp consumer ID.
- Cls
Notices []MonitorAlarm Notice Cls Notice Args - A maximum of one alarm notification can be pushed to the CLS service.
- Is
Preset float64 - Whether it is the system default notification template 0=No 1=Yes.
- Monitor
Alarm stringNotice Id - ID of the resource.
- Name string
- Notification template name within 60.
- Notice
Language string - Notification language zh-CN=Chinese en-US=English.
- Notice
Type string - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- Policy
Ids []string - List of alarm policy IDs bound to the alarm notification template.
- Updated
At string - Last modified time.
- Updated
By string - Last Modified By.
- Url
Notices []MonitorAlarm Notice Url Notice Args - The maximum number of callback notifications is 3.
- User
Notices []MonitorAlarm Notice User Notice Args - Alarm notification template list.(At most five).
- amp
Consumer StringId - Amp consumer ID.
- cls
Notices List<MonitorAlarm Notice Cls Notice> - A maximum of one alarm notification can be pushed to the CLS service.
- is
Preset Double - Whether it is the system default notification template 0=No 1=Yes.
- monitor
Alarm StringNotice Id - ID of the resource.
- name String
- Notification template name within 60.
- notice
Language String - Notification language zh-CN=Chinese en-US=English.
- notice
Type String - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- policy
Ids List<String> - List of alarm policy IDs bound to the alarm notification template.
- updated
At String - Last modified time.
- updated
By String - Last Modified By.
- url
Notices List<MonitorAlarm Notice Url Notice> - The maximum number of callback notifications is 3.
- user
Notices List<MonitorAlarm Notice User Notice> - Alarm notification template list.(At most five).
- amp
Consumer stringId - Amp consumer ID.
- cls
Notices MonitorAlarm Notice Cls Notice[] - A maximum of one alarm notification can be pushed to the CLS service.
- is
Preset number - Whether it is the system default notification template 0=No 1=Yes.
- monitor
Alarm stringNotice Id - ID of the resource.
- name string
- Notification template name within 60.
- notice
Language string - Notification language zh-CN=Chinese en-US=English.
- notice
Type string - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- policy
Ids string[] - List of alarm policy IDs bound to the alarm notification template.
- updated
At string - Last modified time.
- updated
By string - Last Modified By.
- url
Notices MonitorAlarm Notice Url Notice[] - The maximum number of callback notifications is 3.
- user
Notices MonitorAlarm Notice User Notice[] - Alarm notification template list.(At most five).
- amp_
consumer_ strid - Amp consumer ID.
- cls_
notices Sequence[MonitorAlarm Notice Cls Notice Args] - 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_ strnotice_ id - 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[MonitorAlarm Notice Url Notice Args] - The maximum number of callback notifications is 3.
- user_
notices Sequence[MonitorAlarm Notice User Notice Args] - Alarm notification template list.(At most five).
- amp
Consumer StringId - Amp consumer ID.
- cls
Notices List<Property Map> - A maximum of one alarm notification can be pushed to the CLS service.
- is
Preset Number - Whether it is the system default notification template 0=No 1=Yes.
- monitor
Alarm StringNotice Id - ID of the resource.
- name String
- Notification template name within 60.
- notice
Language String - Notification language zh-CN=Chinese en-US=English.
- notice
Type String - Alarm notification type ALARM=Notification not restored OK=Notification restored ALL.
- policy
Ids List<String> - List of alarm policy IDs bound to the alarm notification template.
- updated
At String - Last modified time.
- updated
By String - Last Modified By.
- url
Notices List<Property Map> - The maximum number of callback notifications is 3.
- user
Notices List<Property Map> - Alarm notification template list.(At most five).
Supporting Types
MonitorAlarmNoticeClsNotice, MonitorAlarmNoticeClsNoticeArgs
- log_
set_ strid - 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.
MonitorAlarmNoticeUrlNotice, MonitorAlarmNoticeUrlNoticeArgs
- Url string
- Callback URL (limited to 256 characters).
- End
Time double - Notification End Time Seconds at the start of a day.
- Is
Valid double - If passed verification
0
is no,1
is yes. Default0
. - Start
Time double - Notification Start Time Number of seconds at the start of a day.
- Validation
Code string - Verification code.
- Weekdays List<double>
- Notification period 1-7 indicates Monday to Sunday.
- Url string
- Callback URL (limited to 256 characters).
- End
Time float64 - Notification End Time Seconds at the start of a day.
- Is
Valid float64 - If passed verification
0
is no,1
is yes. Default0
. - Start
Time float64 - Notification Start Time Number of seconds at the start of a day.
- Validation
Code string - Verification code.
- Weekdays []float64
- Notification period 1-7 indicates Monday to Sunday.
- url String
- Callback URL (limited to 256 characters).
- end
Time Double - Notification End Time Seconds at the start of a day.
- is
Valid Double - If passed verification
0
is no,1
is yes. Default0
. - start
Time Double - Notification Start Time Number of seconds at the start of a day.
- validation
Code String - Verification code.
- weekdays List<Double>
- Notification period 1-7 indicates Monday to Sunday.
- url string
- Callback URL (limited to 256 characters).
- end
Time number - Notification End Time Seconds at the start of a day.
- is
Valid number - If passed verification
0
is no,1
is yes. Default0
. - start
Time number - Notification Start Time Number of seconds at the start of a day.
- validation
Code 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. Default0
. - 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).
- end
Time Number - Notification End Time Seconds at the start of a day.
- is
Valid Number - If passed verification
0
is no,1
is yes. Default0
. - start
Time Number - Notification Start Time Number of seconds at the start of a day.
- validation
Code String - Verification code.
- weekdays List<Number>
- Notification period 1-7 indicates Monday to Sunday.
MonitorAlarmNoticeUserNotice, MonitorAlarmNoticeUserNoticeArgs
- End
Time double - The number of seconds since the notification end time 00:00:00 (value range 0-86399).
- Notice
Ways List<string> - Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
- Receiver
Type string - Recipient Type USER=User GROUP=User Group.
- Start
Time double - The number of seconds since the notification start time 00:00:00 (value range 0-86399).
- Group
Ids List<double> - User group ID list.
- Need
Phone doubleArrive Notice - Contact notification required 0= No 1= Yes.
- Phone
Call stringType - Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
- Phone
Circle doubleInterval - Number of seconds between polls (value range: 60-900).
- Phone
Circle doubleTimes - Number of telephone polls (value range: 1-5).
- Phone
Inner doubleInterval - Number of seconds between calls in a polling session (value range: 60-900).
- Phone
Orders List<double> - Telephone polling list.
- User
Ids List<double> - User UID List.
- Weekdays List<double>
- Notification period 1-7 indicates Monday to Sunday.
- End
Time float64 - The number of seconds since the notification end time 00:00:00 (value range 0-86399).
- Notice
Ways []string - Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
- Receiver
Type string - Recipient Type USER=User GROUP=User Group.
- Start
Time float64 - The number of seconds since the notification start time 00:00:00 (value range 0-86399).
- Group
Ids []float64 - User group ID list.
- Need
Phone float64Arrive Notice - Contact notification required 0= No 1= Yes.
- Phone
Call stringType - Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
- Phone
Circle float64Interval - Number of seconds between polls (value range: 60-900).
- Phone
Circle float64Times - Number of telephone polls (value range: 1-5).
- Phone
Inner float64Interval - Number of seconds between calls in a polling session (value range: 60-900).
- Phone
Orders []float64 - Telephone polling list.
- User
Ids []float64 - User UID List.
- Weekdays []float64
- Notification period 1-7 indicates Monday to Sunday.
- end
Time Double - The number of seconds since the notification end time 00:00:00 (value range 0-86399).
- notice
Ways List<String> - Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
- receiver
Type String - Recipient Type USER=User GROUP=User Group.
- start
Time Double - The number of seconds since the notification start time 00:00:00 (value range 0-86399).
- group
Ids List<Double> - User group ID list.
- need
Phone DoubleArrive Notice - Contact notification required 0= No 1= Yes.
- phone
Call StringType - Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
- phone
Circle DoubleInterval - Number of seconds between polls (value range: 60-900).
- phone
Circle DoubleTimes - Number of telephone polls (value range: 1-5).
- phone
Inner DoubleInterval - Number of seconds between calls in a polling session (value range: 60-900).
- phone
Orders List<Double> - Telephone polling list.
- user
Ids List<Double> - User UID List.
- weekdays List<Double>
- Notification period 1-7 indicates Monday to Sunday.
- end
Time number - The number of seconds since the notification end time 00:00:00 (value range 0-86399).
- notice
Ways string[] - Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
- receiver
Type string - Recipient Type USER=User GROUP=User Group.
- start
Time number - The number of seconds since the notification start time 00:00:00 (value range 0-86399).
- group
Ids number[] - User group ID list.
- need
Phone numberArrive Notice - Contact notification required 0= No 1= Yes.
- phone
Call stringType - Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
- phone
Circle numberInterval - Number of seconds between polls (value range: 60-900).
- phone
Circle numberTimes - Number of telephone polls (value range: 1-5).
- phone
Inner numberInterval - Number of seconds between calls in a polling session (value range: 60-900).
- phone
Orders number[] - Telephone polling list.
- user
Ids 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_ floatarrive_ notice - Contact notification required 0= No 1= Yes.
- phone_
call_ strtype - Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
- phone_
circle_ floatinterval - Number of seconds between polls (value range: 60-900).
- phone_
circle_ floattimes - Number of telephone polls (value range: 1-5).
- phone_
inner_ floatinterval - 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.
- end
Time Number - The number of seconds since the notification end time 00:00:00 (value range 0-86399).
- notice
Ways List<String> - Notification Channel List EMAIL=Mail SMS=SMS CALL=Telephone WECHAT=WeChat RTX=Enterprise WeChat.
- receiver
Type String - Recipient Type USER=User GROUP=User Group.
- start
Time Number - The number of seconds since the notification start time 00:00:00 (value range 0-86399).
- group
Ids List<Number> - User group ID list.
- need
Phone NumberArrive Notice - Contact notification required 0= No 1= Yes.
- phone
Call StringType - Call type SYNC= Simultaneous call CIRCLE= Round call If this parameter is not specified, the default value is round call.
- phone
Circle NumberInterval - Number of seconds between polls (value range: 60-900).
- phone
Circle NumberTimes - Number of telephone polls (value range: 1-5).
- phone
Inner NumberInterval - Number of seconds between calls in a polling session (value range: 60-900).
- phone
Orders List<Number> - Telephone polling list.
- user
Ids 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.