import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface IgtmMonitorConfig extends cdktf.TerraformMetaArguments { /** * Check interval (seconds), optional values 15 60 120 300. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#check_interval IgtmMonitor#check_interval} */ readonly checkInterval: number; /** * Detection protocol, optional values `PING`, `TCP`, `HTTP`, `HTTPS`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#check_protocol IgtmMonitor#check_protocol} */ readonly checkProtocol: string; /** * Continuous period count, optional values 1-5. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#continue_period IgtmMonitor#continue_period} */ readonly continuePeriod?: number; /** * Detector group ID list separated by commas. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#detector_group_ids IgtmMonitor#detector_group_ids} */ readonly detectorGroupIds: number[]; /** * Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#detector_style IgtmMonitor#detector_style} */ readonly detectorStyle: string; /** * Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#enable_redirect IgtmMonitor#enable_redirect} */ readonly enableRedirect?: string; /** * Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#enable_sni IgtmMonitor#enable_sni} */ readonly enableSni?: string; /** * Failure rate, values 20 30 40 50 60 70 80 100, default value 50. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#fail_rate IgtmMonitor#fail_rate} */ readonly failRate: number; /** * Retry count, optional values 0, 1, 2. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#fail_times IgtmMonitor#fail_times} */ readonly failTimes: number; /** * Host setting, default is business domain name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#host IgtmMonitor#host} */ readonly host?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#id IgtmMonitor#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; /** * Monitor name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#monitor_name IgtmMonitor#monitor_name} */ readonly monitorName: string; /** * Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#packet_loss_rate IgtmMonitor#packet_loss_rate} */ readonly packetLossRate?: number; /** * URL path, default is "/". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#path IgtmMonitor#path} */ readonly path?: string; /** * PING packet count, required when CheckProtocol=ping, optional values 20 50 100. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#ping_num IgtmMonitor#ping_num} */ readonly pingNum?: number; /** * Return error code threshold, optional values 400 and 500, default value 500. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#return_code_threshold IgtmMonitor#return_code_threshold} */ readonly returnCodeThreshold?: number; /** * Check port, optional values between 1-65535. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#tcp_port IgtmMonitor#tcp_port} */ readonly tcpPort?: number; /** * Timeout time, unit seconds, optional values 2 3 5 10. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#timeout IgtmMonitor#timeout} */ readonly timeout: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor tencentcloud_igtm_monitor} */ export declare class IgtmMonitor extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_igtm_monitor"; /** * Generates CDKTF code for importing a IgtmMonitor 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 IgtmMonitor to import * @param importFromId The id of the existing IgtmMonitor that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_monitor#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the IgtmMonitor 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/igtm_monitor tencentcloud_igtm_monitor} 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 IgtmMonitorConfig */ constructor(scope: Construct, id: string, config: IgtmMonitorConfig); private _checkInterval?; get checkInterval(): number; set checkInterval(value: number); get checkIntervalInput(): number; private _checkProtocol?; get checkProtocol(): string; set checkProtocol(value: string); get checkProtocolInput(): string; private _continuePeriod?; get continuePeriod(): number; set continuePeriod(value: number); resetContinuePeriod(): void; get continuePeriodInput(): number; private _detectorGroupIds?; get detectorGroupIds(): number[]; set detectorGroupIds(value: number[]); get detectorGroupIdsInput(): number[]; private _detectorStyle?; get detectorStyle(): string; set detectorStyle(value: string); get detectorStyleInput(): string; private _enableRedirect?; get enableRedirect(): string; set enableRedirect(value: string); resetEnableRedirect(): void; get enableRedirectInput(): string; private _enableSni?; get enableSni(): string; set enableSni(value: string); resetEnableSni(): void; get enableSniInput(): string; private _failRate?; get failRate(): number; set failRate(value: number); get failRateInput(): number; private _failTimes?; get failTimes(): number; set failTimes(value: number); get failTimesInput(): number; private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get monitorId(): any; private _monitorName?; get monitorName(): string; set monitorName(value: string); get monitorNameInput(): string; private _packetLossRate?; get packetLossRate(): number; set packetLossRate(value: number); resetPacketLossRate(): void; get packetLossRateInput(): number; private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string; private _pingNum?; get pingNum(): number; set pingNum(value: number); resetPingNum(): void; get pingNumInput(): number; private _returnCodeThreshold?; get returnCodeThreshold(): number; set returnCodeThreshold(value: number); resetReturnCodeThreshold(): void; get returnCodeThresholdInput(): number; private _tcpPort?; get tcpPort(): number; set tcpPort(value: number); resetTcpPort(): void; get tcpPortInput(): number; private _timeout?; get timeout(): number; set timeout(value: number); get timeoutInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }