import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudDayuL4RulesV2Config extends cdktf.TerraformMetaArguments { /** * Type of the resource that the layer 4 rule works for, valid values are `bgpip`, `bgp`, `bgp-multip` and `net`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dayu_l4_rules_v2#business DataTencentcloudDayuL4RulesV2#business} */ readonly business: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dayu_l4_rules_v2#id DataTencentcloudDayuL4RulesV2#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; /** * Ip of the resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dayu_l4_rules_v2#ip DataTencentcloudDayuL4RulesV2#ip} */ readonly ip?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dayu_l4_rules_v2#result_output_file DataTencentcloudDayuL4RulesV2#result_output_file} */ readonly resultOutputFile?: string; /** * Virtual port of resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dayu_l4_rules_v2#virtual_port DataTencentcloudDayuL4RulesV2#virtual_port} */ readonly virtualPort?: number; } export interface DataTencentcloudDayuL4RulesV2ListSourceListStruct { } export declare function dataTencentcloudDayuL4RulesV2ListSourceListStructToTerraform(struct?: DataTencentcloudDayuL4RulesV2ListSourceListStruct): any; export declare function dataTencentcloudDayuL4RulesV2ListSourceListStructToHclTerraform(struct?: DataTencentcloudDayuL4RulesV2ListSourceListStruct): any; export declare class DataTencentcloudDayuL4RulesV2ListSourceListStructOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataTencentcloudDayuL4RulesV2ListSourceListStruct | undefined; set internalValue(value: DataTencentcloudDayuL4RulesV2ListSourceListStruct | undefined); get source(): any; get weight(): any; } export declare class DataTencentcloudDayuL4RulesV2ListSourceListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): DataTencentcloudDayuL4RulesV2ListSourceListStructOutputReference; } export interface DataTencentcloudDayuL4RulesV2ListStruct { } export declare function dataTencentcloudDayuL4RulesV2ListStructToTerraform(struct?: DataTencentcloudDayuL4RulesV2ListStruct): any; export declare function dataTencentcloudDayuL4RulesV2ListStructToHclTerraform(struct?: DataTencentcloudDayuL4RulesV2ListStruct): any; export declare class DataTencentcloudDayuL4RulesV2ListStructOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataTencentcloudDayuL4RulesV2ListStruct | undefined; set internalValue(value: DataTencentcloudDayuL4RulesV2ListStruct | undefined); get id(): any; get ip(): any; get keepEnable(): any; get keeptime(): any; get lbType(): any; get modifyTime(): any; get protocol(): any; get region(): any; get removeSwitch(): any; get ruleId(): any; get ruleName(): any; private _sourceList; get sourceList(): DataTencentcloudDayuL4RulesV2ListSourceListStructList; get sourcePort(): any; get sourceType(): any; get virtualPort(): any; } export declare class DataTencentcloudDayuL4RulesV2ListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): DataTencentcloudDayuL4RulesV2ListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dayu_l4_rules_v2 tencentcloud_dayu_l4_rules_v2} */ export declare class DataTencentcloudDayuL4RulesV2 extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_dayu_l4_rules_v2"; /** * Generates CDKTF code for importing a DataTencentcloudDayuL4RulesV2 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 DataTencentcloudDayuL4RulesV2 to import * @param importFromId The id of the existing DataTencentcloudDayuL4RulesV2 that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dayu_l4_rules_v2#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudDayuL4RulesV2 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/data-sources/dayu_l4_rules_v2 tencentcloud_dayu_l4_rules_v2} Data Source * * @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 DataTencentcloudDayuL4RulesV2Config */ constructor(scope: Construct, id: string, config: DataTencentcloudDayuL4RulesV2Config); private _business?; get business(): string; set business(value: string); get businessInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ip?; get ip(): string; set ip(value: string); resetIp(): void; get ipInput(): string; private _list; get list(): DataTencentcloudDayuL4RulesV2ListStructList; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _virtualPort?; get virtualPort(): number; set virtualPort(value: number); resetVirtualPort(): void; get virtualPortInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }