import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CvmRenewHostConfig extends cdktf.TerraformMetaArguments { /** * CDH instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_host#host_id CvmRenewHost#host_id} */ readonly hostId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_host#id CvmRenewHost#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; /** * host_charge_prepaid block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_host#host_charge_prepaid CvmRenewHost#host_charge_prepaid} */ readonly hostChargePrepaid: CvmRenewHostHostChargePrepaid; } export interface CvmRenewHostHostChargePrepaid { /** * The duration of purchasing an instance, unit: month. Value range: 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/cvm_renew_host#period CvmRenewHost#period} */ readonly period: number; /** * Auto renewal flag. Valid values:<br><li>NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically<br><li>NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically<br><br>Default value: NOTIFY_AND_AUTO_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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_host#renew_flag CvmRenewHost#renew_flag} */ readonly renewFlag?: string; } export declare function cvmRenewHostHostChargePrepaidToTerraform(struct?: CvmRenewHostHostChargePrepaidOutputReference | CvmRenewHostHostChargePrepaid): any; export declare function cvmRenewHostHostChargePrepaidToHclTerraform(struct?: CvmRenewHostHostChargePrepaidOutputReference | CvmRenewHostHostChargePrepaid): any; export declare class CvmRenewHostHostChargePrepaidOutputReference 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(): CvmRenewHostHostChargePrepaid | undefined; set internalValue(value: CvmRenewHostHostChargePrepaid | 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_host tencentcloud_cvm_renew_host} */ export declare class CvmRenewHost extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cvm_renew_host"; /** * Generates CDKTF code for importing a CvmRenewHost 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 CvmRenewHost to import * @param importFromId The id of the existing CvmRenewHost that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cvm_renew_host#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CvmRenewHost 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_host tencentcloud_cvm_renew_host} 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 CvmRenewHostConfig */ constructor(scope: Construct, id: string, config: CvmRenewHostConfig); private _hostId?; get hostId(): string; set hostId(value: string); get hostIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _hostChargePrepaid; get hostChargePrepaid(): CvmRenewHostHostChargePrepaidOutputReference; putHostChargePrepaid(value: CvmRenewHostHostChargePrepaid): void; get hostChargePrepaidInput(): CvmRenewHostHostChargePrepaid; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }