import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGcoreInstanceConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/instance#id DataGcoreInstance#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/instance#name DataGcoreInstance#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/instance#project_id DataGcoreInstance#project_id} */ readonly projectId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/instance#project_name DataGcoreInstance#project_name} */ readonly projectName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/instance#region_id DataGcoreInstance#region_id} */ readonly regionId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/instance#region_name DataGcoreInstance#region_name} */ readonly regionName?: string; } export interface DataGcoreInstanceAddressesNet { } export declare function dataGcoreInstanceAddressesNetToTerraform(struct?: DataGcoreInstanceAddressesNet): any; export declare function dataGcoreInstanceAddressesNetToHclTerraform(struct?: DataGcoreInstanceAddressesNet): any; export declare class DataGcoreInstanceAddressesNetOutputReference 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(): DataGcoreInstanceAddressesNet | undefined; set internalValue(value: DataGcoreInstanceAddressesNet | undefined); get addr(): any; get type(): any; } export declare class DataGcoreInstanceAddressesNetList 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): DataGcoreInstanceAddressesNetOutputReference; } export interface DataGcoreInstanceAddresses { } export declare function dataGcoreInstanceAddressesToTerraform(struct?: DataGcoreInstanceAddresses): any; export declare function dataGcoreInstanceAddressesToHclTerraform(struct?: DataGcoreInstanceAddresses): any; export declare class DataGcoreInstanceAddressesOutputReference 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(): DataGcoreInstanceAddresses | undefined; set internalValue(value: DataGcoreInstanceAddresses | undefined); private _net; get net(): DataGcoreInstanceAddressesNetList; } export declare class DataGcoreInstanceAddressesList 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): DataGcoreInstanceAddressesOutputReference; } export interface DataGcoreInstanceInterface { } export declare function dataGcoreInstanceInterfaceToTerraform(struct?: DataGcoreInstanceInterface): any; export declare function dataGcoreInstanceInterfaceToHclTerraform(struct?: DataGcoreInstanceInterface): any; export declare class DataGcoreInstanceInterfaceOutputReference 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(): DataGcoreInstanceInterface | undefined; set internalValue(value: DataGcoreInstanceInterface | undefined); get ipAddress(): any; get networkId(): any; get portId(): any; get subnetId(): any; } export declare class DataGcoreInstanceInterfaceList 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): DataGcoreInstanceInterfaceOutputReference; } export interface DataGcoreInstanceMetadata { } export declare function dataGcoreInstanceMetadataToTerraform(struct?: DataGcoreInstanceMetadata): any; export declare function dataGcoreInstanceMetadataToHclTerraform(struct?: DataGcoreInstanceMetadata): any; export declare class DataGcoreInstanceMetadataOutputReference 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(): DataGcoreInstanceMetadata | undefined; set internalValue(value: DataGcoreInstanceMetadata | undefined); get key(): any; get value(): any; } export declare class DataGcoreInstanceMetadataList 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): DataGcoreInstanceMetadataOutputReference; } export interface DataGcoreInstanceSecurityGroup { } export declare function dataGcoreInstanceSecurityGroupToTerraform(struct?: DataGcoreInstanceSecurityGroup): any; export declare function dataGcoreInstanceSecurityGroupToHclTerraform(struct?: DataGcoreInstanceSecurityGroup): any; export declare class DataGcoreInstanceSecurityGroupOutputReference 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(): DataGcoreInstanceSecurityGroup | undefined; set internalValue(value: DataGcoreInstanceSecurityGroup | undefined); get name(): any; } export declare class DataGcoreInstanceSecurityGroupList 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): DataGcoreInstanceSecurityGroupOutputReference; } export interface DataGcoreInstanceVolume { } export declare function dataGcoreInstanceVolumeToTerraform(struct?: DataGcoreInstanceVolume): any; export declare function dataGcoreInstanceVolumeToHclTerraform(struct?: DataGcoreInstanceVolume): any; export declare class DataGcoreInstanceVolumeOutputReference 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(): DataGcoreInstanceVolume | undefined; set internalValue(value: DataGcoreInstanceVolume | undefined); get deleteOnTermination(): any; get volumeId(): any; } export declare class DataGcoreInstanceVolumeList 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): DataGcoreInstanceVolumeOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/instance gcore_instance} */ export declare class DataGcoreInstance extends cdktf.TerraformDataSource { static readonly tfResourceType = "gcore_instance"; /** * Generates CDKTF code for importing a DataGcoreInstance 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 DataGcoreInstance to import * @param importFromId The id of the existing DataGcoreInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGcoreInstance 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/instance gcore_instance} 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 DataGcoreInstanceConfig */ constructor(scope: Construct, id: string, config: DataGcoreInstanceConfig); private _addresses; get addresses(): DataGcoreInstanceAddressesList; private _flavor; get flavor(): any; get flavorId(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _interface; get interface(): DataGcoreInstanceInterfaceList; private _metadata; get metadata(): DataGcoreInstanceMetadataList; 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 _securityGroup; get securityGroup(): DataGcoreInstanceSecurityGroupList; get status(): any; get vmState(): any; private _volume; get volume(): DataGcoreInstanceVolumeList; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }