import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudGaapListenerStatisticsConfig extends cdktf.TerraformMetaArguments { /** * End Time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#end_time DataTencentcloudGaapListenerStatistics#end_time} */ readonly endTime: string; /** * Monitoring granularity, currently supporting 300 3600 86400, in seconds.The query time range does not exceed 1 day and supports a minimum granularity of 300 seconds;The query interval should not exceed 7 days and support a minimum granularity of 3600 seconds;The query interval exceeds 7 days and supports a minimum granularity of 86400 seconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#granularity DataTencentcloudGaapListenerStatistics#granularity} */ readonly granularity: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#id DataTencentcloudGaapListenerStatistics#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; /** * Listener Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#listener_id DataTencentcloudGaapListenerStatistics#listener_id} */ readonly listenerId: string; /** * List of statistical indicator names. Supporting: InBandwidth, OutBandwidth, Concurrent, InPackets, OutPackets. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#metric_names DataTencentcloudGaapListenerStatistics#metric_names} */ readonly metricNames: string[]; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#result_output_file DataTencentcloudGaapListenerStatistics#result_output_file} */ readonly resultOutputFile?: string; /** * Start Time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#start_time DataTencentcloudGaapListenerStatistics#start_time} */ readonly startTime: string; } export interface DataTencentcloudGaapListenerStatisticsStatisticsDataMetricData { } export declare function dataTencentcloudGaapListenerStatisticsStatisticsDataMetricDataToTerraform(struct?: DataTencentcloudGaapListenerStatisticsStatisticsDataMetricData): any; export declare function dataTencentcloudGaapListenerStatisticsStatisticsDataMetricDataToHclTerraform(struct?: DataTencentcloudGaapListenerStatisticsStatisticsDataMetricData): any; export declare class DataTencentcloudGaapListenerStatisticsStatisticsDataMetricDataOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataTencentcloudGaapListenerStatisticsStatisticsDataMetricData | undefined; set internalValue(value: DataTencentcloudGaapListenerStatisticsStatisticsDataMetricData | undefined); get data(): any; get time(): any; } export declare class DataTencentcloudGaapListenerStatisticsStatisticsDataMetricDataList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): DataTencentcloudGaapListenerStatisticsStatisticsDataMetricDataOutputReference; } export interface DataTencentcloudGaapListenerStatisticsStatisticsData { } export declare function dataTencentcloudGaapListenerStatisticsStatisticsDataToTerraform(struct?: DataTencentcloudGaapListenerStatisticsStatisticsData): any; export declare function dataTencentcloudGaapListenerStatisticsStatisticsDataToHclTerraform(struct?: DataTencentcloudGaapListenerStatisticsStatisticsData): any; export declare class DataTencentcloudGaapListenerStatisticsStatisticsDataOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataTencentcloudGaapListenerStatisticsStatisticsData | undefined; set internalValue(value: DataTencentcloudGaapListenerStatisticsStatisticsData | undefined); private _metricData; get metricData(): DataTencentcloudGaapListenerStatisticsStatisticsDataMetricDataList; get metricName(): any; } export declare class DataTencentcloudGaapListenerStatisticsStatisticsDataList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): DataTencentcloudGaapListenerStatisticsStatisticsDataOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics tencentcloud_gaap_listener_statistics} */ export declare class DataTencentcloudGaapListenerStatistics extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_gaap_listener_statistics"; /** * Generates CDKTF code for importing a DataTencentcloudGaapListenerStatistics 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 DataTencentcloudGaapListenerStatistics to import * @param importFromId The id of the existing DataTencentcloudGaapListenerStatistics that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/gaap_listener_statistics#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudGaapListenerStatistics 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/data-sources/gaap_listener_statistics tencentcloud_gaap_listener_statistics} Data Source * * @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 DataTencentcloudGaapListenerStatisticsConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudGaapListenerStatisticsConfig); private _endTime?; get endTime(): string; set endTime(value: string); get endTimeInput(): string; private _granularity?; get granularity(): number; set granularity(value: number); get granularityInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _listenerId?; get listenerId(): string; set listenerId(value: string); get listenerIdInput(): string; private _metricNames?; get metricNames(): string[]; set metricNames(value: string[]); get metricNamesInput(): string[]; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _startTime?; get startTime(): string; set startTime(value: string); get startTimeInput(): string; private _statisticsData; get statisticsData(): DataTencentcloudGaapListenerStatisticsStatisticsDataList; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }