import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGcoreSecuritygroupConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#id DataGcoreSecuritygroup#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; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#metadata_k DataGcoreSecuritygroup#metadata_k} */ readonly metadataK?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#metadata_kv DataGcoreSecuritygroup#metadata_kv} */ readonly metadataKv?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#name DataGcoreSecuritygroup#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#project_id DataGcoreSecuritygroup#project_id} */ readonly projectId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#project_name DataGcoreSecuritygroup#project_name} */ readonly projectName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#region_id DataGcoreSecuritygroup#region_id} */ readonly regionId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#region_name DataGcoreSecuritygroup#region_name} */ readonly regionName?: string; } export interface DataGcoreSecuritygroupMetadataReadOnly { } export declare function dataGcoreSecuritygroupMetadataReadOnlyToTerraform(struct?: DataGcoreSecuritygroupMetadataReadOnly): any; export declare function dataGcoreSecuritygroupMetadataReadOnlyToHclTerraform(struct?: DataGcoreSecuritygroupMetadataReadOnly): any; export declare class DataGcoreSecuritygroupMetadataReadOnlyOutputReference 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(): DataGcoreSecuritygroupMetadataReadOnly | undefined; set internalValue(value: DataGcoreSecuritygroupMetadataReadOnly | undefined); get key(): any; get readOnly(): any; get value(): any; } export declare class DataGcoreSecuritygroupMetadataReadOnlyList 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): DataGcoreSecuritygroupMetadataReadOnlyOutputReference; } export interface DataGcoreSecuritygroupSecurityGroupRules { } export declare function dataGcoreSecuritygroupSecurityGroupRulesToTerraform(struct?: DataGcoreSecuritygroupSecurityGroupRules): any; export declare function dataGcoreSecuritygroupSecurityGroupRulesToHclTerraform(struct?: DataGcoreSecuritygroupSecurityGroupRules): any; export declare class DataGcoreSecuritygroupSecurityGroupRulesOutputReference 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(): DataGcoreSecuritygroupSecurityGroupRules | undefined; set internalValue(value: DataGcoreSecuritygroupSecurityGroupRules | undefined); get createdAt(): any; get description(): any; get direction(): any; get ethertype(): any; get id(): any; get portRangeMax(): any; get portRangeMin(): any; get protocol(): any; get remoteGroupId(): any; get remoteIpPrefix(): any; get updatedAt(): any; } export declare class DataGcoreSecuritygroupSecurityGroupRulesList 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): DataGcoreSecuritygroupSecurityGroupRulesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup gcore_securitygroup} */ export declare class DataGcoreSecuritygroup extends cdktf.TerraformDataSource { static readonly tfResourceType = "gcore_securitygroup"; /** * Generates CDKTF code for importing a DataGcoreSecuritygroup 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 DataGcoreSecuritygroup to import * @param importFromId The id of the existing DataGcoreSecuritygroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/securitygroup#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGcoreSecuritygroup 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/g-core/gcore/0.32.5/docs/data-sources/securitygroup gcore_securitygroup} 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 DataGcoreSecuritygroupConfig */ constructor(scope: Construct, id: string, config: DataGcoreSecuritygroupConfig); get description(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _metadataK?; get metadataK(): string; set metadataK(value: string); resetMetadataK(): void; get metadataKInput(): string; private _metadataKv?; get metadataKv(): { [key: string]: string; }; set metadataKv(value: { [key: string]: string; }); resetMetadataKv(): void; get metadataKvInput(): { [key: string]: string; }; private _metadataReadOnly; get metadataReadOnly(): DataGcoreSecuritygroupMetadataReadOnlyList; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _projectName?; get projectName(): string; set projectName(value: string); resetProjectName(): void; get projectNameInput(): string; private _regionId?; get regionId(): number; set regionId(value: number); resetRegionId(): void; get regionIdInput(): number; private _regionName?; get regionName(): string; set regionName(value: string); resetRegionName(): void; get regionNameInput(): string; private _securityGroupRules; get securityGroupRules(): DataGcoreSecuritygroupSecurityGroupRulesList; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }