import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGcoreLbpoolConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#id DataGcoreLbpool#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; /** * ID of the load balancer listener to which pool was attached. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#listener_id DataGcoreLbpool#listener_id} */ readonly listenerId?: string; /** * ID of the load balancer to which pool was attached. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#loadbalancer_id DataGcoreLbpool#loadbalancer_id} */ readonly loadbalancerId?: string; /** * Name of the load balancer pool. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#name DataGcoreLbpool#name} */ readonly name: string; /** * ID of the project in which load balancer pool was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#project_id DataGcoreLbpool#project_id} */ readonly projectId?: number; /** * Name of the project in which load balancer pool was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#project_name DataGcoreLbpool#project_name} */ readonly projectName?: string; /** * ID of the region in which load balancer pool was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#region_id DataGcoreLbpool#region_id} */ readonly regionId?: number; /** * Name of the region in which load balancer pool was created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#region_name DataGcoreLbpool#region_name} */ readonly regionName?: string; } export interface DataGcoreLbpoolHealthMonitor { } export declare function dataGcoreLbpoolHealthMonitorToTerraform(struct?: DataGcoreLbpoolHealthMonitor): any; export declare function dataGcoreLbpoolHealthMonitorToHclTerraform(struct?: DataGcoreLbpoolHealthMonitor): any; export declare class DataGcoreLbpoolHealthMonitorOutputReference 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(): DataGcoreLbpoolHealthMonitor | undefined; set internalValue(value: DataGcoreLbpoolHealthMonitor | undefined); get delay(): any; get expectedCodes(): any; get httpMethod(): any; get id(): any; get maxRetries(): any; get maxRetriesDown(): any; get timeout(): any; get type(): any; get urlPath(): any; } export declare class DataGcoreLbpoolHealthMonitorList 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): DataGcoreLbpoolHealthMonitorOutputReference; } export interface DataGcoreLbpoolSessionPersistence { } export declare function dataGcoreLbpoolSessionPersistenceToTerraform(struct?: DataGcoreLbpoolSessionPersistence): any; export declare function dataGcoreLbpoolSessionPersistenceToHclTerraform(struct?: DataGcoreLbpoolSessionPersistence): any; export declare class DataGcoreLbpoolSessionPersistenceOutputReference 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(): DataGcoreLbpoolSessionPersistence | undefined; set internalValue(value: DataGcoreLbpoolSessionPersistence | undefined); get cookieName(): any; get persistenceGranularity(): any; get persistenceTimeout(): any; get type(): any; } export declare class DataGcoreLbpoolSessionPersistenceList 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): DataGcoreLbpoolSessionPersistenceOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool gcore_lbpool} */ export declare class DataGcoreLbpool extends cdktf.TerraformDataSource { static readonly tfResourceType = "gcore_lbpool"; /** * Generates CDKTF code for importing a DataGcoreLbpool 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 DataGcoreLbpool to import * @param importFromId The id of the existing DataGcoreLbpool that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/lbpool#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGcoreLbpool 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/lbpool gcore_lbpool} 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 DataGcoreLbpoolConfig */ constructor(scope: Construct, id: string, config: DataGcoreLbpoolConfig); private _healthMonitor; get healthMonitor(): DataGcoreLbpoolHealthMonitorList; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get lbAlgorithm(): any; private _listenerId?; get listenerId(): string; set listenerId(value: string); resetListenerId(): void; get listenerIdInput(): string; private _loadbalancerId?; get loadbalancerId(): string; set loadbalancerId(value: string); resetLoadbalancerId(): void; get loadbalancerIdInput(): string; 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; get protocol(): any; 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 _sessionPersistence; get sessionPersistence(): DataGcoreLbpoolSessionPersistenceList; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }