import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WedataAddCalcEnginesToProjectOperationConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#id WedataAddCalcEnginesToProjectOperation#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; /** * Project ID to be modified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#project_id WedataAddCalcEnginesToProjectOperation#project_id} */ readonly projectId: string; /** * dlc_info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#dlc_info WedataAddCalcEnginesToProjectOperation#dlc_info} */ readonly dlcInfo: WedataAddCalcEnginesToProjectOperationDlcInfo[] | cdktf.IResolvable; } export interface WedataAddCalcEnginesToProjectOperationDlcInfo { /** * Access account (only effective for standard mode projects and required for standard mode), used to submit DLC tasks. * It is recommended to use a specified sub-account and set corresponding database table permissions for the sub-account; task runner mode may cause task failures when the responsible person leaves; main account mode is not easy for permission control when multiple projects have different permissions. * * Enum values: * - TASK_RUNNER (Task Runner) * - OWNER (Main Account Mode) * - SUB (Sub-Account Mode). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#access_account WedataAddCalcEnginesToProjectOperation#access_account} */ readonly accessAccount?: string; /** * DLC resource names (need to add role Uin to DLC, otherwise resources may not be available). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#compute_resources WedataAddCalcEnginesToProjectOperation#compute_resources} */ readonly computeResources: string[]; /** * Specify the default database for the DLC cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#default_database WedataAddCalcEnginesToProjectOperation#default_database} */ readonly defaultDatabase: string; /** * DLC region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#region WedataAddCalcEnginesToProjectOperation#region} */ readonly region: string; /** * Cluster configuration tag (only effective for standard mode projects and required for standard mode). Enum values: * - Prod (Production environment) * - Dev (Development environment). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#standard_mode_env_tag WedataAddCalcEnginesToProjectOperation#standard_mode_env_tag} */ readonly standardModeEnvTag?: string; /** * Sub-account ID (only effective for standard mode projects), when AccessAccount is in sub-account mode, the sub-account ID information needs to be specified, other modes do not need to be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#sub_account_uin WedataAddCalcEnginesToProjectOperation#sub_account_uin} */ readonly subAccountUin?: string; } export declare function wedataAddCalcEnginesToProjectOperationDlcInfoToTerraform(struct?: WedataAddCalcEnginesToProjectOperationDlcInfo | cdktf.IResolvable): any; export declare function wedataAddCalcEnginesToProjectOperationDlcInfoToHclTerraform(struct?: WedataAddCalcEnginesToProjectOperationDlcInfo | cdktf.IResolvable): any; export declare class WedataAddCalcEnginesToProjectOperationDlcInfoOutputReference 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(): WedataAddCalcEnginesToProjectOperationDlcInfo | cdktf.IResolvable | undefined; set internalValue(value: WedataAddCalcEnginesToProjectOperationDlcInfo | cdktf.IResolvable | undefined); private _accessAccount?; get accessAccount(): string; set accessAccount(value: string); resetAccessAccount(): void; get accessAccountInput(): string; private _computeResources?; get computeResources(): string[]; set computeResources(value: string[]); get computeResourcesInput(): string[]; private _defaultDatabase?; get defaultDatabase(): string; set defaultDatabase(value: string); get defaultDatabaseInput(): string; private _region?; get region(): string; set region(value: string); get regionInput(): string; private _standardModeEnvTag?; get standardModeEnvTag(): string; set standardModeEnvTag(value: string); resetStandardModeEnvTag(): void; get standardModeEnvTagInput(): string; private _subAccountUin?; get subAccountUin(): string; set subAccountUin(value: string); resetSubAccountUin(): void; get subAccountUinInput(): string; } export declare class WedataAddCalcEnginesToProjectOperationDlcInfoList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: WedataAddCalcEnginesToProjectOperationDlcInfo[] | 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): WedataAddCalcEnginesToProjectOperationDlcInfoOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation tencentcloud_wedata_add_calc_engines_to_project_operation} */ export declare class WedataAddCalcEnginesToProjectOperation extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_wedata_add_calc_engines_to_project_operation"; /** * Generates CDKTF code for importing a WedataAddCalcEnginesToProjectOperation 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 WedataAddCalcEnginesToProjectOperation to import * @param importFromId The id of the existing WedataAddCalcEnginesToProjectOperation that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/wedata_add_calc_engines_to_project_operation#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WedataAddCalcEnginesToProjectOperation 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/wedata_add_calc_engines_to_project_operation tencentcloud_wedata_add_calc_engines_to_project_operation} 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 WedataAddCalcEnginesToProjectOperationConfig */ constructor(scope: Construct, id: string, config: WedataAddCalcEnginesToProjectOperationConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _projectId?; get projectId(): string; set projectId(value: string); get projectIdInput(): string; private _dlcInfo; get dlcInfo(): WedataAddCalcEnginesToProjectOperationDlcInfoList; putDlcInfo(value: WedataAddCalcEnginesToProjectOperationDlcInfo[] | cdktf.IResolvable): void; get dlcInfoInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }