import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CdhInstanceConfig extends cdktf.TerraformMetaArguments { /** * The available zone for the CDH instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#availability_zone CdhInstance#availability_zone} */ readonly availabilityZone: string; /** * The charge type of instance. Valid values are `PREPAID`. The default is `PREPAID`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#charge_type CdhInstance#charge_type} */ readonly chargeType?: string; /** * The name of the CDH instance. The max length of host_name is 60. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#host_name CdhInstance#host_name} */ readonly hostName?: string; /** * The type of the CDH instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#host_type CdhInstance#host_type} */ readonly hostType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#id CdhInstance#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; /** * The tenancy (time unit is month) of the prepaid instance, NOTE: it only works when charge_type is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#prepaid_period CdhInstance#prepaid_period} */ readonly prepaidPeriod?: number; /** * Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when charge_type is set to `PREPAID`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#prepaid_renew_flag CdhInstance#prepaid_renew_flag} */ readonly prepaidRenewFlag?: string; /** * The project the instance belongs to, default to 0. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#project_id CdhInstance#project_id} */ readonly projectId?: number; } export interface CdhInstanceHostResource { } export declare function cdhInstanceHostResourceToTerraform(struct?: CdhInstanceHostResource): any; export declare function cdhInstanceHostResourceToHclTerraform(struct?: CdhInstanceHostResource): any; export declare class CdhInstanceHostResourceOutputReference 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(): CdhInstanceHostResource | undefined; set internalValue(value: CdhInstanceHostResource | undefined); get cpuAvailableNum(): any; get cpuTotalNum(): any; get diskAvailableSize(): any; get diskTotalSize(): any; get diskType(): any; get memoryAvailableSize(): any; get memoryTotalSize(): any; } export declare class CdhInstanceHostResourceList 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): CdhInstanceHostResourceOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance tencentcloud_cdh_instance} */ export declare class CdhInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cdh_instance"; /** * Generates CDKTF code for importing a CdhInstance 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 CdhInstance to import * @param importFromId The id of the existing CdhInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdh_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CdhInstance 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/cdh_instance tencentcloud_cdh_instance} 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 CdhInstanceConfig */ constructor(scope: Construct, id: string, config: CdhInstanceConfig); private _availabilityZone?; get availabilityZone(): string; set availabilityZone(value: string); get availabilityZoneInput(): string; private _chargeType?; get chargeType(): string; set chargeType(value: string); resetChargeType(): void; get chargeTypeInput(): string; get createTime(): any; get cvmInstanceIds(): any; get expiredTime(): any; private _hostName?; get hostName(): string; set hostName(value: string); resetHostName(): void; get hostNameInput(): string; private _hostResource; get hostResource(): CdhInstanceHostResourceList; get hostState(): any; private _hostType?; get hostType(): string; set hostType(value: string); resetHostType(): void; get hostTypeInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _prepaidPeriod?; get prepaidPeriod(): number; set prepaidPeriod(value: number); resetPrepaidPeriod(): void; get prepaidPeriodInput(): number; private _prepaidRenewFlag?; get prepaidRenewFlag(): string; set prepaidRenewFlag(value: string); resetPrepaidRenewFlag(): void; get prepaidRenewFlagInput(): string; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }