import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CdwpgInstanceConfig extends cdktf.TerraformMetaArguments { /** * cluster password. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#admin_password CdwpgInstance#admin_password} */ readonly adminPassword: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#id CdwpgInstance#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 name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#instance_name CdwpgInstance#instance_name} */ readonly instanceName: string; /** * Version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#product_version CdwpgInstance#product_version} */ readonly productVersion?: string; /** * Tag description list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#tags CdwpgInstance#tags} */ readonly tags?: { [key: string]: string; }; /** * subnet. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#user_subnet_id CdwpgInstance#user_subnet_id} */ readonly userSubnetId: string; /** * private network. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#user_vpc_id CdwpgInstance#user_vpc_id} */ readonly userVpcId: string; /** * Availability Zone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#zone CdwpgInstance#zone} */ readonly zone: string; /** * charge_properties block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#charge_properties CdwpgInstance#charge_properties} */ readonly chargeProperties: CdwpgInstanceChargeProperties; /** * resources block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#resources CdwpgInstance#resources} */ readonly resources: CdwpgInstanceResources[] | cdktf.IResolvable; } export interface CdwpgInstanceChargeProperties { /** * Charge type, vaild values: PREPAID, POSTPAID_BY_HOUR. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#charge_type CdwpgInstance#charge_type} */ readonly chargeType?: string; /** * 0-no automatic renewal,1-automatic renewalNote: This field may return null, indicating that a valid value cannot be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#renew_flag CdwpgInstance#renew_flag} */ readonly renewFlag: number; /** * Time RangeNote: This field may return null, indicating that a valid value cannot be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#time_span CdwpgInstance#time_span} */ readonly timeSpan: number; /** * Time Unit,Generally h and mNote: This field may return null, indicating that a valid value cannot be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#time_unit CdwpgInstance#time_unit} */ readonly timeUnit: string; } export declare function cdwpgInstanceChargePropertiesToTerraform(struct?: CdwpgInstanceChargePropertiesOutputReference | CdwpgInstanceChargeProperties): any; export declare function cdwpgInstanceChargePropertiesToHclTerraform(struct?: CdwpgInstanceChargePropertiesOutputReference | CdwpgInstanceChargeProperties): any; export declare class CdwpgInstanceChargePropertiesOutputReference 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(): CdwpgInstanceChargeProperties | undefined; set internalValue(value: CdwpgInstanceChargeProperties | undefined); private _chargeType?; get chargeType(): string; set chargeType(value: string); resetChargeType(): void; get chargeTypeInput(): string; private _renewFlag?; get renewFlag(): number; set renewFlag(value: number); get renewFlagInput(): number; private _timeSpan?; get timeSpan(): number; set timeSpan(value: number); get timeSpanInput(): number; private _timeUnit?; get timeUnit(): string; set timeUnit(value: string); get timeUnitInput(): string; } export interface CdwpgInstanceResourcesDiskSpec { /** * disk count. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#disk_count CdwpgInstance#disk_count} */ readonly diskCount: number; /** * disk size. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#disk_size CdwpgInstance#disk_size} */ readonly diskSize: number; /** * disk type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#disk_type CdwpgInstance#disk_type} */ readonly diskType: string; } export declare function cdwpgInstanceResourcesDiskSpecToTerraform(struct?: CdwpgInstanceResourcesDiskSpecOutputReference | CdwpgInstanceResourcesDiskSpec): any; export declare function cdwpgInstanceResourcesDiskSpecToHclTerraform(struct?: CdwpgInstanceResourcesDiskSpecOutputReference | CdwpgInstanceResourcesDiskSpec): any; export declare class CdwpgInstanceResourcesDiskSpecOutputReference 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(): CdwpgInstanceResourcesDiskSpec | undefined; set internalValue(value: CdwpgInstanceResourcesDiskSpec | undefined); private _diskCount?; get diskCount(): number; set diskCount(value: number); get diskCountInput(): number; private _diskSize?; get diskSize(): number; set diskSize(value: number); get diskSizeInput(): number; private _diskType?; get diskType(): string; set diskType(value: string); get diskTypeInput(): string; } export interface CdwpgInstanceResources { /** * resource count. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#count CdwpgInstance#count} */ readonly count: number; /** * resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#spec_name CdwpgInstance#spec_name} */ readonly specName: string; /** * resource type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#type CdwpgInstance#type} */ readonly type: string; /** * disk_spec block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#disk_spec CdwpgInstance#disk_spec} */ readonly diskSpec: CdwpgInstanceResourcesDiskSpec; } export declare function cdwpgInstanceResourcesToTerraform(struct?: CdwpgInstanceResources | cdktf.IResolvable): any; export declare function cdwpgInstanceResourcesToHclTerraform(struct?: CdwpgInstanceResources | cdktf.IResolvable): any; export declare class CdwpgInstanceResourcesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): CdwpgInstanceResources | cdktf.IResolvable | undefined; set internalValue(value: CdwpgInstanceResources | cdktf.IResolvable | undefined); private _count?; get count(): number; set count(value: number); get countInput(): number; private _specName?; get specName(): string; set specName(value: string); get specNameInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _diskSpec; get diskSpec(): CdwpgInstanceResourcesDiskSpecOutputReference; putDiskSpec(value: CdwpgInstanceResourcesDiskSpec): void; get diskSpecInput(): CdwpgInstanceResourcesDiskSpec; } export declare class CdwpgInstanceResourcesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CdwpgInstanceResources[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): CdwpgInstanceResourcesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance tencentcloud_cdwpg_instance} */ export declare class CdwpgInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cdwpg_instance"; /** * Generates CDKTF code for importing a CdwpgInstance 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 CdwpgInstance to import * @param importFromId The id of the existing CdwpgInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdwpg_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CdwpgInstance 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/cdwpg_instance tencentcloud_cdwpg_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 CdwpgInstanceConfig */ constructor(scope: Construct, id: string, config: CdwpgInstanceConfig); private _adminPassword?; get adminPassword(): string; set adminPassword(value: string); get adminPasswordInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceName?; get instanceName(): string; set instanceName(value: string); get instanceNameInput(): string; private _productVersion?; get productVersion(): string; set productVersion(value: string); resetProductVersion(): void; get productVersionInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _userSubnetId?; get userSubnetId(): string; set userSubnetId(value: string); get userSubnetIdInput(): string; private _userVpcId?; get userVpcId(): string; set userVpcId(value: string); get userVpcIdInput(): string; private _zone?; get zone(): string; set zone(value: string); get zoneInput(): string; private _chargeProperties; get chargeProperties(): CdwpgInstanceChargePropertiesOutputReference; putChargeProperties(value: CdwpgInstanceChargeProperties): void; get chargePropertiesInput(): CdwpgInstanceChargeProperties; private _resources; get resources(): CdwpgInstanceResourcesList; putResources(value: CdwpgInstanceResources[] | cdktf.IResolvable): void; get resourcesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }