import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DtsMigrateJobConfig extends cdktf.TerraformMetaArguments { /** * The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#auto_retry_time_range_minutes DtsMigrateJob#auto_retry_time_range_minutes} */ readonly autoRetryTimeRangeMinutes?: number; /** * Expected start time in the format of `2006-01-02 15:04:05`, which is required if RunMode is timed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#expect_run_time DtsMigrateJob#expect_run_time} */ readonly expectRunTime?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#id DtsMigrateJob#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; /** * Running mode. Valid values: immediate, timed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#run_mode DtsMigrateJob#run_mode} */ readonly runMode: string; /** * Migrate service Id from `tencentcloud_dts_migrate_service`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#service_id DtsMigrateJob#service_id} */ readonly serviceId: string; /** * dst_info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#dst_info DtsMigrateJob#dst_info} */ readonly dstInfo: DtsMigrateJobDstInfo; /** * migrate_option block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#migrate_option DtsMigrateJob#migrate_option} */ readonly migrateOption: DtsMigrateJobMigrateOption; /** * src_info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#src_info DtsMigrateJob#src_info} */ readonly srcInfo: DtsMigrateJobSrcInfo; } export interface DtsMigrateJobDstInfoExtraAttr { /** * Option key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#key DtsMigrateJob#key} */ readonly key?: string; /** * Option value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#value DtsMigrateJob#value} */ readonly value?: string; } export declare function dtsMigrateJobDstInfoExtraAttrToTerraform(struct?: DtsMigrateJobDstInfoExtraAttr | cdktf.IResolvable): any; export declare function dtsMigrateJobDstInfoExtraAttrToHclTerraform(struct?: DtsMigrateJobDstInfoExtraAttr | cdktf.IResolvable): any; export declare class DtsMigrateJobDstInfoExtraAttrOutputReference 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(): DtsMigrateJobDstInfoExtraAttr | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobDstInfoExtraAttr | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); resetKey(): void; get keyInput(): string; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string; } export declare class DtsMigrateJobDstInfoExtraAttrList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobDstInfoExtraAttr[] | 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): DtsMigrateJobDstInfoExtraAttrOutputReference; } export interface DtsMigrateJobDstInfoInfo { /** * Instance account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#account DtsMigrateJob#account} */ readonly account?: string; /** * The account to which the resource belongs. Valid values: empty or self (the current account); other (another account). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#account_mode DtsMigrateJob#account_mode} */ readonly accountMode?: string; /** * The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#account_role DtsMigrateJob#account_role} */ readonly accountRole?: string; /** * CCN instance ID such as ccn-afp6kltc. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#ccn_gw_id DtsMigrateJob#ccn_gw_id} */ readonly ccnGwId?: string; /** * Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#cvm_instance_id DtsMigrateJob#cvm_instance_id} */ readonly cvmInstanceId?: string; /** * Kernel version, such as the different kernel versions of MariaDB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#db_kernel DtsMigrateJob#db_kernel} */ readonly dbKernel?: string; /** * Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#engine_version DtsMigrateJob#engine_version} */ readonly engineVersion?: string; /** * Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#host DtsMigrateJob#host} */ readonly host?: string; /** * Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#instance_id DtsMigrateJob#instance_id} */ readonly instanceId?: string; /** * Instance password. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#password DtsMigrateJob#password} */ readonly password?: string; /** * Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#port DtsMigrateJob#port} */ readonly port?: number; /** * Node role in a distributed database, such as the mongos node in MongoDB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#role DtsMigrateJob#role} */ readonly role?: string; /** * ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#subnet_id DtsMigrateJob#subnet_id} */ readonly subnetId?: string; /** * Temporary SecretId, you can obtain the temporary key by GetFederationToken. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tmp_secret_id DtsMigrateJob#tmp_secret_id} */ readonly tmpSecretId?: string; /** * Temporary SecretKey, you can obtain the temporary key by GetFederationToken. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tmp_secret_key DtsMigrateJob#tmp_secret_key} */ readonly tmpSecretKey?: string; /** * Temporary token, you can obtain the temporary key by GetFederationToken. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tmp_token DtsMigrateJob#tmp_token} */ readonly tmpToken?: string; /** * Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#uniq_dcg_id DtsMigrateJob#uniq_dcg_id} */ readonly uniqDcgId?: string; /** * VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#uniq_vpn_gw_id DtsMigrateJob#uniq_vpn_gw_id} */ readonly uniqVpnGwId?: string; /** * Instance username. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#user DtsMigrateJob#user} */ readonly user?: string; /** * VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#vpc_id DtsMigrateJob#vpc_id} */ readonly vpcId?: string; } export declare function dtsMigrateJobDstInfoInfoToTerraform(struct?: DtsMigrateJobDstInfoInfo | cdktf.IResolvable): any; export declare function dtsMigrateJobDstInfoInfoToHclTerraform(struct?: DtsMigrateJobDstInfoInfo | cdktf.IResolvable): any; export declare class DtsMigrateJobDstInfoInfoOutputReference 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(): DtsMigrateJobDstInfoInfo | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobDstInfoInfo | cdktf.IResolvable | undefined); private _account?; get account(): string; set account(value: string); resetAccount(): void; get accountInput(): string; private _accountMode?; get accountMode(): string; set accountMode(value: string); resetAccountMode(): void; get accountModeInput(): string; private _accountRole?; get accountRole(): string; set accountRole(value: string); resetAccountRole(): void; get accountRoleInput(): string; private _ccnGwId?; get ccnGwId(): string; set ccnGwId(value: string); resetCcnGwId(): void; get ccnGwIdInput(): string; private _cvmInstanceId?; get cvmInstanceId(): string; set cvmInstanceId(value: string); resetCvmInstanceId(): void; get cvmInstanceIdInput(): string; private _dbKernel?; get dbKernel(): string; set dbKernel(value: string); resetDbKernel(): void; get dbKernelInput(): string; private _engineVersion?; get engineVersion(): string; set engineVersion(value: string); resetEngineVersion(): void; get engineVersionInput(): string; private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); resetInstanceId(): void; get instanceIdInput(): string; private _password?; get password(): string; set password(value: string); resetPassword(): void; get passwordInput(): string; private _port?; get port(): number; set port(value: number); resetPort(): void; get portInput(): number; private _role?; get role(): string; set role(value: string); resetRole(): void; get roleInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _tmpSecretId?; get tmpSecretId(): string; set tmpSecretId(value: string); resetTmpSecretId(): void; get tmpSecretIdInput(): string; private _tmpSecretKey?; get tmpSecretKey(): string; set tmpSecretKey(value: string); resetTmpSecretKey(): void; get tmpSecretKeyInput(): string; private _tmpToken?; get tmpToken(): string; set tmpToken(value: string); resetTmpToken(): void; get tmpTokenInput(): string; private _uniqDcgId?; get uniqDcgId(): string; set uniqDcgId(value: string); resetUniqDcgId(): void; get uniqDcgIdInput(): string; private _uniqVpnGwId?; get uniqVpnGwId(): string; set uniqVpnGwId(value: string); resetUniqVpnGwId(): void; get uniqVpnGwIdInput(): string; private _user?; get user(): string; set user(value: string); resetUser(): void; get userInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; } export declare class DtsMigrateJobDstInfoInfoList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobDstInfoInfo[] | 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): DtsMigrateJobDstInfoInfoOutputReference; } export interface DtsMigrateJobDstInfo { /** * Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#access_type DtsMigrateJob#access_type} */ readonly accessType: string; /** * Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#database_type DtsMigrateJob#database_type} */ readonly databaseType: string; /** * Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#node_type DtsMigrateJob#node_type} */ readonly nodeType: string; /** * Instance region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#region DtsMigrateJob#region} */ readonly region: string; /** * Instance service provider, such as `aliyun` and `others`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#supplier DtsMigrateJob#supplier} */ readonly supplier?: string; /** * extra_attr block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#extra_attr DtsMigrateJob#extra_attr} */ readonly extraAttr?: DtsMigrateJobDstInfoExtraAttr[] | cdktf.IResolvable; /** * info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#info DtsMigrateJob#info} */ readonly info: DtsMigrateJobDstInfoInfo[] | cdktf.IResolvable; } export declare function dtsMigrateJobDstInfoToTerraform(struct?: DtsMigrateJobDstInfoOutputReference | DtsMigrateJobDstInfo): any; export declare function dtsMigrateJobDstInfoToHclTerraform(struct?: DtsMigrateJobDstInfoOutputReference | DtsMigrateJobDstInfo): any; export declare class DtsMigrateJobDstInfoOutputReference 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(): DtsMigrateJobDstInfo | undefined; set internalValue(value: DtsMigrateJobDstInfo | undefined); private _accessType?; get accessType(): string; set accessType(value: string); get accessTypeInput(): string; private _databaseType?; get databaseType(): string; set databaseType(value: string); get databaseTypeInput(): string; private _nodeType?; get nodeType(): string; set nodeType(value: string); get nodeTypeInput(): string; private _region?; get region(): string; set region(value: string); get regionInput(): string; private _supplier?; get supplier(): string; set supplier(value: string); resetSupplier(): void; get supplierInput(): string; private _extraAttr; get extraAttr(): DtsMigrateJobDstInfoExtraAttrList; putExtraAttr(value: DtsMigrateJobDstInfoExtraAttr[] | cdktf.IResolvable): void; resetExtraAttr(): void; get extraAttrInput(): any; private _info; get info(): DtsMigrateJobDstInfoInfoList; putInfo(value: DtsMigrateJobDstInfoInfo[] | cdktf.IResolvable): void; get infoInput(): any; } export interface DtsMigrateJobMigrateOptionConsistency { /** * Data consistency check type. Valid values: full, noCheck, notConfigured. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#mode DtsMigrateJob#mode} */ readonly mode?: string; } export declare function dtsMigrateJobMigrateOptionConsistencyToTerraform(struct?: DtsMigrateJobMigrateOptionConsistencyOutputReference | DtsMigrateJobMigrateOptionConsistency): any; export declare function dtsMigrateJobMigrateOptionConsistencyToHclTerraform(struct?: DtsMigrateJobMigrateOptionConsistencyOutputReference | DtsMigrateJobMigrateOptionConsistency): any; export declare class DtsMigrateJobMigrateOptionConsistencyOutputReference 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(): DtsMigrateJobMigrateOptionConsistency | undefined; set internalValue(value: DtsMigrateJobMigrateOptionConsistency | undefined); private _mode?; get mode(): string; set mode(value: string); resetMode(): void; get modeInput(): string; } export interface DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles { /** * Role name after migration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#new_role_name DtsMigrateJob#new_role_name} */ readonly newRoleName?: string; /** * Role name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#role_name DtsMigrateJob#role_name} */ readonly roleName?: string; } export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesRolesToTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles | cdktf.IResolvable): any; export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesRolesToHclTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles | cdktf.IResolvable): any; export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesRolesOutputReference 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(): DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles | cdktf.IResolvable | undefined); private _newRoleName?; get newRoleName(): string; set newRoleName(value: string); resetNewRoleName(): void; get newRoleNameInput(): string; private _roleName?; get roleName(): string; set roleName(value: string); resetRoleName(): void; get roleNameInput(): string; } export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesRolesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles[] | 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): DtsMigrateJobMigrateOptionDatabaseTableDatabasesRolesOutputReference; } export interface DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables { /** * New name of the migrated table. This parameter is required when TableEditMode is rename. It is mutually exclusive with TmpTables.. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#new_table_name DtsMigrateJob#new_table_name} */ readonly newTableName?: string; /** * Table editing type. Valid values: rename (table mapping); pt (additional table sync). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#table_edit_mode DtsMigrateJob#table_edit_mode} */ readonly tableEditMode?: string; /** * Name of the migrated table, which is case-sensitive. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#table_name DtsMigrateJob#table_name} */ readonly tableName?: string; /** * The temp tables to be migrated. This parameter is mutually exclusive with NewTableName. It is valid only when the configured migration objects are table-level ones and TableEditMode is pt. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named 't1', configure this parameter as ['_t1_new','_t1_old']; to perform the gh-ost operation on t1, configure it as ['_t1_ghc','_t1_gho','_t1_del']. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tmp_tables DtsMigrateJob#tmp_tables} */ readonly tmpTables?: string[]; } export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesTablesToTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables | cdktf.IResolvable): any; export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesTablesToHclTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables | cdktf.IResolvable): any; export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesTablesOutputReference 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(): DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables | cdktf.IResolvable | undefined); private _newTableName?; get newTableName(): string; set newTableName(value: string); resetNewTableName(): void; get newTableNameInput(): string; private _tableEditMode?; get tableEditMode(): string; set tableEditMode(value: string); resetTableEditMode(): void; get tableEditModeInput(): string; private _tableName?; get tableName(): string; set tableName(value: string); resetTableName(): void; get tableNameInput(): string; private _tmpTables?; get tmpTables(): string[]; set tmpTables(value: string[]); resetTmpTables(): void; get tmpTablesInput(): string[]; } export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesTablesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables[] | 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): DtsMigrateJobMigrateOptionDatabaseTableDatabasesTablesOutputReference; } export interface DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews { /** * View name after migration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#new_view_name DtsMigrateJob#new_view_name} */ readonly newViewName?: string; /** * View name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#view_name DtsMigrateJob#view_name} */ readonly viewName?: string; } export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesViewsToTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews | cdktf.IResolvable): any; export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesViewsToHclTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews | cdktf.IResolvable): any; export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesViewsOutputReference 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(): DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews | cdktf.IResolvable | undefined); private _newViewName?; get newViewName(): string; set newViewName(value: string); resetNewViewName(): void; get newViewNameInput(): string; private _viewName?; get viewName(): string; set viewName(value: string); resetViewName(): void; get viewNameInput(): string; } export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesViewsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews[] | 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): DtsMigrateJobMigrateOptionDatabaseTableDatabasesViewsOutputReference; } export interface DtsMigrateJobMigrateOptionDatabaseTableDatabases { /** * Database selection mode, which is required if ObjectMode is partial. Valid values: all, partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#db_mode DtsMigrateJob#db_mode} */ readonly dbMode?: string; /** * Name of the database to be migrated or synced, which is required if ObjectMode is partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#db_name DtsMigrateJob#db_name} */ readonly dbName?: string; /** * Sync mode. Valid values: partial, all. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#event_mode DtsMigrateJob#event_mode} */ readonly eventMode?: string; /** * This parameter is required if EventMode is partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#events DtsMigrateJob#events} */ readonly events?: string[]; /** * Sync mode. Valid values: partial, all. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#function_mode DtsMigrateJob#function_mode} */ readonly functionMode?: string; /** * This parameter is required if FunctionMode is partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#functions DtsMigrateJob#functions} */ readonly functions?: string[]; /** * Name of the database after migration or sync, which is the same as the source database name by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#new_db_name DtsMigrateJob#new_db_name} */ readonly newDbName?: string; /** * Name of the schema after migration or sync. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#new_schema_name DtsMigrateJob#new_schema_name} */ readonly newSchemaName?: string; /** * Sync mode. Valid values: partial, all. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#procedure_mode DtsMigrateJob#procedure_mode} */ readonly procedureMode?: string; /** * This parameter is required if ProcedureMode is partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#procedures DtsMigrateJob#procedures} */ readonly procedures?: string[]; /** * Role selection mode, which is exclusive to PostgreSQL. Valid values: all, partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#role_mode DtsMigrateJob#role_mode} */ readonly roleMode?: string; /** * Schema selection mode. Valid values: all, partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#schema_mode DtsMigrateJob#schema_mode} */ readonly schemaMode?: string; /** * The schema to be migrated or synced. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#schema_name DtsMigrateJob#schema_name} */ readonly schemaName?: string; /** * Table selection mode, which is required if DBMode is partial. Valid values: all, partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#table_mode DtsMigrateJob#table_mode} */ readonly tableMode?: string; /** * Sync mode. Valid values: partial, all. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#trigger_mode DtsMigrateJob#trigger_mode} */ readonly triggerMode?: string; /** * This parameter is required if TriggerMode is partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#triggers DtsMigrateJob#triggers} */ readonly triggers?: string[]; /** * View selection mode. Valid values: all, partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#view_mode DtsMigrateJob#view_mode} */ readonly viewMode?: string; /** * roles block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#roles DtsMigrateJob#roles} */ readonly roles?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles[] | cdktf.IResolvable; /** * tables block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tables DtsMigrateJob#tables} */ readonly tables?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables[] | cdktf.IResolvable; /** * views block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#views DtsMigrateJob#views} */ readonly views?: DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews[] | cdktf.IResolvable; } export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesToTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabases | cdktf.IResolvable): any; export declare function dtsMigrateJobMigrateOptionDatabaseTableDatabasesToHclTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableDatabases | cdktf.IResolvable): any; export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesOutputReference 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(): DtsMigrateJobMigrateOptionDatabaseTableDatabases | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobMigrateOptionDatabaseTableDatabases | cdktf.IResolvable | undefined); private _dbMode?; get dbMode(): string; set dbMode(value: string); resetDbMode(): void; get dbModeInput(): string; private _dbName?; get dbName(): string; set dbName(value: string); resetDbName(): void; get dbNameInput(): string; private _eventMode?; get eventMode(): string; set eventMode(value: string); resetEventMode(): void; get eventModeInput(): string; private _events?; get events(): string[]; set events(value: string[]); resetEvents(): void; get eventsInput(): string[]; private _functionMode?; get functionMode(): string; set functionMode(value: string); resetFunctionMode(): void; get functionModeInput(): string; private _functions?; get functions(): string[]; set functions(value: string[]); resetFunctions(): void; get functionsInput(): string[]; private _newDbName?; get newDbName(): string; set newDbName(value: string); resetNewDbName(): void; get newDbNameInput(): string; private _newSchemaName?; get newSchemaName(): string; set newSchemaName(value: string); resetNewSchemaName(): void; get newSchemaNameInput(): string; private _procedureMode?; get procedureMode(): string; set procedureMode(value: string); resetProcedureMode(): void; get procedureModeInput(): string; private _procedures?; get procedures(): string[]; set procedures(value: string[]); resetProcedures(): void; get proceduresInput(): string[]; private _roleMode?; get roleMode(): string; set roleMode(value: string); resetRoleMode(): void; get roleModeInput(): string; private _schemaMode?; get schemaMode(): string; set schemaMode(value: string); resetSchemaMode(): void; get schemaModeInput(): string; private _schemaName?; get schemaName(): string; set schemaName(value: string); resetSchemaName(): void; get schemaNameInput(): string; private _tableMode?; get tableMode(): string; set tableMode(value: string); resetTableMode(): void; get tableModeInput(): string; private _triggerMode?; get triggerMode(): string; set triggerMode(value: string); resetTriggerMode(): void; get triggerModeInput(): string; private _triggers?; get triggers(): string[]; set triggers(value: string[]); resetTriggers(): void; get triggersInput(): string[]; private _viewMode?; get viewMode(): string; set viewMode(value: string); resetViewMode(): void; get viewModeInput(): string; private _roles; get roles(): DtsMigrateJobMigrateOptionDatabaseTableDatabasesRolesList; putRoles(value: DtsMigrateJobMigrateOptionDatabaseTableDatabasesRoles[] | cdktf.IResolvable): void; resetRoles(): void; get rolesInput(): any; private _tables; get tables(): DtsMigrateJobMigrateOptionDatabaseTableDatabasesTablesList; putTables(value: DtsMigrateJobMigrateOptionDatabaseTableDatabasesTables[] | cdktf.IResolvable): void; resetTables(): void; get tablesInput(): any; private _views; get views(): DtsMigrateJobMigrateOptionDatabaseTableDatabasesViewsList; putViews(value: DtsMigrateJobMigrateOptionDatabaseTableDatabasesViews[] | cdktf.IResolvable): void; resetViews(): void; get viewsInput(): any; } export declare class DtsMigrateJobMigrateOptionDatabaseTableDatabasesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobMigrateOptionDatabaseTableDatabases[] | 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): DtsMigrateJobMigrateOptionDatabaseTableDatabasesOutputReference; } export interface DtsMigrateJobMigrateOptionDatabaseTable { /** * Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#advanced_objects DtsMigrateJob#advanced_objects} */ readonly advancedObjects?: string[]; /** * Migration object type. Valid values: all, partial. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#object_mode DtsMigrateJob#object_mode} */ readonly objectMode: string; /** * databases block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#databases DtsMigrateJob#databases} */ readonly databases?: DtsMigrateJobMigrateOptionDatabaseTableDatabases[] | cdktf.IResolvable; } export declare function dtsMigrateJobMigrateOptionDatabaseTableToTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableOutputReference | DtsMigrateJobMigrateOptionDatabaseTable): any; export declare function dtsMigrateJobMigrateOptionDatabaseTableToHclTerraform(struct?: DtsMigrateJobMigrateOptionDatabaseTableOutputReference | DtsMigrateJobMigrateOptionDatabaseTable): any; export declare class DtsMigrateJobMigrateOptionDatabaseTableOutputReference 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(): DtsMigrateJobMigrateOptionDatabaseTable | undefined; set internalValue(value: DtsMigrateJobMigrateOptionDatabaseTable | undefined); private _advancedObjects?; get advancedObjects(): string[]; set advancedObjects(value: string[]); resetAdvancedObjects(): void; get advancedObjectsInput(): string[]; private _objectMode?; get objectMode(): string; set objectMode(value: string); get objectModeInput(): string; private _databases; get databases(): DtsMigrateJobMigrateOptionDatabaseTableDatabasesList; putDatabases(value: DtsMigrateJobMigrateOptionDatabaseTableDatabases[] | cdktf.IResolvable): void; resetDatabases(): void; get databasesInput(): any; } export interface DtsMigrateJobMigrateOptionExtraAttr { /** * Option key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#key DtsMigrateJob#key} */ readonly key?: string; /** * Option value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#value DtsMigrateJob#value} */ readonly value?: string; } export declare function dtsMigrateJobMigrateOptionExtraAttrToTerraform(struct?: DtsMigrateJobMigrateOptionExtraAttr | cdktf.IResolvable): any; export declare function dtsMigrateJobMigrateOptionExtraAttrToHclTerraform(struct?: DtsMigrateJobMigrateOptionExtraAttr | cdktf.IResolvable): any; export declare class DtsMigrateJobMigrateOptionExtraAttrOutputReference 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(): DtsMigrateJobMigrateOptionExtraAttr | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobMigrateOptionExtraAttr | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); resetKey(): void; get keyInput(): string; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string; } export declare class DtsMigrateJobMigrateOptionExtraAttrList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobMigrateOptionExtraAttr[] | 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): DtsMigrateJobMigrateOptionExtraAttrOutputReference; } export interface DtsMigrateJobMigrateOption { /** * Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: true, false. Default value: false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#is_dst_read_only DtsMigrateJob#is_dst_read_only} */ readonly isDstReadOnly?: boolean | cdktf.IResolvable; /** * Whether to migrate accounts. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#is_migrate_account DtsMigrateJob#is_migrate_account} */ readonly isMigrateAccount?: boolean | cdktf.IResolvable; /** * Whether to use the Root account in the source database to overwrite that in the target database. Valid values: false, true. For database/table or structural migration, you should specify false. Note that this parameter takes effect only for OldDTS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#is_override_root DtsMigrateJob#is_override_root} */ readonly isOverrideRoot?: boolean | cdktf.IResolvable; /** * Migration type. Valid values: full, structure, fullAndIncrement. Default value: fullAndIncrement. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#migrate_type DtsMigrateJob#migrate_type} */ readonly migrateType?: string; /** * consistency block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#consistency DtsMigrateJob#consistency} */ readonly consistency?: DtsMigrateJobMigrateOptionConsistency; /** * database_table block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#database_table DtsMigrateJob#database_table} */ readonly databaseTable: DtsMigrateJobMigrateOptionDatabaseTable; /** * extra_attr block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#extra_attr DtsMigrateJob#extra_attr} */ readonly extraAttr?: DtsMigrateJobMigrateOptionExtraAttr[] | cdktf.IResolvable; } export declare function dtsMigrateJobMigrateOptionToTerraform(struct?: DtsMigrateJobMigrateOptionOutputReference | DtsMigrateJobMigrateOption): any; export declare function dtsMigrateJobMigrateOptionToHclTerraform(struct?: DtsMigrateJobMigrateOptionOutputReference | DtsMigrateJobMigrateOption): any; export declare class DtsMigrateJobMigrateOptionOutputReference 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(): DtsMigrateJobMigrateOption | undefined; set internalValue(value: DtsMigrateJobMigrateOption | undefined); private _isDstReadOnly?; get isDstReadOnly(): boolean | cdktf.IResolvable; set isDstReadOnly(value: boolean | cdktf.IResolvable); resetIsDstReadOnly(): void; get isDstReadOnlyInput(): any; private _isMigrateAccount?; get isMigrateAccount(): boolean | cdktf.IResolvable; set isMigrateAccount(value: boolean | cdktf.IResolvable); resetIsMigrateAccount(): void; get isMigrateAccountInput(): any; private _isOverrideRoot?; get isOverrideRoot(): boolean | cdktf.IResolvable; set isOverrideRoot(value: boolean | cdktf.IResolvable); resetIsOverrideRoot(): void; get isOverrideRootInput(): any; private _migrateType?; get migrateType(): string; set migrateType(value: string); resetMigrateType(): void; get migrateTypeInput(): string; private _consistency; get consistency(): DtsMigrateJobMigrateOptionConsistencyOutputReference; putConsistency(value: DtsMigrateJobMigrateOptionConsistency): void; resetConsistency(): void; get consistencyInput(): DtsMigrateJobMigrateOptionConsistency; private _databaseTable; get databaseTable(): DtsMigrateJobMigrateOptionDatabaseTableOutputReference; putDatabaseTable(value: DtsMigrateJobMigrateOptionDatabaseTable): void; get databaseTableInput(): DtsMigrateJobMigrateOptionDatabaseTable; private _extraAttr; get extraAttr(): DtsMigrateJobMigrateOptionExtraAttrList; putExtraAttr(value: DtsMigrateJobMigrateOptionExtraAttr[] | cdktf.IResolvable): void; resetExtraAttr(): void; get extraAttrInput(): any; } export interface DtsMigrateJobSrcInfoExtraAttr { /** * Option key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#key DtsMigrateJob#key} */ readonly key?: string; /** * Option value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#value DtsMigrateJob#value} */ readonly value?: string; } export declare function dtsMigrateJobSrcInfoExtraAttrToTerraform(struct?: DtsMigrateJobSrcInfoExtraAttr | cdktf.IResolvable): any; export declare function dtsMigrateJobSrcInfoExtraAttrToHclTerraform(struct?: DtsMigrateJobSrcInfoExtraAttr | cdktf.IResolvable): any; export declare class DtsMigrateJobSrcInfoExtraAttrOutputReference 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(): DtsMigrateJobSrcInfoExtraAttr | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobSrcInfoExtraAttr | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); resetKey(): void; get keyInput(): string; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string; } export declare class DtsMigrateJobSrcInfoExtraAttrList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobSrcInfoExtraAttr[] | 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): DtsMigrateJobSrcInfoExtraAttrOutputReference; } export interface DtsMigrateJobSrcInfoInfo { /** * Instance account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#account DtsMigrateJob#account} */ readonly account?: string; /** * The account to which the resource belongs. Valid values: empty or self (the current account); other (another account). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#account_mode DtsMigrateJob#account_mode} */ readonly accountMode?: string; /** * The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#account_role DtsMigrateJob#account_role} */ readonly accountRole?: string; /** * CCN instance ID such as ccn-afp6kltc. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#ccn_gw_id DtsMigrateJob#ccn_gw_id} */ readonly ccnGwId?: string; /** * Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#cvm_instance_id DtsMigrateJob#cvm_instance_id} */ readonly cvmInstanceId?: string; /** * Kernel version, such as the different kernel versions of MariaDB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#db_kernel DtsMigrateJob#db_kernel} */ readonly dbKernel?: string; /** * Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#engine_version DtsMigrateJob#engine_version} */ readonly engineVersion?: string; /** * Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#host DtsMigrateJob#host} */ readonly host?: string; /** * Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#instance_id DtsMigrateJob#instance_id} */ readonly instanceId?: string; /** * Instance password. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#password DtsMigrateJob#password} */ readonly password?: string; /** * Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#port DtsMigrateJob#port} */ readonly port?: number; /** * Node role in a distributed database, such as the mongos node in MongoDB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#role DtsMigrateJob#role} */ readonly role?: string; /** * ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#subnet_id DtsMigrateJob#subnet_id} */ readonly subnetId?: string; /** * Temporary SecretId, you can obtain the temporary key by GetFederationToken. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tmp_secret_id DtsMigrateJob#tmp_secret_id} */ readonly tmpSecretId?: string; /** * Temporary SecretKey, you can obtain the temporary key by GetFederationToken. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tmp_secret_key DtsMigrateJob#tmp_secret_key} */ readonly tmpSecretKey?: string; /** * Temporary token, you can obtain the temporary key by GetFederationToken. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#tmp_token DtsMigrateJob#tmp_token} */ readonly tmpToken?: string; /** * Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#uniq_dcg_id DtsMigrateJob#uniq_dcg_id} */ readonly uniqDcgId?: string; /** * VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#uniq_vpn_gw_id DtsMigrateJob#uniq_vpn_gw_id} */ readonly uniqVpnGwId?: string; /** * Instance username. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#user DtsMigrateJob#user} */ readonly user?: string; /** * VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#vpc_id DtsMigrateJob#vpc_id} */ readonly vpcId?: string; } export declare function dtsMigrateJobSrcInfoInfoToTerraform(struct?: DtsMigrateJobSrcInfoInfo | cdktf.IResolvable): any; export declare function dtsMigrateJobSrcInfoInfoToHclTerraform(struct?: DtsMigrateJobSrcInfoInfo | cdktf.IResolvable): any; export declare class DtsMigrateJobSrcInfoInfoOutputReference 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(): DtsMigrateJobSrcInfoInfo | cdktf.IResolvable | undefined; set internalValue(value: DtsMigrateJobSrcInfoInfo | cdktf.IResolvable | undefined); private _account?; get account(): string; set account(value: string); resetAccount(): void; get accountInput(): string; private _accountMode?; get accountMode(): string; set accountMode(value: string); resetAccountMode(): void; get accountModeInput(): string; private _accountRole?; get accountRole(): string; set accountRole(value: string); resetAccountRole(): void; get accountRoleInput(): string; private _ccnGwId?; get ccnGwId(): string; set ccnGwId(value: string); resetCcnGwId(): void; get ccnGwIdInput(): string; private _cvmInstanceId?; get cvmInstanceId(): string; set cvmInstanceId(value: string); resetCvmInstanceId(): void; get cvmInstanceIdInput(): string; private _dbKernel?; get dbKernel(): string; set dbKernel(value: string); resetDbKernel(): void; get dbKernelInput(): string; private _engineVersion?; get engineVersion(): string; set engineVersion(value: string); resetEngineVersion(): void; get engineVersionInput(): string; private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); resetInstanceId(): void; get instanceIdInput(): string; private _password?; get password(): string; set password(value: string); resetPassword(): void; get passwordInput(): string; private _port?; get port(): number; set port(value: number); resetPort(): void; get portInput(): number; private _role?; get role(): string; set role(value: string); resetRole(): void; get roleInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _tmpSecretId?; get tmpSecretId(): string; set tmpSecretId(value: string); resetTmpSecretId(): void; get tmpSecretIdInput(): string; private _tmpSecretKey?; get tmpSecretKey(): string; set tmpSecretKey(value: string); resetTmpSecretKey(): void; get tmpSecretKeyInput(): string; private _tmpToken?; get tmpToken(): string; set tmpToken(value: string); resetTmpToken(): void; get tmpTokenInput(): string; private _uniqDcgId?; get uniqDcgId(): string; set uniqDcgId(value: string); resetUniqDcgId(): void; get uniqDcgIdInput(): string; private _uniqVpnGwId?; get uniqVpnGwId(): string; set uniqVpnGwId(value: string); resetUniqVpnGwId(): void; get uniqVpnGwIdInput(): string; private _user?; get user(): string; set user(value: string); resetUser(): void; get userInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; } export declare class DtsMigrateJobSrcInfoInfoList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DtsMigrateJobSrcInfoInfo[] | 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): DtsMigrateJobSrcInfoInfoOutputReference; } export interface DtsMigrateJobSrcInfo { /** * Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#access_type DtsMigrateJob#access_type} */ readonly accessType: string; /** * Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#database_type DtsMigrateJob#database_type} */ readonly databaseType: string; /** * Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#node_type DtsMigrateJob#node_type} */ readonly nodeType: string; /** * Instance region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#region DtsMigrateJob#region} */ readonly region: string; /** * Instance service provider, such as `aliyun` and `others`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#supplier DtsMigrateJob#supplier} */ readonly supplier?: string; /** * extra_attr block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#extra_attr DtsMigrateJob#extra_attr} */ readonly extraAttr?: DtsMigrateJobSrcInfoExtraAttr[] | cdktf.IResolvable; /** * info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#info DtsMigrateJob#info} */ readonly info: DtsMigrateJobSrcInfoInfo[] | cdktf.IResolvable; } export declare function dtsMigrateJobSrcInfoToTerraform(struct?: DtsMigrateJobSrcInfoOutputReference | DtsMigrateJobSrcInfo): any; export declare function dtsMigrateJobSrcInfoToHclTerraform(struct?: DtsMigrateJobSrcInfoOutputReference | DtsMigrateJobSrcInfo): any; export declare class DtsMigrateJobSrcInfoOutputReference 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(): DtsMigrateJobSrcInfo | undefined; set internalValue(value: DtsMigrateJobSrcInfo | undefined); private _accessType?; get accessType(): string; set accessType(value: string); get accessTypeInput(): string; private _databaseType?; get databaseType(): string; set databaseType(value: string); get databaseTypeInput(): string; private _nodeType?; get nodeType(): string; set nodeType(value: string); get nodeTypeInput(): string; private _region?; get region(): string; set region(value: string); get regionInput(): string; private _supplier?; get supplier(): string; set supplier(value: string); resetSupplier(): void; get supplierInput(): string; private _extraAttr; get extraAttr(): DtsMigrateJobSrcInfoExtraAttrList; putExtraAttr(value: DtsMigrateJobSrcInfoExtraAttr[] | cdktf.IResolvable): void; resetExtraAttr(): void; get extraAttrInput(): any; private _info; get info(): DtsMigrateJobSrcInfoInfoList; putInfo(value: DtsMigrateJobSrcInfoInfo[] | cdktf.IResolvable): void; get infoInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job tencentcloud_dts_migrate_job} */ export declare class DtsMigrateJob extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_dts_migrate_job"; /** * Generates CDKTF code for importing a DtsMigrateJob 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 DtsMigrateJob to import * @param importFromId The id of the existing DtsMigrateJob that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dts_migrate_job#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DtsMigrateJob 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/dts_migrate_job tencentcloud_dts_migrate_job} 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 DtsMigrateJobConfig */ constructor(scope: Construct, id: string, config: DtsMigrateJobConfig); private _autoRetryTimeRangeMinutes?; get autoRetryTimeRangeMinutes(): number; set autoRetryTimeRangeMinutes(value: number); resetAutoRetryTimeRangeMinutes(): void; get autoRetryTimeRangeMinutesInput(): number; private _expectRunTime?; get expectRunTime(): string; set expectRunTime(value: string); resetExpectRunTime(): void; get expectRunTimeInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _runMode?; get runMode(): string; set runMode(value: string); get runModeInput(): string; private _serviceId?; get serviceId(): string; set serviceId(value: string); get serviceIdInput(): string; get status(): any; private _dstInfo; get dstInfo(): DtsMigrateJobDstInfoOutputReference; putDstInfo(value: DtsMigrateJobDstInfo): void; get dstInfoInput(): DtsMigrateJobDstInfo; private _migrateOption; get migrateOption(): DtsMigrateJobMigrateOptionOutputReference; putMigrateOption(value: DtsMigrateJobMigrateOption): void; get migrateOptionInput(): DtsMigrateJobMigrateOption; private _srcInfo; get srcInfo(): DtsMigrateJobSrcInfoOutputReference; putSrcInfo(value: DtsMigrateJobSrcInfo): void; get srcInfoInput(): DtsMigrateJobSrcInfo; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }