import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface LighthouseRenewInstanceConfig extends cdktf.TerraformMetaArguments { /** * Whether to automatically deduct vouchers. Valid values: * - true: Automatically deduct vouchers. * -false:Do not automatically deduct vouchers. Default value: false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#auto_voucher LighthouseRenewInstance#auto_voucher} */ readonly autoVoucher?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#id LighthouseRenewInstance#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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#instance_id LighthouseRenewInstance#instance_id} */ readonly instanceId: string; /** * Whether to renew the data disk. Valid values:true: Indicates that the renewal instance also renews the data disk attached to it.false: Indicates that the instance will be renewed and the data disk attached to it will not be renewed at the same time.Default value: true. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#renew_data_disk LighthouseRenewInstance#renew_data_disk} */ readonly renewDataDisk?: boolean | cdktf.IResolvable; /** * instance_charge_prepaid block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#instance_charge_prepaid LighthouseRenewInstance#instance_charge_prepaid} */ readonly instanceChargePrepaid: LighthouseRenewInstanceInstanceChargePrepaid; } export interface LighthouseRenewInstanceInstanceChargePrepaid { /** * The duration of purchasing an instance. Unit is month. Valid values are (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#period LighthouseRenewInstance#period} */ readonly period: number; /** * Automatic renewal logo. Values: * - `NOTIFY_AND_AUTO_RENEW`: notify expiration and renew automatically; * - `NOTIFY_AND_MANUAL_RENEW`: notification of expiration does not renew automatically. Users need to renew manually; * - `DISABLE_NOTIFY_AND_AUTO_RENEW`: no automatic renewal and no notification; * 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 after expiration, when the account balance is sufficient. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#renew_flag LighthouseRenewInstance#renew_flag} */ readonly renewFlag?: string; } export declare function lighthouseRenewInstanceInstanceChargePrepaidToTerraform(struct?: LighthouseRenewInstanceInstanceChargePrepaidOutputReference | LighthouseRenewInstanceInstanceChargePrepaid): any; export declare function lighthouseRenewInstanceInstanceChargePrepaidToHclTerraform(struct?: LighthouseRenewInstanceInstanceChargePrepaidOutputReference | LighthouseRenewInstanceInstanceChargePrepaid): any; export declare class LighthouseRenewInstanceInstanceChargePrepaidOutputReference 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(): LighthouseRenewInstanceInstanceChargePrepaid | undefined; set internalValue(value: LighthouseRenewInstanceInstanceChargePrepaid | undefined); private _period?; get period(): number; set period(value: number); get periodInput(): number; private _renewFlag?; get renewFlag(): string; set renewFlag(value: string); resetRenewFlag(): void; get renewFlagInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance tencentcloud_lighthouse_renew_instance} */ export declare class LighthouseRenewInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_lighthouse_renew_instance"; /** * Generates CDKTF code for importing a LighthouseRenewInstance 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 LighthouseRenewInstance to import * @param importFromId The id of the existing LighthouseRenewInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/lighthouse_renew_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the LighthouseRenewInstance 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/lighthouse_renew_instance tencentcloud_lighthouse_renew_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 LighthouseRenewInstanceConfig */ constructor(scope: Construct, id: string, config: LighthouseRenewInstanceConfig); private _autoVoucher?; get autoVoucher(): boolean | cdktf.IResolvable; set autoVoucher(value: boolean | cdktf.IResolvable); resetAutoVoucher(): void; get autoVoucherInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _renewDataDisk?; get renewDataDisk(): boolean | cdktf.IResolvable; set renewDataDisk(value: boolean | cdktf.IResolvable); resetRenewDataDisk(): void; get renewDataDiskInput(): any; private _instanceChargePrepaid; get instanceChargePrepaid(): LighthouseRenewInstanceInstanceChargePrepaidOutputReference; putInstanceChargePrepaid(value: LighthouseRenewInstanceInstanceChargePrepaid): void; get instanceChargePrepaidInput(): LighthouseRenewInstanceInstanceChargePrepaid; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }