import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PostgresqlDisisolateDbInstanceOperationConfig extends cdktf.TerraformMetaArguments { /** * Whether to use vouchers. Valid values:true (yes), false (no). Default value:false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_disisolate_db_instance_operation#auto_voucher PostgresqlDisisolateDbInstanceOperation#auto_voucher} */ readonly autoVoucher?: boolean | cdktf.IResolvable; /** * List of resource IDs. Note that currently you cannot remove multiple instances from isolation at the same time. Only one instance ID can be passed in here. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_disisolate_db_instance_operation#db_instance_id_set PostgresqlDisisolateDbInstanceOperation#db_instance_id_set} */ readonly dbInstanceIdSet: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_disisolate_db_instance_operation#id PostgresqlDisisolateDbInstanceOperation#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 valid period (in months) of the monthly-subscribed instance when removing it from isolation. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_disisolate_db_instance_operation#period PostgresqlDisisolateDbInstanceOperation#period} */ readonly period?: number; /** * Voucher ID list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_disisolate_db_instance_operation#voucher_ids PostgresqlDisisolateDbInstanceOperation#voucher_ids} */ readonly voucherIds?: string[]; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_disisolate_db_instance_operation tencentcloud_postgresql_disisolate_db_instance_operation} */ export declare class PostgresqlDisisolateDbInstanceOperation extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_postgresql_disisolate_db_instance_operation"; /** * Generates CDKTF code for importing a PostgresqlDisisolateDbInstanceOperation 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 PostgresqlDisisolateDbInstanceOperation to import * @param importFromId The id of the existing PostgresqlDisisolateDbInstanceOperation that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_disisolate_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 PostgresqlDisisolateDbInstanceOperation 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_disisolate_db_instance_operation tencentcloud_postgresql_disisolate_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 PostgresqlDisisolateDbInstanceOperationConfig */ constructor(scope: Construct, id: string, config: PostgresqlDisisolateDbInstanceOperationConfig); private _autoVoucher?; get autoVoucher(): boolean | cdktf.IResolvable; set autoVoucher(value: boolean | cdktf.IResolvable); resetAutoVoucher(): void; get autoVoucherInput(): any; private _dbInstanceIdSet?; get dbInstanceIdSet(): string[]; set dbInstanceIdSet(value: string[]); get dbInstanceIdSetInput(): string[]; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _period?; get period(): number; set period(value: number); resetPeriod(): void; 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; }; }