import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGcoreRouterConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/router#id DataGcoreRouter#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/router#name DataGcoreRouter#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/router#project_id DataGcoreRouter#project_id} */ readonly projectId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/router#project_name DataGcoreRouter#project_name} */ readonly projectName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/router#region_id DataGcoreRouter#region_id} */ readonly regionId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/router#region_name DataGcoreRouter#region_name} */ readonly regionName?: string; } export interface DataGcoreRouterExternalGatewayInfoExternalFixedIps { } export declare function dataGcoreRouterExternalGatewayInfoExternalFixedIpsToTerraform(struct?: DataGcoreRouterExternalGatewayInfoExternalFixedIps): any; export declare function dataGcoreRouterExternalGatewayInfoExternalFixedIpsToHclTerraform(struct?: DataGcoreRouterExternalGatewayInfoExternalFixedIps): any; export declare class DataGcoreRouterExternalGatewayInfoExternalFixedIpsOutputReference 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(): DataGcoreRouterExternalGatewayInfoExternalFixedIps | undefined; set internalValue(value: DataGcoreRouterExternalGatewayInfoExternalFixedIps | undefined); get ipAddress(): any; get subnetId(): any; } export declare class DataGcoreRouterExternalGatewayInfoExternalFixedIpsList 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): DataGcoreRouterExternalGatewayInfoExternalFixedIpsOutputReference; } export interface DataGcoreRouterExternalGatewayInfo { } export declare function dataGcoreRouterExternalGatewayInfoToTerraform(struct?: DataGcoreRouterExternalGatewayInfo): any; export declare function dataGcoreRouterExternalGatewayInfoToHclTerraform(struct?: DataGcoreRouterExternalGatewayInfo): any; export declare class DataGcoreRouterExternalGatewayInfoOutputReference 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(): DataGcoreRouterExternalGatewayInfo | undefined; set internalValue(value: DataGcoreRouterExternalGatewayInfo | undefined); get enableSnat(): any; private _externalFixedIps; get externalFixedIps(): DataGcoreRouterExternalGatewayInfoExternalFixedIpsList; get networkId(): any; } export declare class DataGcoreRouterExternalGatewayInfoList 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): DataGcoreRouterExternalGatewayInfoOutputReference; } export interface DataGcoreRouterInterfaces { } export declare function dataGcoreRouterInterfacesToTerraform(struct?: DataGcoreRouterInterfaces): any; export declare function dataGcoreRouterInterfacesToHclTerraform(struct?: DataGcoreRouterInterfaces): any; export declare class DataGcoreRouterInterfacesOutputReference 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(): DataGcoreRouterInterfaces | undefined; set internalValue(value: DataGcoreRouterInterfaces | undefined); get ipAddress(): any; get macAddress(): any; get networkId(): any; get portId(): any; get subnetId(): any; get type(): any; } export declare class DataGcoreRouterInterfacesList 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): DataGcoreRouterInterfacesOutputReference; } export interface DataGcoreRouterRoutes { } export declare function dataGcoreRouterRoutesToTerraform(struct?: DataGcoreRouterRoutes): any; export declare function dataGcoreRouterRoutesToHclTerraform(struct?: DataGcoreRouterRoutes): any; export declare class DataGcoreRouterRoutesOutputReference 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(): DataGcoreRouterRoutes | undefined; set internalValue(value: DataGcoreRouterRoutes | undefined); get destination(): any; get nexthop(): any; } export declare class DataGcoreRouterRoutesList 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): DataGcoreRouterRoutesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/router gcore_router} */ export declare class DataGcoreRouter extends cdktf.TerraformDataSource { static readonly tfResourceType = "gcore_router"; /** * Generates CDKTF code for importing a DataGcoreRouter 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 DataGcoreRouter to import * @param importFromId The id of the existing DataGcoreRouter that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/router#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGcoreRouter 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/router gcore_router} 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 DataGcoreRouterConfig */ constructor(scope: Construct, id: string, config: DataGcoreRouterConfig); private _externalGatewayInfo; get externalGatewayInfo(): DataGcoreRouterExternalGatewayInfoList; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _interfaces; get interfaces(): DataGcoreRouterInterfacesList; 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 _routes; get routes(): DataGcoreRouterRoutesList; get status(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }