import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ReservedfixedipConfig extends cdktf.TerraformMetaArguments { /** * IP address of the port. Can be passed with type `ip_address` or retrieved after creation. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#fixed_ip_address Reservedfixedip#fixed_ip_address} */ readonly fixedIpAddress?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#id Reservedfixedip#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; /** * IP family of the reserved fixed ip to create. Available values are 'ipv4', 'ipv6', 'dual' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#ip_family Reservedfixedip#ip_family} */ readonly ipFamily?: string; /** * Flag to indicate whether the port is a virtual IP address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#is_vip Reservedfixedip#is_vip} */ readonly isVip?: boolean | cdktf.IResolvable; /** * ID of the desired network. Should be used together with `subnet_id`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#network_id Reservedfixedip#network_id} */ readonly networkId?: string; /** * ID of the port underlying the reserved fixed IP. Can be passed with type `port` or retrieved after creation. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#port_id Reservedfixedip#port_id} */ readonly portId?: string; /** * ID of the desired project to create reserved fixed ip in. Alternative for `project_name`. One of them should be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#project_id Reservedfixedip#project_id} */ readonly projectId?: number; /** * Name of the desired project to create reserved fixed ip in. Alternative for `project_id`. One of them should be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#project_name Reservedfixedip#project_name} */ readonly projectName?: string; /** * ID of the desired region to create reserved fixed ip in. Alternative for `region_name`. One of them should be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#region_id Reservedfixedip#region_id} */ readonly regionId?: number; /** * Name of the desired region to create reserved fixed ip in. Alternative for `region_id`. One of them should be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#region_name Reservedfixedip#region_name} */ readonly regionName?: string; /** * ID of the desired subnet. Can be used together with `network_id`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#subnet_id Reservedfixedip#subnet_id} */ readonly subnetId?: string; /** * Type of the reserved fixed ip for create. Available values are 'external', 'subnet', 'any_subnet', 'ip_address', 'port' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#type Reservedfixedip#type} */ readonly type: string; /** * allowed_address_pairs block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#allowed_address_pairs Reservedfixedip#allowed_address_pairs} */ readonly allowedAddressPairs?: ReservedfixedipAllowedAddressPairs[] | cdktf.IResolvable; } export interface ReservedfixedipAllowedAddressPairs { /** * IPv4 or IPv6 address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#ip_address Reservedfixedip#ip_address} */ readonly ipAddress?: string; /** * MAC address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#mac_address Reservedfixedip#mac_address} */ readonly macAddress?: string; } export declare function reservedfixedipAllowedAddressPairsToTerraform(struct?: ReservedfixedipAllowedAddressPairs | cdktf.IResolvable): any; export declare function reservedfixedipAllowedAddressPairsToHclTerraform(struct?: ReservedfixedipAllowedAddressPairs | cdktf.IResolvable): any; export declare class ReservedfixedipAllowedAddressPairsOutputReference 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(): ReservedfixedipAllowedAddressPairs | cdktf.IResolvable | undefined; set internalValue(value: ReservedfixedipAllowedAddressPairs | cdktf.IResolvable | undefined); private _ipAddress?; get ipAddress(): string; set ipAddress(value: string); resetIpAddress(): void; get ipAddressInput(): string; private _macAddress?; get macAddress(): string; set macAddress(value: string); resetMacAddress(): void; get macAddressInput(): string; } export declare class ReservedfixedipAllowedAddressPairsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ReservedfixedipAllowedAddressPairs[] | 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): ReservedfixedipAllowedAddressPairsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip gcore_reservedfixedip} */ export declare class Reservedfixedip extends cdktf.TerraformResource { static readonly tfResourceType = "gcore_reservedfixedip"; /** * Generates CDKTF code for importing a Reservedfixedip 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 Reservedfixedip to import * @param importFromId The id of the existing Reservedfixedip that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/reservedfixedip#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Reservedfixedip 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/reservedfixedip gcore_reservedfixedip} 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 ReservedfixedipConfig */ constructor(scope: Construct, id: string, config: ReservedfixedipConfig); private _fixedIpAddress?; get fixedIpAddress(): string; set fixedIpAddress(value: string); resetFixedIpAddress(): void; get fixedIpAddressInput(): string; get fixedIpv6Address(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ipFamily?; get ipFamily(): string; set ipFamily(value: string); resetIpFamily(): void; get ipFamilyInput(): string; private _isVip?; get isVip(): boolean | cdktf.IResolvable; set isVip(value: boolean | cdktf.IResolvable); resetIsVip(): void; get isVipInput(): any; get lastUpdated(): any; private _networkId?; get networkId(): string; set networkId(value: string); resetNetworkId(): void; get networkIdInput(): string; private _portId?; get portId(): string; set portId(value: string); resetPortId(): void; get portIdInput(): 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; get status(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; get subnetV6Id(): any; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _allowedAddressPairs; get allowedAddressPairs(): ReservedfixedipAllowedAddressPairsList; putAllowedAddressPairs(value: ReservedfixedipAllowedAddressPairs[] | cdktf.IResolvable): void; resetAllowedAddressPairs(): void; get allowedAddressPairsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }