import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CvmRenewInstanceConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_instance#id CvmRenewInstance#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/cvm_renew_instance#instance_id CvmRenewInstance#instance_id} */ readonly instanceId: string; /** * Whether to renew the elastic data disk. Valid values: * - `TRUE`: Indicates to renew the subscription instance and renew the attached elastic data disk at the same time * - `FALSE`: Indicates that the subscription instance will be renewed and the elastic data disk attached to it will not be renewed * Default value: TRUE. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_instance#renew_portable_data_disk CvmRenewInstance#renew_portable_data_disk} */ readonly renewPortableDataDisk?: boolean | cdktf.IResolvable; /** * instance_charge_prepaid block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_instance#instance_charge_prepaid CvmRenewInstance#instance_charge_prepaid} */ readonly instanceChargePrepaid?: CvmRenewInstanceInstanceChargePrepaid; } export interface CvmRenewInstanceInstanceChargePrepaid { /** * Subscription period; unit: month; valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60. Note: This field may return null, indicating that no valid value is found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_instance#period CvmRenewInstance#period} */ readonly period: 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: This field may return null, indicating that no valid value is found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_instance#renew_flag CvmRenewInstance#renew_flag} */ readonly renewFlag?: string; } export declare function cvmRenewInstanceInstanceChargePrepaidToTerraform(struct?: CvmRenewInstanceInstanceChargePrepaidOutputReference | CvmRenewInstanceInstanceChargePrepaid): any; export declare function cvmRenewInstanceInstanceChargePrepaidToHclTerraform(struct?: CvmRenewInstanceInstanceChargePrepaidOutputReference | CvmRenewInstanceInstanceChargePrepaid): any; export declare class CvmRenewInstanceInstanceChargePrepaidOutputReference 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(): CvmRenewInstanceInstanceChargePrepaid | undefined; set internalValue(value: CvmRenewInstanceInstanceChargePrepaid | 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/cvm_renew_instance tencentcloud_cvm_renew_instance} */ export declare class CvmRenewInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cvm_renew_instance"; /** * Generates CDKTF code for importing a CvmRenewInstance 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 CvmRenewInstance to import * @param importFromId The id of the existing CvmRenewInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_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 CvmRenewInstance 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/cvm_renew_instance tencentcloud_cvm_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 CvmRenewInstanceConfig */ constructor(scope: Construct, id: string, config: CvmRenewInstanceConfig); 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 _renewPortableDataDisk?; get renewPortableDataDisk(): boolean | cdktf.IResolvable; set renewPortableDataDisk(value: boolean | cdktf.IResolvable); resetRenewPortableDataDisk(): void; get renewPortableDataDiskInput(): any; private _instanceChargePrepaid; get instanceChargePrepaid(): CvmRenewInstanceInstanceChargePrepaidOutputReference; putInstanceChargePrepaid(value: CvmRenewInstanceInstanceChargePrepaid): void; resetInstanceChargePrepaid(): void; get instanceChargePrepaidInput(): CvmRenewInstanceInstanceChargePrepaid; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }