import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MonitorTmpTkeGlobalNotificationConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#id MonitorTmpTkeGlobalNotification#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; /** * Instance Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#instance_id MonitorTmpTkeGlobalNotification#instance_id} */ readonly instanceId: string; /** * notification block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#notification MonitorTmpTkeGlobalNotification#notification} */ readonly notification: MonitorTmpTkeGlobalNotificationNotification; } export interface MonitorTmpTkeGlobalNotificationNotificationAlertManager { /** * Cluster id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#cluster_id MonitorTmpTkeGlobalNotification#cluster_id} */ readonly clusterId?: string; /** * Cluster type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#cluster_type MonitorTmpTkeGlobalNotification#cluster_type} */ readonly clusterType?: string; /** * Alert manager url. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#url MonitorTmpTkeGlobalNotification#url} */ readonly url: string; } export declare function monitorTmpTkeGlobalNotificationNotificationAlertManagerToTerraform(struct?: MonitorTmpTkeGlobalNotificationNotificationAlertManager | cdktf.IResolvable): any; export declare function monitorTmpTkeGlobalNotificationNotificationAlertManagerToHclTerraform(struct?: MonitorTmpTkeGlobalNotificationNotificationAlertManager | cdktf.IResolvable): any; export declare class MonitorTmpTkeGlobalNotificationNotificationAlertManagerOutputReference 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(): MonitorTmpTkeGlobalNotificationNotificationAlertManager | cdktf.IResolvable | undefined; set internalValue(value: MonitorTmpTkeGlobalNotificationNotificationAlertManager | cdktf.IResolvable | undefined); private _clusterId?; get clusterId(): string; set clusterId(value: string); resetClusterId(): void; get clusterIdInput(): string; private _clusterType?; get clusterType(): string; set clusterType(value: string); resetClusterType(): void; get clusterTypeInput(): string; private _url?; get url(): string; set url(value: string); get urlInput(): string; } export declare class MonitorTmpTkeGlobalNotificationNotificationAlertManagerList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitorTmpTkeGlobalNotificationNotificationAlertManager[] | 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): MonitorTmpTkeGlobalNotificationNotificationAlertManagerOutputReference; } export interface MonitorTmpTkeGlobalNotificationNotification { /** * Alarm notification switch. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#enabled MonitorTmpTkeGlobalNotification#enabled} */ readonly enabled: boolean | cdktf.IResolvable; /** * Alarm notification method, Valid values: `SMS`, `EMAIL`, `CALL`, `WECHAT`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#notify_way MonitorTmpTkeGlobalNotification#notify_way} */ readonly notifyWay?: string[]; /** * Phone Alarm Reach Notification, NotifyWay is `CALL`, and this parameter is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#phone_arrive_notice MonitorTmpTkeGlobalNotification#phone_arrive_notice} */ readonly phoneArriveNotice?: boolean | cdktf.IResolvable; /** * Telephone alarm off-wheel interval, NotifyWay is `CALL`, and this parameter is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#phone_circle_interval MonitorTmpTkeGlobalNotification#phone_circle_interval} */ readonly phoneCircleInterval?: number; /** * Number of phone alerts (user group), NotifyWay is `CALL`, and this parameter is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#phone_circle_times MonitorTmpTkeGlobalNotification#phone_circle_times} */ readonly phoneCircleTimes?: number; /** * Interval between telephone alarm rounds, NotifyWay is `CALL`, and this parameter is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#phone_inner_interval MonitorTmpTkeGlobalNotification#phone_inner_interval} */ readonly phoneInnerInterval?: number; /** * Phone alert sequence, NotifyWay is `CALL`, and this parameter is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#phone_notify_order MonitorTmpTkeGlobalNotification#phone_notify_order} */ readonly phoneNotifyOrder?: number[]; /** * Alarm receiving group(user group). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#receiver_groups MonitorTmpTkeGlobalNotification#receiver_groups} */ readonly receiverGroups?: string[]; /** * Convergence time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#repeat_interval MonitorTmpTkeGlobalNotification#repeat_interval} */ readonly repeatInterval?: string; /** * Effective end time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#time_range_end MonitorTmpTkeGlobalNotification#time_range_end} */ readonly timeRangeEnd?: string; /** * Effective start time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#time_range_start MonitorTmpTkeGlobalNotification#time_range_start} */ readonly timeRangeStart?: string; /** * Alarm notification type, Valid values: `amp`, `webhook`, `alertmanager`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#type MonitorTmpTkeGlobalNotification#type} */ readonly type: string; /** * Web hook, if Type is `webhook`, this field is required. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#web_hook MonitorTmpTkeGlobalNotification#web_hook} */ readonly webHook?: string; /** * alert_manager block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#alert_manager MonitorTmpTkeGlobalNotification#alert_manager} */ readonly alertManager?: MonitorTmpTkeGlobalNotificationNotificationAlertManager[] | cdktf.IResolvable; } export declare function monitorTmpTkeGlobalNotificationNotificationToTerraform(struct?: MonitorTmpTkeGlobalNotificationNotificationOutputReference | MonitorTmpTkeGlobalNotificationNotification): any; export declare function monitorTmpTkeGlobalNotificationNotificationToHclTerraform(struct?: MonitorTmpTkeGlobalNotificationNotificationOutputReference | MonitorTmpTkeGlobalNotificationNotification): any; export declare class MonitorTmpTkeGlobalNotificationNotificationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MonitorTmpTkeGlobalNotificationNotification | undefined; set internalValue(value: MonitorTmpTkeGlobalNotificationNotification | undefined); private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); get enabledInput(): any; private _notifyWay?; get notifyWay(): string[]; set notifyWay(value: string[]); resetNotifyWay(): void; get notifyWayInput(): string[]; private _phoneArriveNotice?; get phoneArriveNotice(): boolean | cdktf.IResolvable; set phoneArriveNotice(value: boolean | cdktf.IResolvable); resetPhoneArriveNotice(): void; get phoneArriveNoticeInput(): any; private _phoneCircleInterval?; get phoneCircleInterval(): number; set phoneCircleInterval(value: number); resetPhoneCircleInterval(): void; get phoneCircleIntervalInput(): number; private _phoneCircleTimes?; get phoneCircleTimes(): number; set phoneCircleTimes(value: number); resetPhoneCircleTimes(): void; get phoneCircleTimesInput(): number; private _phoneInnerInterval?; get phoneInnerInterval(): number; set phoneInnerInterval(value: number); resetPhoneInnerInterval(): void; get phoneInnerIntervalInput(): number; private _phoneNotifyOrder?; get phoneNotifyOrder(): number[]; set phoneNotifyOrder(value: number[]); resetPhoneNotifyOrder(): void; get phoneNotifyOrderInput(): number[]; private _receiverGroups?; get receiverGroups(): string[]; set receiverGroups(value: string[]); resetReceiverGroups(): void; get receiverGroupsInput(): string[]; private _repeatInterval?; get repeatInterval(): string; set repeatInterval(value: string); resetRepeatInterval(): void; get repeatIntervalInput(): string; private _timeRangeEnd?; get timeRangeEnd(): string; set timeRangeEnd(value: string); resetTimeRangeEnd(): void; get timeRangeEndInput(): string; private _timeRangeStart?; get timeRangeStart(): string; set timeRangeStart(value: string); resetTimeRangeStart(): void; get timeRangeStartInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _webHook?; get webHook(): string; set webHook(value: string); resetWebHook(): void; get webHookInput(): string; private _alertManager; get alertManager(): MonitorTmpTkeGlobalNotificationNotificationAlertManagerList; putAlertManager(value: MonitorTmpTkeGlobalNotificationNotificationAlertManager[] | cdktf.IResolvable): void; resetAlertManager(): void; get alertManagerInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification tencentcloud_monitor_tmp_tke_global_notification} */ export declare class MonitorTmpTkeGlobalNotification extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_monitor_tmp_tke_global_notification"; /** * Generates CDKTF code for importing a MonitorTmpTkeGlobalNotification 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 MonitorTmpTkeGlobalNotification to import * @param importFromId The id of the existing MonitorTmpTkeGlobalNotification that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_global_notification#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MonitorTmpTkeGlobalNotification 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/monitor_tmp_tke_global_notification tencentcloud_monitor_tmp_tke_global_notification} 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 MonitorTmpTkeGlobalNotificationConfig */ constructor(scope: Construct, id: string, config: MonitorTmpTkeGlobalNotificationConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _notification; get notification(): MonitorTmpTkeGlobalNotificationNotificationOutputReference; putNotification(value: MonitorTmpTkeGlobalNotificationNotification): void; get notificationInput(): MonitorTmpTkeGlobalNotificationNotification; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }