import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface InstanceConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#allow_app_ports Instance#allow_app_ports} */ readonly allowAppPorts?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#flavor Instance#flavor} */ readonly flavor?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#flavor_id Instance#flavor_id} */ readonly flavorId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#id Instance#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/resources/instance#keypair_name Instance#keypair_name} */ readonly keypairName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#last_updated Instance#last_updated} */ readonly lastUpdated?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#metadata_map Instance#metadata_map} */ readonly metadataMap?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#name Instance#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#name_template Instance#name_template} */ readonly nameTemplate?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#name_templates Instance#name_templates} */ readonly nameTemplates?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#password Instance#password} */ readonly password?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#project_id Instance#project_id} */ readonly projectId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#project_name Instance#project_name} */ readonly projectName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#region_id Instance#region_id} */ readonly regionId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#region_name Instance#region_name} */ readonly regionName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#server_group Instance#server_group} */ readonly serverGroup?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#status Instance#status} */ readonly status?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#user_data Instance#user_data} */ readonly userData?: string; /** * **Deprecated** * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#userdata Instance#userdata} */ readonly userdata?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#username Instance#username} */ readonly username?: string; /** * Current vm state, use stopped to stop vm and active to start * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#vm_state Instance#vm_state} */ readonly vmState?: string; /** * addresses block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#addresses Instance#addresses} */ readonly addresses?: InstanceAddresses[] | cdktf.IResolvable; /** * configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#configuration Instance#configuration} */ readonly configuration?: InstanceConfiguration[] | cdktf.IResolvable; /** * interface block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#interface Instance#interface} */ readonly interface: InstanceInterface[] | cdktf.IResolvable; /** * metadata block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#metadata Instance#metadata} */ readonly metadata?: InstanceMetadata[] | cdktf.IResolvable; /** * volume block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#volume Instance#volume} */ readonly volume?: InstanceVolume[] | cdktf.IResolvable; } export interface InstanceSecurityGroup { } export declare function instanceSecurityGroupToTerraform(struct?: InstanceSecurityGroup): any; export declare function instanceSecurityGroupToHclTerraform(struct?: InstanceSecurityGroup): any; export declare class InstanceSecurityGroupOutputReference 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(): InstanceSecurityGroup | undefined; set internalValue(value: InstanceSecurityGroup | undefined); get id(): any; get name(): any; } export declare class InstanceSecurityGroupList 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): InstanceSecurityGroupOutputReference; } export interface InstanceAddressesNet { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#addr Instance#addr} */ readonly addr: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#type Instance#type} */ readonly type: string; } export declare function instanceAddressesNetToTerraform(struct?: InstanceAddressesNet | cdktf.IResolvable): any; export declare function instanceAddressesNetToHclTerraform(struct?: InstanceAddressesNet | cdktf.IResolvable): any; export declare class InstanceAddressesNetOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): InstanceAddressesNet | cdktf.IResolvable | undefined; set internalValue(value: InstanceAddressesNet | cdktf.IResolvable | undefined); private _addr?; get addr(): string; set addr(value: string); get addrInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; } export declare class InstanceAddressesNetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: InstanceAddressesNet[] | cdktf.IResolvable; /** * @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): InstanceAddressesNetOutputReference; } export interface InstanceAddresses { /** * net block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#net Instance#net} */ readonly net: InstanceAddressesNet[] | cdktf.IResolvable; } export declare function instanceAddressesToTerraform(struct?: InstanceAddresses | cdktf.IResolvable): any; export declare function instanceAddressesToHclTerraform(struct?: InstanceAddresses | cdktf.IResolvable): any; export declare class InstanceAddressesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): InstanceAddresses | cdktf.IResolvable | undefined; set internalValue(value: InstanceAddresses | cdktf.IResolvable | undefined); private _net; get net(): InstanceAddressesNetList; putNet(value: InstanceAddressesNet[] | cdktf.IResolvable): void; get netInput(): any; } export declare class InstanceAddressesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: InstanceAddresses[] | cdktf.IResolvable; /** * @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): InstanceAddressesOutputReference; } export interface InstanceConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#key Instance#key} */ readonly key: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#value Instance#value} */ readonly value: string; } export declare function instanceConfigurationToTerraform(struct?: InstanceConfiguration | cdktf.IResolvable): any; export declare function instanceConfigurationToHclTerraform(struct?: InstanceConfiguration | cdktf.IResolvable): any; export declare class InstanceConfigurationOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): InstanceConfiguration | cdktf.IResolvable | undefined; set internalValue(value: InstanceConfiguration | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class InstanceConfigurationList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: InstanceConfiguration[] | cdktf.IResolvable; /** * @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): InstanceConfigurationOutputReference; } export interface InstanceInterface { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#existing_fip_id Instance#existing_fip_id} */ readonly existingFipId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#fip_source Instance#fip_source} */ readonly fipSource?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#ip_address Instance#ip_address} */ readonly ipAddress?: string; /** * required if type is 'subnet' or 'any_subnet' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#network_id Instance#network_id} */ readonly networkId?: string; /** * Order of attaching interface * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#order Instance#order} */ readonly order?: number; /** * required if type is 'reserved_fixed_ip' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#port_id Instance#port_id} */ readonly portId?: string; /** * list of security group IDs * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#security_groups Instance#security_groups} */ readonly securityGroups?: string[]; /** * required if type is 'subnet' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#subnet_id Instance#subnet_id} */ readonly subnetId?: string; /** * Available value is 'subnet', 'any_subnet', 'external', 'reserved_fixed_ip' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#type Instance#type} */ readonly type?: string; } export declare function instanceInterfaceToTerraform(struct?: InstanceInterface | cdktf.IResolvable): any; export declare function instanceInterfaceToHclTerraform(struct?: InstanceInterface | cdktf.IResolvable): any; export declare class InstanceInterfaceOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): InstanceInterface | cdktf.IResolvable | undefined; set internalValue(value: InstanceInterface | cdktf.IResolvable | undefined); private _existingFipId?; get existingFipId(): string; set existingFipId(value: string); resetExistingFipId(): void; get existingFipIdInput(): string; private _fipSource?; get fipSource(): string; set fipSource(value: string); resetFipSource(): void; get fipSourceInput(): string; private _ipAddress?; get ipAddress(): string; set ipAddress(value: string); resetIpAddress(): void; get ipAddressInput(): string; private _networkId?; get networkId(): string; set networkId(value: string); resetNetworkId(): void; get networkIdInput(): string; private _order?; get order(): number; set order(value: number); resetOrder(): void; get orderInput(): number; private _portId?; get portId(): string; set portId(value: string); resetPortId(): void; get portIdInput(): string; private _securityGroups?; get securityGroups(): string[]; set securityGroups(value: string[]); resetSecurityGroups(): void; get securityGroupsInput(): string[]; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string; } export declare class InstanceInterfaceList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: InstanceInterface[] | cdktf.IResolvable; /** * @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): InstanceInterfaceOutputReference; } export interface InstanceMetadata { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#key Instance#key} */ readonly key: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#value Instance#value} */ readonly value: string; } export declare function instanceMetadataToTerraform(struct?: InstanceMetadata | cdktf.IResolvable): any; export declare function instanceMetadataToHclTerraform(struct?: InstanceMetadata | cdktf.IResolvable): any; export declare class InstanceMetadataOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): InstanceMetadata | cdktf.IResolvable | undefined; set internalValue(value: InstanceMetadata | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class InstanceMetadataList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: InstanceMetadata[] | cdktf.IResolvable; /** * @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): InstanceMetadataOutputReference; } export interface InstanceVolume { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#attachment_tag Instance#attachment_tag} */ readonly attachmentTag?: string; /** * If boot_index==0 volumes can not detached * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#boot_index Instance#boot_index} */ readonly bootIndex?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#delete_on_termination Instance#delete_on_termination} */ readonly deleteOnTermination?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#id Instance#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/resources/instance#image_id Instance#image_id} */ readonly imageId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#name Instance#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#size Instance#size} */ readonly size?: number; /** * Currently available only 'existing-volume' value * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#source Instance#source} */ readonly source: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#type_name Instance#type_name} */ readonly typeName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#volume_id Instance#volume_id} */ readonly volumeId?: string; } export declare function instanceVolumeToTerraform(struct?: InstanceVolume | cdktf.IResolvable): any; export declare function instanceVolumeToHclTerraform(struct?: InstanceVolume | cdktf.IResolvable): any; export declare class InstanceVolumeOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): InstanceVolume | cdktf.IResolvable | undefined; set internalValue(value: InstanceVolume | cdktf.IResolvable | undefined); private _attachmentTag?; get attachmentTag(): string; set attachmentTag(value: string); resetAttachmentTag(): void; get attachmentTagInput(): string; private _bootIndex?; get bootIndex(): number; set bootIndex(value: number); resetBootIndex(): void; get bootIndexInput(): number; private _deleteOnTermination?; get deleteOnTermination(): boolean | cdktf.IResolvable; set deleteOnTermination(value: boolean | cdktf.IResolvable); resetDeleteOnTermination(): void; get deleteOnTerminationInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _imageId?; get imageId(): string; set imageId(value: string); resetImageId(): void; get imageIdInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _size?; get size(): number; set size(value: number); resetSize(): void; get sizeInput(): number; private _source?; get source(): string; set source(value: string); get sourceInput(): string; private _typeName?; get typeName(): string; set typeName(value: string); resetTypeName(): void; get typeNameInput(): string; private _volumeId?; get volumeId(): string; set volumeId(value: string); resetVolumeId(): void; get volumeIdInput(): string; } export declare class InstanceVolumeList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: InstanceVolume[] | cdktf.IResolvable; /** * @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): InstanceVolumeOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance gcore_instance} */ export declare class Instance extends cdktf.TerraformResource { static readonly tfResourceType = "gcore_instance"; /** * Generates CDKTF code for importing a Instance 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 Instance to import * @param importFromId The id of the existing Instance that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Instance 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/resources/instance gcore_instance} Resource * * @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 InstanceConfig */ constructor(scope: Construct, id: string, config: InstanceConfig); private _allowAppPorts?; get allowAppPorts(): boolean | cdktf.IResolvable; set allowAppPorts(value: boolean | cdktf.IResolvable); resetAllowAppPorts(): void; get allowAppPortsInput(): any; private _flavor?; get flavor(): { [key: string]: string; }; set flavor(value: { [key: string]: string; }); resetFlavor(): void; get flavorInput(): { [key: string]: string; }; private _flavorId?; get flavorId(): string; set flavorId(value: string); get flavorIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _keypairName?; get keypairName(): string; set keypairName(value: string); resetKeypairName(): void; get keypairNameInput(): string; private _lastUpdated?; get lastUpdated(): string; set lastUpdated(value: string); resetLastUpdated(): void; get lastUpdatedInput(): string; private _metadataMap?; get metadataMap(): { [key: string]: string; }; set metadataMap(value: { [key: string]: string; }); resetMetadataMap(): void; get metadataMapInput(): { [key: string]: string; }; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _nameTemplate?; get nameTemplate(): string; set nameTemplate(value: string); resetNameTemplate(): void; get nameTemplateInput(): string; private _nameTemplates?; get nameTemplates(): string[]; set nameTemplates(value: string[]); resetNameTemplates(): void; get nameTemplatesInput(): string[]; private _password?; get password(): string; set password(value: string); resetPassword(): void; get passwordInput(): 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(): InstanceSecurityGroupList; private _serverGroup?; get serverGroup(): string; set serverGroup(value: string); resetServerGroup(): void; get serverGroupInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; private _userData?; get userData(): string; set userData(value: string); resetUserData(): void; get userDataInput(): string; private _userdata?; get userdata(): string; set userdata(value: string); resetUserdata(): void; get userdataInput(): string; private _username?; get username(): string; set username(value: string); resetUsername(): void; get usernameInput(): string; private _vmState?; get vmState(): string; set vmState(value: string); resetVmState(): void; get vmStateInput(): string; private _addresses; get addresses(): InstanceAddressesList; putAddresses(value: InstanceAddresses[] | cdktf.IResolvable): void; resetAddresses(): void; get addressesInput(): any; private _configuration; get configuration(): InstanceConfigurationList; putConfiguration(value: InstanceConfiguration[] | cdktf.IResolvable): void; resetConfiguration(): void; get configurationInput(): any; private _interface; get interface(): InstanceInterfaceList; putInterface(value: InstanceInterface[] | cdktf.IResolvable): void; get interfaceInput(): any; private _metadata; get metadata(): InstanceMetadataList; putMetadata(value: InstanceMetadata[] | cdktf.IResolvable): void; resetMetadata(): void; get metadataInput(): any; private _volume; get volume(): InstanceVolumeList; putVolume(value: InstanceVolume[] | cdktf.IResolvable): void; resetVolume(): void; get volumeInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }