import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGcoreLoadbalancerv2Config extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#id DataGcoreLoadbalancerv2#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; /** * Metadata string of the load balancer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#metadata_k DataGcoreLoadbalancerv2#metadata_k} */ readonly metadataK?: string; /** * Metadata map of the load balancer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#metadata_kv DataGcoreLoadbalancerv2#metadata_kv} */ readonly metadataKv?: { [key: string]: string; }; /** * Name of the load balancer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#name DataGcoreLoadbalancerv2#name} */ readonly name: string; /** * ID of the project in which load balancer was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#project_id DataGcoreLoadbalancerv2#project_id} */ readonly projectId?: number; /** * Name of the project in which load balancer was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#project_name DataGcoreLoadbalancerv2#project_name} */ readonly projectName?: string; /** * ID of the region in which load balancer was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#region_id DataGcoreLoadbalancerv2#region_id} */ readonly regionId?: number; /** * Name of the region in which load balancer was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#region_name DataGcoreLoadbalancerv2#region_name} */ readonly regionName?: string; /** * Available values are 'ipv4', 'ipv6', 'dual' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#vip_ip_family DataGcoreLoadbalancerv2#vip_ip_family} */ readonly vipIpFamily?: string; } export interface DataGcoreLoadbalancerv2AdditionalVips { } export declare function dataGcoreLoadbalancerv2AdditionalVipsToTerraform(struct?: DataGcoreLoadbalancerv2AdditionalVips): any; export declare function dataGcoreLoadbalancerv2AdditionalVipsToHclTerraform(struct?: DataGcoreLoadbalancerv2AdditionalVips): any; export declare class DataGcoreLoadbalancerv2AdditionalVipsOutputReference 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(): DataGcoreLoadbalancerv2AdditionalVips | undefined; set internalValue(value: DataGcoreLoadbalancerv2AdditionalVips | undefined); get ipAddress(): any; get subnetId(): any; } export declare class DataGcoreLoadbalancerv2AdditionalVipsList 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): DataGcoreLoadbalancerv2AdditionalVipsOutputReference; } export interface DataGcoreLoadbalancerv2MetadataReadOnly { } export declare function dataGcoreLoadbalancerv2MetadataReadOnlyToTerraform(struct?: DataGcoreLoadbalancerv2MetadataReadOnly): any; export declare function dataGcoreLoadbalancerv2MetadataReadOnlyToHclTerraform(struct?: DataGcoreLoadbalancerv2MetadataReadOnly): any; export declare class DataGcoreLoadbalancerv2MetadataReadOnlyOutputReference 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(): DataGcoreLoadbalancerv2MetadataReadOnly | undefined; set internalValue(value: DataGcoreLoadbalancerv2MetadataReadOnly | undefined); get key(): any; get readOnly(): any; get value(): any; } export declare class DataGcoreLoadbalancerv2MetadataReadOnlyList 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): DataGcoreLoadbalancerv2MetadataReadOnlyOutputReference; } export interface DataGcoreLoadbalancerv2VrrpIps { } export declare function dataGcoreLoadbalancerv2VrrpIpsToTerraform(struct?: DataGcoreLoadbalancerv2VrrpIps): any; export declare function dataGcoreLoadbalancerv2VrrpIpsToHclTerraform(struct?: DataGcoreLoadbalancerv2VrrpIps): any; export declare class DataGcoreLoadbalancerv2VrrpIpsOutputReference 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(): DataGcoreLoadbalancerv2VrrpIps | undefined; set internalValue(value: DataGcoreLoadbalancerv2VrrpIps | undefined); get ipAddress(): any; get subnetId(): any; } export declare class DataGcoreLoadbalancerv2VrrpIpsList 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): DataGcoreLoadbalancerv2VrrpIpsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2 gcore_loadbalancerv2} */ export declare class DataGcoreLoadbalancerv2 extends cdktf.TerraformDataSource { static readonly tfResourceType = "gcore_loadbalancerv2"; /** * Generates CDKTF code for importing a DataGcoreLoadbalancerv2 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 DataGcoreLoadbalancerv2 to import * @param importFromId The id of the existing DataGcoreLoadbalancerv2 that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/loadbalancerv2#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGcoreLoadbalancerv2 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/loadbalancerv2 gcore_loadbalancerv2} 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 DataGcoreLoadbalancerv2Config */ constructor(scope: Construct, id: string, config: DataGcoreLoadbalancerv2Config); private _additionalVips; get additionalVips(): DataGcoreLoadbalancerv2AdditionalVipsList; 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(): DataGcoreLoadbalancerv2MetadataReadOnlyList; private _name?; get name(): string; set name(value: string); get nameInput(): string; get preferredConnectivity(): any; 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; get vipAddress(): any; private _vipIpFamily?; get vipIpFamily(): string; set vipIpFamily(value: string); resetVipIpFamily(): void; get vipIpFamilyInput(): string; get vipPortId(): any; private _vrrpIps; get vrrpIps(): DataGcoreLoadbalancerv2VrrpIpsList; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }