import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ClsAlarmNoticeConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#id ClsAlarmNotice#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Alarm notice name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#name ClsAlarmNotice#name} */ readonly name: string; /** * Tag description list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#tags ClsAlarmNotice#tags} */ readonly tags?: { [key: string]: string; }; /** * Notice type. Value: Trigger, Recovery, All. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#type ClsAlarmNotice#type} */ readonly type: string; /** * notice_receivers block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#notice_receivers ClsAlarmNotice#notice_receivers} */ readonly noticeReceivers?: ClsAlarmNoticeNoticeReceivers[] | cdktf.IResolvable; /** * web_callbacks block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#web_callbacks ClsAlarmNotice#web_callbacks} */ readonly webCallbacks?: ClsAlarmNoticeWebCallbacks[] | cdktf.IResolvable; } export interface ClsAlarmNoticeNoticeReceivers { /** * End time allowed to receive messages. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#end_time ClsAlarmNotice#end_time} */ readonly endTime?: string; /** * Index. The input parameter is invalid, but the output parameter is valid. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#index ClsAlarmNotice#index} */ readonly index?: number; /** * Notice content ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#notice_content_id ClsAlarmNotice#notice_content_id} */ readonly noticeContentId?: string; /** * Receiver channels, Value: Email, Sms, WeChat, Phone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#receiver_channels ClsAlarmNotice#receiver_channels} */ readonly receiverChannels: string[]; /** * Receiver id list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#receiver_ids ClsAlarmNotice#receiver_ids} */ readonly receiverIds: number[]; /** * Receiver type, Uin or Group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#receiver_type ClsAlarmNotice#receiver_type} */ readonly receiverType: string; /** * Start time allowed to receive messages. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#start_time ClsAlarmNotice#start_time} */ readonly startTime?: string; } export declare function clsAlarmNoticeNoticeReceiversToTerraform(struct?: ClsAlarmNoticeNoticeReceivers | cdktf.IResolvable): any; export declare function clsAlarmNoticeNoticeReceiversToHclTerraform(struct?: ClsAlarmNoticeNoticeReceivers | cdktf.IResolvable): any; export declare class ClsAlarmNoticeNoticeReceiversOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ClsAlarmNoticeNoticeReceivers | cdktf.IResolvable | undefined; set internalValue(value: ClsAlarmNoticeNoticeReceivers | cdktf.IResolvable | undefined); private _endTime?; get endTime(): string; set endTime(value: string); resetEndTime(): void; get endTimeInput(): string; private _index?; get index(): number; set index(value: number); resetIndex(): void; get indexInput(): number; private _noticeContentId?; get noticeContentId(): string; set noticeContentId(value: string); resetNoticeContentId(): void; get noticeContentIdInput(): string; private _receiverChannels?; get receiverChannels(): string[]; set receiverChannels(value: string[]); get receiverChannelsInput(): string[]; private _receiverIds?; get receiverIds(): number[]; set receiverIds(value: number[]); get receiverIdsInput(): number[]; private _receiverType?; get receiverType(): string; set receiverType(value: string); get receiverTypeInput(): string; private _startTime?; get startTime(): string; set startTime(value: string); resetStartTime(): void; get startTimeInput(): string; } export declare class ClsAlarmNoticeNoticeReceiversList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ClsAlarmNoticeNoticeReceivers[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ClsAlarmNoticeNoticeReceiversOutputReference; } export interface ClsAlarmNoticeWebCallbacks { /** * Request body. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#body ClsAlarmNotice#body} */ readonly body?: string; /** * Callback type, Values: Http, WeCom, DingTalk, Lark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#callback_type ClsAlarmNotice#callback_type} */ readonly callbackType: string; /** * Request headers. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#headers ClsAlarmNotice#headers} */ readonly headers?: string[]; /** * Index. The input parameter is invalid, but the output parameter is valid. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#index ClsAlarmNotice#index} */ readonly index?: number; /** * Method, POST or PUT. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#method ClsAlarmNotice#method} */ readonly method?: string; /** * Telephone list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#mobiles ClsAlarmNotice#mobiles} */ readonly mobiles?: string[]; /** * Notice content ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#notice_content_id ClsAlarmNotice#notice_content_id} */ readonly noticeContentId?: string; /** * Remind type. 0: Do not remind; 1: Specified person; 2: Everyone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#remind_type ClsAlarmNotice#remind_type} */ readonly remindType?: number; /** * Callback url. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#url ClsAlarmNotice#url} */ readonly url: string; /** * User ID list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#user_ids ClsAlarmNotice#user_ids} */ readonly userIds?: string[]; /** * Integration configuration ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#web_callback_id ClsAlarmNotice#web_callback_id} */ readonly webCallbackId?: string; } export declare function clsAlarmNoticeWebCallbacksToTerraform(struct?: ClsAlarmNoticeWebCallbacks | cdktf.IResolvable): any; export declare function clsAlarmNoticeWebCallbacksToHclTerraform(struct?: ClsAlarmNoticeWebCallbacks | cdktf.IResolvable): any; export declare class ClsAlarmNoticeWebCallbacksOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ClsAlarmNoticeWebCallbacks | cdktf.IResolvable | undefined; set internalValue(value: ClsAlarmNoticeWebCallbacks | cdktf.IResolvable | undefined); private _body?; get body(): string; set body(value: string); resetBody(): void; get bodyInput(): string; private _callbackType?; get callbackType(): string; set callbackType(value: string); get callbackTypeInput(): string; private _headers?; get headers(): string[]; set headers(value: string[]); resetHeaders(): void; get headersInput(): string[]; private _index?; get index(): number; set index(value: number); resetIndex(): void; get indexInput(): number; private _method?; get method(): string; set method(value: string); resetMethod(): void; get methodInput(): string; private _mobiles?; get mobiles(): string[]; set mobiles(value: string[]); resetMobiles(): void; get mobilesInput(): string[]; private _noticeContentId?; get noticeContentId(): string; set noticeContentId(value: string); resetNoticeContentId(): void; get noticeContentIdInput(): string; private _remindType?; get remindType(): number; set remindType(value: number); resetRemindType(): void; get remindTypeInput(): number; private _url?; get url(): string; set url(value: string); get urlInput(): string; private _userIds?; get userIds(): string[]; set userIds(value: string[]); resetUserIds(): void; get userIdsInput(): string[]; private _webCallbackId?; get webCallbackId(): string; set webCallbackId(value: string); resetWebCallbackId(): void; get webCallbackIdInput(): string; } export declare class ClsAlarmNoticeWebCallbacksList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ClsAlarmNoticeWebCallbacks[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ClsAlarmNoticeWebCallbacksOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice tencentcloud_cls_alarm_notice} */ export declare class ClsAlarmNotice extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cls_alarm_notice"; /** * Generates CDKTF code for importing a ClsAlarmNotice resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the ClsAlarmNotice to import * @param importFromId The id of the existing ClsAlarmNotice that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ClsAlarmNotice to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cls_alarm_notice tencentcloud_cls_alarm_notice} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options ClsAlarmNoticeConfig */ constructor(scope: Construct, id: string, config: ClsAlarmNoticeConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _noticeReceivers; get noticeReceivers(): ClsAlarmNoticeNoticeReceiversList; putNoticeReceivers(value: ClsAlarmNoticeNoticeReceivers[] | cdktf.IResolvable): void; resetNoticeReceivers(): void; get noticeReceiversInput(): any; private _webCallbacks; get webCallbacks(): ClsAlarmNoticeWebCallbacksList; putWebCallbacks(value: ClsAlarmNoticeWebCallbacks[] | cdktf.IResolvable): void; resetWebCallbacks(): void; get webCallbacksInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }