import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MonitorTmpTkeAlertPolicyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#id MonitorTmpTkeAlertPolicy#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_alert_policy#instance_id MonitorTmpTkeAlertPolicy#instance_id} */ readonly instanceId: string; /** * alert_rule block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#alert_rule MonitorTmpTkeAlertPolicy#alert_rule} */ readonly alertRule: MonitorTmpTkeAlertPolicyAlertRule; } export interface MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager { /** * The ID of the cluster where the alertmanager is deployed. Note: This field may return null, indicating that a valid value could not be retrieved. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#cluster_id MonitorTmpTkeAlertPolicy#cluster_id} */ readonly clusterId?: string; /** * Alertmanager is deployed in the cluster type. Note: This field may return null, indicating that a valid value could not be retrieved. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#cluster_type MonitorTmpTkeAlertPolicy#cluster_type} */ readonly clusterType?: string; /** * Alertmanager url. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#url MonitorTmpTkeAlertPolicy#url} */ readonly url: string; } export declare function monitorTmpTkeAlertPolicyAlertRuleNotificationAlertManagerToTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManagerOutputReference | MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager): any; export declare function monitorTmpTkeAlertPolicyAlertRuleNotificationAlertManagerToHclTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManagerOutputReference | MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager): any; export declare class MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManagerOutputReference 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(): MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager | undefined; set internalValue(value: MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager | 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 interface MonitorTmpTkeAlertPolicyAlertRuleNotification { /** * Whether it is enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#enabled MonitorTmpTkeAlertPolicy#enabled} */ readonly enabled: boolean | cdktf.IResolvable; /** * Alarm notification method. At present, there are SMS, EMAIL, CALL, WECHAT methods. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#notify_way MonitorTmpTkeAlertPolicy#notify_way} */ readonly notifyWay?: string[]; /** * Telephone alerts reach notifications. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#phone_arrive_notice MonitorTmpTkeAlertPolicy#phone_arrive_notice} */ readonly phoneArriveNotice?: boolean | cdktf.IResolvable; /** * Effective end timeTelephone alarm wheel interval. Units: Seconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#phone_circle_interval MonitorTmpTkeAlertPolicy#phone_circle_interval} */ readonly phoneCircleInterval?: number; /** * PhoneCircleTimes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#phone_circle_times MonitorTmpTkeAlertPolicy#phone_circle_times} */ readonly phoneCircleTimes?: number; /** * Telephone alarm wheel intervals. Units: Seconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#phone_inner_interval MonitorTmpTkeAlertPolicy#phone_inner_interval} */ readonly phoneInnerInterval?: number; /** * Telephone alarm sequence. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#phone_notify_order MonitorTmpTkeAlertPolicy#phone_notify_order} */ readonly phoneNotifyOrder?: number[]; /** * Alert Receiving Group (User Group). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#receiver_groups MonitorTmpTkeAlertPolicy#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_alert_policy#repeat_interval MonitorTmpTkeAlertPolicy#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_alert_policy#time_range_end MonitorTmpTkeAlertPolicy#time_range_end} */ readonly timeRangeEnd?: string; /** * The time from which it takes effect. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#time_range_start MonitorTmpTkeAlertPolicy#time_range_start} */ readonly timeRangeStart?: string; /** * The channel type, which defaults to amp, supports the following `amp`, `webhook`, `alertmanager`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#type MonitorTmpTkeAlertPolicy#type} */ readonly type: string; /** * If Type is webhook, the field is required. Note: This field may return null, indicating that a valid value could not be retrieved. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#web_hook MonitorTmpTkeAlertPolicy#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_alert_policy#alert_manager MonitorTmpTkeAlertPolicy#alert_manager} */ readonly alertManager?: MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager; } export declare function monitorTmpTkeAlertPolicyAlertRuleNotificationToTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleNotificationOutputReference | MonitorTmpTkeAlertPolicyAlertRuleNotification): any; export declare function monitorTmpTkeAlertPolicyAlertRuleNotificationToHclTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleNotificationOutputReference | MonitorTmpTkeAlertPolicyAlertRuleNotification): any; export declare class MonitorTmpTkeAlertPolicyAlertRuleNotificationOutputReference 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(): MonitorTmpTkeAlertPolicyAlertRuleNotification | undefined; set internalValue(value: MonitorTmpTkeAlertPolicyAlertRuleNotification | 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(): MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManagerOutputReference; putAlertManager(value: MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager): void; resetAlertManager(): void; get alertManagerInput(): MonitorTmpTkeAlertPolicyAlertRuleNotificationAlertManager; } export interface MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations { /** * Name of map. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#name MonitorTmpTkeAlertPolicy#name} */ readonly name: string; /** * Value of map. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#value MonitorTmpTkeAlertPolicy#value} */ readonly value: string; } export declare function monitorTmpTkeAlertPolicyAlertRuleRulesAnnotationsToTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations | cdktf.IResolvable): any; export declare function monitorTmpTkeAlertPolicyAlertRuleRulesAnnotationsToHclTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations | cdktf.IResolvable): any; export declare class MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotationsOutputReference 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(): MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations | cdktf.IResolvable | undefined; set internalValue(value: MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotationsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations[] | 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): MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotationsOutputReference; } export interface MonitorTmpTkeAlertPolicyAlertRuleRulesLabels { /** * Name of map. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#name MonitorTmpTkeAlertPolicy#name} */ readonly name: string; /** * Value of map. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#value MonitorTmpTkeAlertPolicy#value} */ readonly value: string; } export declare function monitorTmpTkeAlertPolicyAlertRuleRulesLabelsToTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleRulesLabels | cdktf.IResolvable): any; export declare function monitorTmpTkeAlertPolicyAlertRuleRulesLabelsToHclTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleRulesLabels | cdktf.IResolvable): any; export declare class MonitorTmpTkeAlertPolicyAlertRuleRulesLabelsOutputReference 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(): MonitorTmpTkeAlertPolicyAlertRuleRulesLabels | cdktf.IResolvable | undefined; set internalValue(value: MonitorTmpTkeAlertPolicyAlertRuleRulesLabels | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class MonitorTmpTkeAlertPolicyAlertRuleRulesLabelsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitorTmpTkeAlertPolicyAlertRuleRulesLabels[] | 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): MonitorTmpTkeAlertPolicyAlertRuleRulesLabelsOutputReference; } export interface MonitorTmpTkeAlertPolicyAlertRuleRules { /** * A description of the rule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#describe MonitorTmpTkeAlertPolicy#describe} */ readonly describe?: string; /** * Time of duration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#for MonitorTmpTkeAlertPolicy#for} */ readonly for: string; /** * Rule name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#name MonitorTmpTkeAlertPolicy#name} */ readonly name: string; /** * Prometheus statement. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#rule MonitorTmpTkeAlertPolicy#rule} */ readonly rule: string; /** * Alarm rule status. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#rule_state MonitorTmpTkeAlertPolicy#rule_state} */ readonly ruleState?: number; /** * Alert sending template. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#template MonitorTmpTkeAlertPolicy#template} */ readonly template: string; /** * annotations block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#annotations MonitorTmpTkeAlertPolicy#annotations} */ readonly annotations?: MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations[] | cdktf.IResolvable; /** * labels block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#labels MonitorTmpTkeAlertPolicy#labels} */ readonly labels: MonitorTmpTkeAlertPolicyAlertRuleRulesLabels[] | cdktf.IResolvable; } export declare function monitorTmpTkeAlertPolicyAlertRuleRulesToTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleRules | cdktf.IResolvable): any; export declare function monitorTmpTkeAlertPolicyAlertRuleRulesToHclTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleRules | cdktf.IResolvable): any; export declare class MonitorTmpTkeAlertPolicyAlertRuleRulesOutputReference 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(): MonitorTmpTkeAlertPolicyAlertRuleRules | cdktf.IResolvable | undefined; set internalValue(value: MonitorTmpTkeAlertPolicyAlertRuleRules | cdktf.IResolvable | undefined); private _describe?; get describe(): string; set describe(value: string); resetDescribe(): void; get describeInput(): string; private _for?; get for(): string; set for(value: string); get forInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _rule?; get rule(): string; set rule(value: string); get ruleInput(): string; private _ruleState?; get ruleState(): number; set ruleState(value: number); resetRuleState(): void; get ruleStateInput(): number; private _template?; get template(): string; set template(value: string); get templateInput(): string; private _annotations; get annotations(): MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotationsList; putAnnotations(value: MonitorTmpTkeAlertPolicyAlertRuleRulesAnnotations[] | cdktf.IResolvable): void; resetAnnotations(): void; get annotationsInput(): any; private _labels; get labels(): MonitorTmpTkeAlertPolicyAlertRuleRulesLabelsList; putLabels(value: MonitorTmpTkeAlertPolicyAlertRuleRulesLabels[] | cdktf.IResolvable): void; get labelsInput(): any; } export declare class MonitorTmpTkeAlertPolicyAlertRuleRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitorTmpTkeAlertPolicyAlertRuleRules[] | 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): MonitorTmpTkeAlertPolicyAlertRuleRulesOutputReference; } export interface MonitorTmpTkeAlertPolicyAlertRule { /** * If the alarm policy is derived from the CRD resource definition of the user cluster, the ClusterId is the cluster ID to which it belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#cluster_id MonitorTmpTkeAlertPolicy#cluster_id} */ readonly clusterId?: string; /** * Alarm policy ID. Note: This field may return null, indicating that a valid value could not be retrieved. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#id MonitorTmpTkeAlertPolicy#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; /** * Policy name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#name MonitorTmpTkeAlertPolicy#name} */ readonly name: string; /** * If the alarm is sent from a template, the TemplateId is the template id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#template_id MonitorTmpTkeAlertPolicy#template_id} */ readonly templateId?: string; /** * Last modified time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#updated_at MonitorTmpTkeAlertPolicy#updated_at} */ readonly updatedAt?: string; /** * notification block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#notification MonitorTmpTkeAlertPolicy#notification} */ readonly notification?: MonitorTmpTkeAlertPolicyAlertRuleNotification; /** * rules block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#rules MonitorTmpTkeAlertPolicy#rules} */ readonly rules: MonitorTmpTkeAlertPolicyAlertRuleRules[] | cdktf.IResolvable; } export declare function monitorTmpTkeAlertPolicyAlertRuleToTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleOutputReference | MonitorTmpTkeAlertPolicyAlertRule): any; export declare function monitorTmpTkeAlertPolicyAlertRuleToHclTerraform(struct?: MonitorTmpTkeAlertPolicyAlertRuleOutputReference | MonitorTmpTkeAlertPolicyAlertRule): any; export declare class MonitorTmpTkeAlertPolicyAlertRuleOutputReference 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(): MonitorTmpTkeAlertPolicyAlertRule | undefined; set internalValue(value: MonitorTmpTkeAlertPolicyAlertRule | undefined); private _clusterId?; get clusterId(): string; set clusterId(value: string); resetClusterId(): void; get clusterIdInput(): string; 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 _templateId?; get templateId(): string; set templateId(value: string); resetTemplateId(): void; get templateIdInput(): string; private _updatedAt?; get updatedAt(): string; set updatedAt(value: string); resetUpdatedAt(): void; get updatedAtInput(): string; private _notification; get notification(): MonitorTmpTkeAlertPolicyAlertRuleNotificationOutputReference; putNotification(value: MonitorTmpTkeAlertPolicyAlertRuleNotification): void; resetNotification(): void; get notificationInput(): MonitorTmpTkeAlertPolicyAlertRuleNotification; private _rules; get rules(): MonitorTmpTkeAlertPolicyAlertRuleRulesList; putRules(value: MonitorTmpTkeAlertPolicyAlertRuleRules[] | cdktf.IResolvable): void; get rulesInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy tencentcloud_monitor_tmp_tke_alert_policy} */ export declare class MonitorTmpTkeAlertPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_monitor_tmp_tke_alert_policy"; /** * Generates CDKTF code for importing a MonitorTmpTkeAlertPolicy 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 MonitorTmpTkeAlertPolicy to import * @param importFromId The id of the existing MonitorTmpTkeAlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/monitor_tmp_tke_alert_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MonitorTmpTkeAlertPolicy 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_alert_policy tencentcloud_monitor_tmp_tke_alert_policy} 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 MonitorTmpTkeAlertPolicyConfig */ constructor(scope: Construct, id: string, config: MonitorTmpTkeAlertPolicyConfig); 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 _alertRule; get alertRule(): MonitorTmpTkeAlertPolicyAlertRuleOutputReference; putAlertRule(value: MonitorTmpTkeAlertPolicyAlertRule): void; get alertRuleInput(): MonitorTmpTkeAlertPolicyAlertRule; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }