import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TseInstanceConfig extends cdktf.TerraformMetaArguments { /** * Client public network access, `true`: on, `false`: off, default: false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#enable_client_internet_access TseInstance#enable_client_internet_access} */ readonly enableClientInternetAccess?: boolean | cdktf.IResolvable; /** * engien name. Reference value: nacos-test. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_name TseInstance#engine_name} */ readonly engineName: string; /** * engine node num. see EngineProductVersion. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_node_num TseInstance#engine_node_num} */ readonly engineNodeNum?: number; /** * Engine product version. Reference value: `Nacos`: `TRIAL`: Development version, optional node num: `1`, optional spec list: `1C1G`; `STANDARD`: Standard versions, optional node num: `3`, `5`, `7`, optional spec list: `1C2G`, `2C4G`, `4C8G`, `8C16G`, `16C32G`. `Zookeeper`: `TRIAL`: Development version, optional node num: `1`, optional spec list: `1C1G`; `STANDARD`: Standard versions, optional node num: `3`, `5`, `7`, optional spec list: `1C2G`, `2C4G`, `4C8G`, `8C16G`, `16C32G`; `PROFESSIONAL`: professional versions, optional node num: `3`, `5`, `7`, optional spec list: `1C2G`, `2C4G`, `4C8G`, `8C16G`, `16C32G`. `Polarismesh`: `BASE`: Base version, optional node num: `1`, optional spec list: `NUM50`; `PROFESSIONAL`: Enterprise versions, optional node num: `2`, `3`, optional spec list: `NUM50`, `NUM100`, `NUM200`, `NUM500`, `NUM1000`, `NUM5000`, `NUM10000`, `NUM50000`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_product_version TseInstance#engine_product_version} */ readonly engineProductVersion: string; /** * engine deploy region. Reference value: `China area` Reference value: `ap-guangzhou`, `ap-beijing`, `ap-chengdu`, `ap-chongqing`, `ap-nanjing`, `ap-shanghai` `ap-beijing-fsi`, `ap-shanghai-fsi`, `ap-shenzhen-fsi`. `Asia Pacific` area Reference value: `ap-hongkong`, `ap-taipei`, `ap-jakarta`, `ap-singapore`, `ap-bangkok`, `ap-seoul`, `ap-tokyo`. `North America area` Reference value: `na-toronto`, `sa-saopaulo`, `na-siliconvalley`, `na-ashburn`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_region TseInstance#engine_region} */ readonly engineRegion: string; /** * engine spec ID. see EngineProductVersion. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_resource_spec TseInstance#engine_resource_spec} */ readonly engineResourceSpec?: string; /** * engine type. Reference value: `zookeeper`, `nacos`, `polaris`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_type TseInstance#engine_type} */ readonly engineType: string; /** * An open source version of the engine. Each engine supports different open source versions, refer to the product documentation or console purchase page. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_version TseInstance#engine_version} */ readonly engineVersion: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#id TseInstance#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; /** * Prepaid time, in monthly units. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#prepaid_period TseInstance#prepaid_period} */ readonly prepaidPeriod?: number; /** * Automatic renewal mark, prepaid only. Reference value: `0`: No automatic renewal, `1`: Automatic renewal. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#prepaid_renew_flag TseInstance#prepaid_renew_flag} */ readonly prepaidRenewFlag?: number; /** * subnet ID. Assign an IP address to the engine in the VPC subnet. Reference value: subnet-ahde9me9. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#subnet_id TseInstance#subnet_id} */ readonly subnetId?: string; /** * Tag description list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#tags TseInstance#tags} */ readonly tags?: { [key: string]: string; }; /** * trade type. Reference value:- 0:postpaid- 1:Prepaid (Interface does not support the creation of prepaid instances yet). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#trade_type TseInstance#trade_type} */ readonly tradeType: number; /** * VPC ID. Assign an IP address to the engine in the VPC subnet. Reference value: vpc-conz6aix. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#vpc_id TseInstance#vpc_id} */ readonly vpcId?: string; /** * engine_region_infos block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_region_infos TseInstance#engine_region_infos} */ readonly engineRegionInfos?: TseInstanceEngineRegionInfos[] | cdktf.IResolvable; } export interface TseInstanceEngineRegionInfosVpcInfos { /** * Intranet access addressNote: This field may return null, indicating that a valid value is not available.. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#intranet_address TseInstance#intranet_address} */ readonly intranetAddress?: string; /** * Subnet ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#subnet_id TseInstance#subnet_id} */ readonly subnetId: string; /** * Vpc Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#vpc_id TseInstance#vpc_id} */ readonly vpcId: string; } export declare function tseInstanceEngineRegionInfosVpcInfosToTerraform(struct?: TseInstanceEngineRegionInfosVpcInfos | cdktf.IResolvable): any; export declare function tseInstanceEngineRegionInfosVpcInfosToHclTerraform(struct?: TseInstanceEngineRegionInfosVpcInfos | cdktf.IResolvable): any; export declare class TseInstanceEngineRegionInfosVpcInfosOutputReference 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(): TseInstanceEngineRegionInfosVpcInfos | cdktf.IResolvable | undefined; set internalValue(value: TseInstanceEngineRegionInfosVpcInfos | cdktf.IResolvable | undefined); private _intranetAddress?; get intranetAddress(): string; set intranetAddress(value: string); resetIntranetAddress(): void; get intranetAddressInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); get subnetIdInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; } export declare class TseInstanceEngineRegionInfosVpcInfosList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TseInstanceEngineRegionInfosVpcInfos[] | 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): TseInstanceEngineRegionInfosVpcInfosOutputReference; } export interface TseInstanceEngineRegionInfos { /** * Engine node region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#engine_region TseInstance#engine_region} */ readonly engineRegion: string; /** * The number of nodes allocated in this region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#replica TseInstance#replica} */ readonly replica: number; /** * vpc_infos block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#vpc_infos TseInstance#vpc_infos} */ readonly vpcInfos: TseInstanceEngineRegionInfosVpcInfos[] | cdktf.IResolvable; } export declare function tseInstanceEngineRegionInfosToTerraform(struct?: TseInstanceEngineRegionInfos | cdktf.IResolvable): any; export declare function tseInstanceEngineRegionInfosToHclTerraform(struct?: TseInstanceEngineRegionInfos | cdktf.IResolvable): any; export declare class TseInstanceEngineRegionInfosOutputReference 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(): TseInstanceEngineRegionInfos | cdktf.IResolvable | undefined; set internalValue(value: TseInstanceEngineRegionInfos | cdktf.IResolvable | undefined); private _engineRegion?; get engineRegion(): string; set engineRegion(value: string); get engineRegionInput(): string; private _replica?; get replica(): number; set replica(value: number); get replicaInput(): number; private _vpcInfos; get vpcInfos(): TseInstanceEngineRegionInfosVpcInfosList; putVpcInfos(value: TseInstanceEngineRegionInfosVpcInfos[] | cdktf.IResolvable): void; get vpcInfosInput(): any; } export declare class TseInstanceEngineRegionInfosList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TseInstanceEngineRegionInfos[] | 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): TseInstanceEngineRegionInfosOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance tencentcloud_tse_instance} */ export declare class TseInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tse_instance"; /** * Generates CDKTF code for importing a TseInstance 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 TseInstance to import * @param importFromId The id of the existing TseInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tse_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TseInstance 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/tse_instance tencentcloud_tse_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 TseInstanceConfig */ constructor(scope: Construct, id: string, config: TseInstanceConfig); private _enableClientInternetAccess?; get enableClientInternetAccess(): boolean | cdktf.IResolvable; set enableClientInternetAccess(value: boolean | cdktf.IResolvable); resetEnableClientInternetAccess(): void; get enableClientInternetAccessInput(): any; private _engineName?; get engineName(): string; set engineName(value: string); get engineNameInput(): string; private _engineNodeNum?; get engineNodeNum(): number; set engineNodeNum(value: number); resetEngineNodeNum(): void; get engineNodeNumInput(): number; private _engineProductVersion?; get engineProductVersion(): string; set engineProductVersion(value: string); get engineProductVersionInput(): string; private _engineRegion?; get engineRegion(): string; set engineRegion(value: string); get engineRegionInput(): string; private _engineResourceSpec?; get engineResourceSpec(): string; set engineResourceSpec(value: string); resetEngineResourceSpec(): void; get engineResourceSpecInput(): string; private _engineType?; get engineType(): string; set engineType(value: string); get engineTypeInput(): string; private _engineVersion?; get engineVersion(): string; set engineVersion(value: string); get engineVersionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _prepaidPeriod?; get prepaidPeriod(): number; set prepaidPeriod(value: number); resetPrepaidPeriod(): void; get prepaidPeriodInput(): number; private _prepaidRenewFlag?; get prepaidRenewFlag(): number; set prepaidRenewFlag(value: number); resetPrepaidRenewFlag(): void; get prepaidRenewFlagInput(): number; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _tradeType?; get tradeType(): number; set tradeType(value: number); get tradeTypeInput(): number; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; private _engineRegionInfos; get engineRegionInfos(): TseInstanceEngineRegionInfosList; putEngineRegionInfos(value: TseInstanceEngineRegionInfos[] | cdktf.IResolvable): void; resetEngineRegionInfos(): void; get engineRegionInfosInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }