stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
Image datasource schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_image" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
image_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getImage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getImage(args: GetImageArgs, opts?: InvokeOptions): Promise<GetImageResult>
function getImageOutput(args: GetImageOutputArgs, opts?: InvokeOptions): Output<GetImageResult>def get_image(image_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetImageResult
def get_image_output(image_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetImageResult]func LookupImage(ctx *Context, args *LookupImageArgs, opts ...InvokeOption) (*LookupImageResult, error)
func LookupImageOutput(ctx *Context, args *LookupImageOutputArgs, opts ...InvokeOption) LookupImageResultOutput> Note: This function is named LookupImage in the Go SDK.
public static class GetImage
{
public static Task<GetImageResult> InvokeAsync(GetImageArgs args, InvokeOptions? opts = null)
public static Output<GetImageResult> Invoke(GetImageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
public static Output<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getImage:getImage
arguments:
# arguments dictionaryThe following arguments are supported:
- image_
id str - The image ID.
- project_
id str - STACKIT project ID to which the image is associated.
- region str
- The resource region. If not defined, the provider region is used.
getImage Result
The following output properties are available:
- Checksum
Get
Image Checksum - Representation of an image checksum.
- Config
Get
Image Config - Properties to set hardware and scheduling settings for an image.
- Disk
Format string - The disk format of the image.
- Id string
- Image
Id string - The image ID.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Min
Disk intSize - The minimum disk size of the image in GB.
- Min
Ram int - The minimum RAM of the image in MB.
- Name string
- The name of the image.
- Project
Id string - STACKIT project ID to which the image is associated.
- Protected bool
- Whether the image is protected.
- Scope string
- The scope of the image.
- Region string
- The resource region. If not defined, the provider region is used.
- Checksum
Get
Image Checksum - Representation of an image checksum.
- Config
Get
Image Config - Properties to set hardware and scheduling settings for an image.
- Disk
Format string - The disk format of the image.
- Id string
- Image
Id string - The image ID.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Min
Disk intSize - The minimum disk size of the image in GB.
- Min
Ram int - The minimum RAM of the image in MB.
- Name string
- The name of the image.
- Project
Id string - STACKIT project ID to which the image is associated.
- Protected bool
- Whether the image is protected.
- Scope string
- The scope of the image.
- Region string
- The resource region. If not defined, the provider region is used.
- checksum
Get
Image Checksum - Representation of an image checksum.
- config
Get
Image Config - Properties to set hardware and scheduling settings for an image.
- disk
Format String - The disk format of the image.
- id String
- image
Id String - The image ID.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- min
Disk IntegerSize - The minimum disk size of the image in GB.
- min
Ram Integer - The minimum RAM of the image in MB.
- name String
- The name of the image.
- project
Id String - STACKIT project ID to which the image is associated.
- protected_ Boolean
- Whether the image is protected.
- scope String
- The scope of the image.
- region String
- The resource region. If not defined, the provider region is used.
- checksum
Get
Image Checksum - Representation of an image checksum.
- config
Get
Image Config - Properties to set hardware and scheduling settings for an image.
- disk
Format string - The disk format of the image.
- id string
- image
Id string - The image ID.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- min
Disk numberSize - The minimum disk size of the image in GB.
- min
Ram number - The minimum RAM of the image in MB.
- name string
- The name of the image.
- project
Id string - STACKIT project ID to which the image is associated.
- protected boolean
- Whether the image is protected.
- scope string
- The scope of the image.
- region string
- The resource region. If not defined, the provider region is used.
- checksum
Get
Image Checksum - Representation of an image checksum.
- config
Get
Image Config - Properties to set hardware and scheduling settings for an image.
- disk_
format str - The disk format of the image.
- id str
- image_
id str - The image ID.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- min_
disk_ intsize - The minimum disk size of the image in GB.
- min_
ram int - The minimum RAM of the image in MB.
- name str
- The name of the image.
- project_
id str - STACKIT project ID to which the image is associated.
- protected bool
- Whether the image is protected.
- scope str
- The scope of the image.
- region str
- The resource region. If not defined, the provider region is used.
- checksum Property Map
- Representation of an image checksum.
- config Property Map
- Properties to set hardware and scheduling settings for an image.
- disk
Format String - The disk format of the image.
- id String
- image
Id String - The image ID.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- min
Disk NumberSize - The minimum disk size of the image in GB.
- min
Ram Number - The minimum RAM of the image in MB.
- name String
- The name of the image.
- project
Id String - STACKIT project ID to which the image is associated.
- protected Boolean
- Whether the image is protected.
- scope String
- The scope of the image.
- region String
- The resource region. If not defined, the provider region is used.
Supporting Types
GetImageChecksum
GetImageConfig
- bool
- Enables the BIOS bootmenu.
- Cdrom
Bus string - Sets CDROM bus controller type.
- Disk
Bus string - Sets Disk bus controller type.
- Nic
Model string - Sets virtual network interface model.
- Operating
System string - Enables operating system specific optimizations.
- Operating
System stringDistro - Operating system distribution.
- Operating
System stringVersion - Version of the operating system.
- Rescue
Bus string - Sets the device bus when the image is used as a rescue image.
- Rescue
Device string - Sets the device when the image is used as a rescue image.
- Secure
Boot bool - Enables Secure Boot.
- Uefi bool
- Enables UEFI boot.
- Video
Model string - Sets Graphic device model.
- Virtio
Scsi bool - Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.
- bool
- Enables the BIOS bootmenu.
- Cdrom
Bus string - Sets CDROM bus controller type.
- Disk
Bus string - Sets Disk bus controller type.
- Nic
Model string - Sets virtual network interface model.
- Operating
System string - Enables operating system specific optimizations.
- Operating
System stringDistro - Operating system distribution.
- Operating
System stringVersion - Version of the operating system.
- Rescue
Bus string - Sets the device bus when the image is used as a rescue image.
- Rescue
Device string - Sets the device when the image is used as a rescue image.
- Secure
Boot bool - Enables Secure Boot.
- Uefi bool
- Enables UEFI boot.
- Video
Model string - Sets Graphic device model.
- Virtio
Scsi bool - Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.
- Boolean
- Enables the BIOS bootmenu.
- cdrom
Bus String - Sets CDROM bus controller type.
- disk
Bus String - Sets Disk bus controller type.
- nic
Model String - Sets virtual network interface model.
- operating
System String - Enables operating system specific optimizations.
- operating
System StringDistro - Operating system distribution.
- operating
System StringVersion - Version of the operating system.
- rescue
Bus String - Sets the device bus when the image is used as a rescue image.
- rescue
Device String - Sets the device when the image is used as a rescue image.
- secure
Boot Boolean - Enables Secure Boot.
- uefi Boolean
- Enables UEFI boot.
- video
Model String - Sets Graphic device model.
- virtio
Scsi Boolean - Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.
- boolean
- Enables the BIOS bootmenu.
- cdrom
Bus string - Sets CDROM bus controller type.
- disk
Bus string - Sets Disk bus controller type.
- nic
Model string - Sets virtual network interface model.
- operating
System string - Enables operating system specific optimizations.
- operating
System stringDistro - Operating system distribution.
- operating
System stringVersion - Version of the operating system.
- rescue
Bus string - Sets the device bus when the image is used as a rescue image.
- rescue
Device string - Sets the device when the image is used as a rescue image.
- secure
Boot boolean - Enables Secure Boot.
- uefi boolean
- Enables UEFI boot.
- video
Model string - Sets Graphic device model.
- virtio
Scsi boolean - Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.
- bool
- Enables the BIOS bootmenu.
- cdrom_
bus str - Sets CDROM bus controller type.
- disk_
bus str - Sets Disk bus controller type.
- nic_
model str - Sets virtual network interface model.
- operating_
system str - Enables operating system specific optimizations.
- operating_
system_ strdistro - Operating system distribution.
- operating_
system_ strversion - Version of the operating system.
- rescue_
bus str - Sets the device bus when the image is used as a rescue image.
- rescue_
device str - Sets the device when the image is used as a rescue image.
- secure_
boot bool - Enables Secure Boot.
- uefi bool
- Enables UEFI boot.
- video_
model str - Sets Graphic device model.
- virtio_
scsi bool - Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.
- Boolean
- Enables the BIOS bootmenu.
- cdrom
Bus String - Sets CDROM bus controller type.
- disk
Bus String - Sets Disk bus controller type.
- nic
Model String - Sets virtual network interface model.
- operating
System String - Enables operating system specific optimizations.
- operating
System StringDistro - Operating system distribution.
- operating
System StringVersion - Version of the operating system.
- rescue
Bus String - Sets the device bus when the image is used as a rescue image.
- rescue
Device String - Sets the device when the image is used as a rescue image.
- secure
Boot Boolean - Enables Secure Boot.
- uefi Boolean
- Enables UEFI boot.
- video
Model String - Sets Graphic device model.
- virtio
Scsi Boolean - Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
