import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PostgresqlRenewDbInstanceOperationConfig extends cdktf.TerraformMetaArguments { /** * Whether to automatically use vouchers. 1:yes, 0:no. Default value:0. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_renew_db_instance_operation#auto_voucher PostgresqlRenewDbInstanceOperation#auto_voucher} */ readonly autoVoucher?: number; /** * Instance ID in the format of postgres-6fego161. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_renew_db_instance_operation#db_instance_id PostgresqlRenewDbInstanceOperation#db_instance_id} */ readonly dbInstanceId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_renew_db_instance_operation#id PostgresqlRenewDbInstanceOperation#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; /** * Renewal duration in months. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_renew_db_instance_operation#period PostgresqlRenewDbInstanceOperation#period} */ readonly period: number; /** * Voucher ID list (only one voucher can be specified currently). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_renew_db_instance_operation#voucher_ids PostgresqlRenewDbInstanceOperation#voucher_ids} */ readonly voucherIds?: string[]; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_renew_db_instance_operation tencentcloud_postgresql_renew_db_instance_operation} */ export declare class PostgresqlRenewDbInstanceOperation extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_postgresql_renew_db_instance_operation"; /** * Generates CDKTF code for importing a PostgresqlRenewDbInstanceOperation 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 PostgresqlRenewDbInstanceOperation to import * @param importFromId The id of the existing PostgresqlRenewDbInstanceOperation that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_renew_db_instance_operation#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PostgresqlRenewDbInstanceOperation 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/postgresql_renew_db_instance_operation tencentcloud_postgresql_renew_db_instance_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 PostgresqlRenewDbInstanceOperationConfig */ constructor(scope: Construct, id: string, config: PostgresqlRenewDbInstanceOperationConfig); private _autoVoucher?; get autoVoucher(): number; set autoVoucher(value: number); resetAutoVoucher(): void; get autoVoucherInput(): number; private _dbInstanceId?; get dbInstanceId(): string; set dbInstanceId(value: string); get dbInstanceIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _period?; get period(): number; set period(value: number); get periodInput(): number; private _voucherIds?; get voucherIds(): string[]; set voucherIds(value: string[]); resetVoucherIds(): void; get voucherIdsInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }