import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudMysqlProjectSecurityGroupConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_project_security_group#id DataTencentcloudMysqlProjectSecurityGroup#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; /** * project id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_project_security_group#project_id DataTencentcloudMysqlProjectSecurityGroup#project_id} */ readonly projectId?: number; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_project_security_group#result_output_file DataTencentcloudMysqlProjectSecurityGroup#result_output_file} */ readonly resultOutputFile?: string; } export interface DataTencentcloudMysqlProjectSecurityGroupGroupsInbound { } export declare function dataTencentcloudMysqlProjectSecurityGroupGroupsInboundToTerraform(struct?: DataTencentcloudMysqlProjectSecurityGroupGroupsInbound): any; export declare function dataTencentcloudMysqlProjectSecurityGroupGroupsInboundToHclTerraform(struct?: DataTencentcloudMysqlProjectSecurityGroupGroupsInbound): any; export declare class DataTencentcloudMysqlProjectSecurityGroupGroupsInboundOutputReference 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(): DataTencentcloudMysqlProjectSecurityGroupGroupsInbound | undefined; set internalValue(value: DataTencentcloudMysqlProjectSecurityGroupGroupsInbound | undefined); get action(): any; get cidrIp(): any; get desc(): any; get dir(): any; get ipProtocol(): any; get portRange(): any; } export declare class DataTencentcloudMysqlProjectSecurityGroupGroupsInboundList 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): DataTencentcloudMysqlProjectSecurityGroupGroupsInboundOutputReference; } export interface DataTencentcloudMysqlProjectSecurityGroupGroupsOutbound { } export declare function dataTencentcloudMysqlProjectSecurityGroupGroupsOutboundToTerraform(struct?: DataTencentcloudMysqlProjectSecurityGroupGroupsOutbound): any; export declare function dataTencentcloudMysqlProjectSecurityGroupGroupsOutboundToHclTerraform(struct?: DataTencentcloudMysqlProjectSecurityGroupGroupsOutbound): any; export declare class DataTencentcloudMysqlProjectSecurityGroupGroupsOutboundOutputReference 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(): DataTencentcloudMysqlProjectSecurityGroupGroupsOutbound | undefined; set internalValue(value: DataTencentcloudMysqlProjectSecurityGroupGroupsOutbound | undefined); get action(): any; get cidrIp(): any; get desc(): any; get dir(): any; get ipProtocol(): any; get portRange(): any; } export declare class DataTencentcloudMysqlProjectSecurityGroupGroupsOutboundList 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): DataTencentcloudMysqlProjectSecurityGroupGroupsOutboundOutputReference; } export interface DataTencentcloudMysqlProjectSecurityGroupGroups { } export declare function dataTencentcloudMysqlProjectSecurityGroupGroupsToTerraform(struct?: DataTencentcloudMysqlProjectSecurityGroupGroups): any; export declare function dataTencentcloudMysqlProjectSecurityGroupGroupsToHclTerraform(struct?: DataTencentcloudMysqlProjectSecurityGroupGroups): any; export declare class DataTencentcloudMysqlProjectSecurityGroupGroupsOutputReference 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(): DataTencentcloudMysqlProjectSecurityGroupGroups | undefined; set internalValue(value: DataTencentcloudMysqlProjectSecurityGroupGroups | undefined); get createTime(): any; private _inbound; get inbound(): DataTencentcloudMysqlProjectSecurityGroupGroupsInboundList; private _outbound; get outbound(): DataTencentcloudMysqlProjectSecurityGroupGroupsOutboundList; get projectId(): any; get securityGroupId(): any; get securityGroupName(): any; get securityGroupRemark(): any; } export declare class DataTencentcloudMysqlProjectSecurityGroupGroupsList 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): DataTencentcloudMysqlProjectSecurityGroupGroupsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_project_security_group tencentcloud_mysql_project_security_group} */ export declare class DataTencentcloudMysqlProjectSecurityGroup extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_mysql_project_security_group"; /** * Generates CDKTF code for importing a DataTencentcloudMysqlProjectSecurityGroup 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 DataTencentcloudMysqlProjectSecurityGroup to import * @param importFromId The id of the existing DataTencentcloudMysqlProjectSecurityGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_project_security_group#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudMysqlProjectSecurityGroup 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/mysql_project_security_group tencentcloud_mysql_project_security_group} 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 DataTencentcloudMysqlProjectSecurityGroupConfig = {} */ constructor(scope: Construct, id: string, config?: DataTencentcloudMysqlProjectSecurityGroupConfig); private _groups; get groups(): DataTencentcloudMysqlProjectSecurityGroupGroupsList; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }