import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TdmqRocketmqVipInstanceConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#id TdmqRocketmqVipInstance#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/tdmq_rocketmq_vip_instance#name TdmqRocketmqVipInstance#name} */ readonly name: string; /** * Number of nodes, minimum 2, maximum 20. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#node_count TdmqRocketmqVipInstance#node_count} */ readonly nodeCount: number; /** * Instance specification: Universal type, rocket-vip-basic-0, Basic type: `rocket-vip-basic-1`, Standard type: `rocket-vip-basic-2`, Advanced Type I: `rocket-vip-basic-3`, Advanced Type II: `rocket-vip-basic-4`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#spec TdmqRocketmqVipInstance#spec} */ readonly spec: string; /** * Single node storage space, in GB, minimum 200GB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#storage_size TdmqRocketmqVipInstance#storage_size} */ readonly storageSize: number; /** * Purchase period, in months. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#time_span TdmqRocketmqVipInstance#time_span} */ readonly timeSpan: number; /** * The Zone ID list for node deployment, such as Guangzhou Zone 1, is 100001. For details, please refer to the official website of Tencent Cloud. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#zone_ids TdmqRocketmqVipInstance#zone_ids} */ readonly zoneIds: string[]; /** * ip_rules block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#ip_rules TdmqRocketmqVipInstance#ip_rules} */ readonly ipRules?: TdmqRocketmqVipInstanceIpRules[] | cdktf.IResolvable; /** * vpc_info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#vpc_info TdmqRocketmqVipInstance#vpc_info} */ readonly vpcInfo: TdmqRocketmqVipInstanceVpcInfo; } export interface TdmqRocketmqVipInstanceIpRules { /** * Whether to allow or deny. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#allow TdmqRocketmqVipInstance#allow} */ readonly allow: boolean | cdktf.IResolvable; /** * IP address block information. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#ip_rule TdmqRocketmqVipInstance#ip_rule} */ readonly ipRule: string; /** * Remark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#remark TdmqRocketmqVipInstance#remark} */ readonly remark: string; } export declare function tdmqRocketmqVipInstanceIpRulesToTerraform(struct?: TdmqRocketmqVipInstanceIpRules | cdktf.IResolvable): any; export declare function tdmqRocketmqVipInstanceIpRulesToHclTerraform(struct?: TdmqRocketmqVipInstanceIpRules | cdktf.IResolvable): any; export declare class TdmqRocketmqVipInstanceIpRulesOutputReference 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(): TdmqRocketmqVipInstanceIpRules | cdktf.IResolvable | undefined; set internalValue(value: TdmqRocketmqVipInstanceIpRules | cdktf.IResolvable | undefined); private _allow?; get allow(): boolean | cdktf.IResolvable; set allow(value: boolean | cdktf.IResolvable); get allowInput(): any; private _ipRule?; get ipRule(): string; set ipRule(value: string); get ipRuleInput(): string; private _remark?; get remark(): string; set remark(value: string); get remarkInput(): string; } export declare class TdmqRocketmqVipInstanceIpRulesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TdmqRocketmqVipInstanceIpRules[] | 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): TdmqRocketmqVipInstanceIpRulesOutputReference; } export interface TdmqRocketmqVipInstanceVpcInfo { /** * Subnet ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#subnet_id TdmqRocketmqVipInstance#subnet_id} */ readonly subnetId: string; /** * VPC ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#vpc_id TdmqRocketmqVipInstance#vpc_id} */ readonly vpcId: string; } export declare function tdmqRocketmqVipInstanceVpcInfoToTerraform(struct?: TdmqRocketmqVipInstanceVpcInfoOutputReference | TdmqRocketmqVipInstanceVpcInfo): any; export declare function tdmqRocketmqVipInstanceVpcInfoToHclTerraform(struct?: TdmqRocketmqVipInstanceVpcInfoOutputReference | TdmqRocketmqVipInstanceVpcInfo): any; export declare class TdmqRocketmqVipInstanceVpcInfoOutputReference 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(): TdmqRocketmqVipInstanceVpcInfo | undefined; set internalValue(value: TdmqRocketmqVipInstanceVpcInfo | undefined); private _subnetId?; get subnetId(): string; set subnetId(value: string); get subnetIdInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance tencentcloud_tdmq_rocketmq_vip_instance} */ export declare class TdmqRocketmqVipInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tdmq_rocketmq_vip_instance"; /** * Generates CDKTF code for importing a TdmqRocketmqVipInstance 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 TdmqRocketmqVipInstance to import * @param importFromId The id of the existing TdmqRocketmqVipInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tdmq_rocketmq_vip_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TdmqRocketmqVipInstance 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/tdmq_rocketmq_vip_instance tencentcloud_tdmq_rocketmq_vip_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 TdmqRocketmqVipInstanceConfig */ constructor(scope: Construct, id: string, config: TdmqRocketmqVipInstanceConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _nodeCount?; get nodeCount(): number; set nodeCount(value: number); get nodeCountInput(): number; private _spec?; get spec(): string; set spec(value: string); get specInput(): string; private _storageSize?; get storageSize(): number; set storageSize(value: number); get storageSizeInput(): number; private _timeSpan?; get timeSpan(): number; set timeSpan(value: number); get timeSpanInput(): number; private _zoneIds?; get zoneIds(): string[]; set zoneIds(value: string[]); get zoneIdsInput(): string[]; private _ipRules; get ipRules(): TdmqRocketmqVipInstanceIpRulesList; putIpRules(value: TdmqRocketmqVipInstanceIpRules[] | cdktf.IResolvable): void; resetIpRules(): void; get ipRulesInput(): any; private _vpcInfo; get vpcInfo(): TdmqRocketmqVipInstanceVpcInfoOutputReference; putVpcInfo(value: TdmqRocketmqVipInstanceVpcInfo): void; get vpcInfoInput(): TdmqRocketmqVipInstanceVpcInfo; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }