import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudMysqlUserTaskConfig extends cdktf.TerraformMetaArguments { /** * Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#async_request_id DataTencentcloudMysqlUserTask#async_request_id} */ readonly asyncRequestId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#id DataTencentcloudMysqlUserTask#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, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#instance_id DataTencentcloudMysqlUserTask#instance_id} */ readonly instanceId?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#result_output_file DataTencentcloudMysqlUserTask#result_output_file} */ readonly resultOutputFile?: string; /** * The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#start_time_begin DataTencentcloudMysqlUserTask#start_time_begin} */ readonly startTimeBegin?: string; /** * The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#start_time_end DataTencentcloudMysqlUserTask#start_time_end} */ readonly startTimeEnd?: string; /** * Task status. If no value is passed, all task statuses will be queried. Supported values include: `UNDEFINED` - undefined; `INITIAL` - initialization; `RUNNING` - running; `SUCCEED` - the execution was successful; `FAILED` - execution failed; `KILLED` - terminated; `REMOVED` - removed; `PAUSED` - Paused. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#task_status DataTencentcloudMysqlUserTask#task_status} */ readonly taskStatus?: string[]; /** * Task type. If no value is passed, all task types will be queried. Supported values include: `ROLLBACK` - database rollback; `SQL OPERATION` - SQL operation; `IMPORT DATA` - data import; `MODIFY PARAM` - parameter setting; `INITIAL` - initialize the cloud database instance; `REBOOT` - restarts the cloud database instance; `OPEN GTID` - open the cloud database instance GTID; `UPGRADE RO` - read-only instance upgrade; `BATCH ROLLBACK` - database batch rollback; `UPGRADE MASTER` - master upgrade; `DROP TABLES` - delete cloud database tables; `SWITCH DR TO MASTER` - The disaster recovery instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#task_types DataTencentcloudMysqlUserTask#task_types} */ readonly taskTypes?: string[]; } export interface DataTencentcloudMysqlUserTaskItems { } export declare function dataTencentcloudMysqlUserTaskItemsToTerraform(struct?: DataTencentcloudMysqlUserTaskItems): any; export declare function dataTencentcloudMysqlUserTaskItemsToHclTerraform(struct?: DataTencentcloudMysqlUserTaskItems): any; export declare class DataTencentcloudMysqlUserTaskItemsOutputReference 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(): DataTencentcloudMysqlUserTaskItems | undefined; set internalValue(value: DataTencentcloudMysqlUserTaskItems | undefined); get asyncRequestId(): any; get code(): any; get endTime(): any; get instanceIds(): any; get jobId(): any; get message(): any; get progress(): any; get startTime(): any; get taskStatus(): any; get taskType(): any; } export declare class DataTencentcloudMysqlUserTaskItemsList 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): DataTencentcloudMysqlUserTaskItemsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task tencentcloud_mysql_user_task} */ export declare class DataTencentcloudMysqlUserTask extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_mysql_user_task"; /** * Generates CDKTF code for importing a DataTencentcloudMysqlUserTask 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 DataTencentcloudMysqlUserTask to import * @param importFromId The id of the existing DataTencentcloudMysqlUserTask that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_user_task#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudMysqlUserTask 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/mysql_user_task tencentcloud_mysql_user_task} 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 DataTencentcloudMysqlUserTaskConfig = {} */ constructor(scope: Construct, id: string, config?: DataTencentcloudMysqlUserTaskConfig); private _asyncRequestId?; get asyncRequestId(): string; set asyncRequestId(value: string); resetAsyncRequestId(): void; get asyncRequestIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); resetInstanceId(): void; get instanceIdInput(): string; private _items; get items(): DataTencentcloudMysqlUserTaskItemsList; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _startTimeBegin?; get startTimeBegin(): string; set startTimeBegin(value: string); resetStartTimeBegin(): void; get startTimeBeginInput(): string; private _startTimeEnd?; get startTimeEnd(): string; set startTimeEnd(value: string); resetStartTimeEnd(): void; get startTimeEndInput(): string; private _taskStatus?; get taskStatus(): string[]; set taskStatus(value: string[]); resetTaskStatus(): void; get taskStatusInput(): string[]; private _taskTypes?; get taskTypes(): string[]; set taskTypes(value: string[]); resetTaskTypes(): void; get taskTypesInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }