1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. getComputeImageV2
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel

    Provides an image in Cloud Servers. The data source searches active images visible to the project and returns exactly one. A search that returns no images fails. A search that returns several images fails unless most_recent is true. For more information about images, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const image1 = selectel.getComputeImageV2({
        projectId: project1.id,
        region: "ru-6",
        name: "Ubuntu 24.04 LTS 64-bit",
        visibility: "public",
        mostRecent: true,
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    image1 = selectel.get_compute_image_v2(project_id=project1["id"],
        region="ru-6",
        name="Ubuntu 24.04 LTS 64-bit",
        visibility="public",
        most_recent=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v9/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.LookupComputeImageV2(ctx, &selectel.LookupComputeImageV2Args{
    			ProjectId:  project1.Id,
    			Region:     "ru-6",
    			Name:       pulumi.StringRef("Ubuntu 24.04 LTS 64-bit"),
    			Visibility: pulumi.StringRef("public"),
    			MostRecent: pulumi.BoolRef(true),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var image1 = Selectel.GetComputeImageV2.Invoke(new()
        {
            ProjectId = project1.Id,
            Region = "ru-6",
            Name = "Ubuntu 24.04 LTS 64-bit",
            Visibility = "public",
            MostRecent = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.SelectelFunctions;
    import com.pulumi.selectel.inputs.GetComputeImageV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var image1 = SelectelFunctions.getComputeImageV2(GetComputeImageV2Args.builder()
                .projectId(project1.id())
                .region("ru-6")
                .name("Ubuntu 24.04 LTS 64-bit")
                .visibility("public")
                .mostRecent(true)
                .build());
    
        }
    }
    
    variables:
      image1:
        fn::invoke:
          function: selectel:getComputeImageV2
          arguments:
            projectId: ${project1.id}
            region: ru-6
            name: Ubuntu 24.04 LTS 64-bit
            visibility: public
            mostRecent: true
    
    Example coming soon!
    

    Using getComputeImageV2

    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 getComputeImageV2(args: GetComputeImageV2Args, opts?: InvokeOptions): Promise<GetComputeImageV2Result>
    function getComputeImageV2Output(args: GetComputeImageV2OutputArgs, opts?: InvokeOutputOptions): Output<GetComputeImageV2Result>
    def get_compute_image_v2(container_format: Optional[str] = None,
                             disk_format: Optional[str] = None,
                             hidden: Optional[bool] = None,
                             member_status: Optional[str] = None,
                             most_recent: Optional[bool] = None,
                             name: Optional[str] = None,
                             name_regex: Optional[str] = None,
                             owner: Optional[str] = None,
                             project_id: Optional[str] = None,
                             properties: Optional[Mapping[str, str]] = None,
                             region: Optional[str] = None,
                             size_max: Optional[float] = None,
                             size_min: Optional[float] = None,
                             tag: Optional[str] = None,
                             tags: Optional[Sequence[str]] = None,
                             visibility: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetComputeImageV2Result
    def get_compute_image_v2_output(container_format: pulumi.Input[Optional[str]] = None,
                             disk_format: pulumi.Input[Optional[str]] = None,
                             hidden: pulumi.Input[Optional[bool]] = None,
                             member_status: pulumi.Input[Optional[str]] = None,
                             most_recent: pulumi.Input[Optional[bool]] = None,
                             name: pulumi.Input[Optional[str]] = None,
                             name_regex: pulumi.Input[Optional[str]] = None,
                             owner: pulumi.Input[Optional[str]] = None,
                             project_id: pulumi.Input[Optional[str]] = None,
                             properties: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                             region: pulumi.Input[Optional[str]] = None,
                             size_max: pulumi.Input[Optional[float]] = None,
                             size_min: pulumi.Input[Optional[float]] = None,
                             tag: pulumi.Input[Optional[str]] = None,
                             tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                             visibility: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetComputeImageV2Result]
    func LookupComputeImageV2(ctx *Context, args *LookupComputeImageV2Args, opts ...InvokeOption) (*LookupComputeImageV2Result, error)
    func LookupComputeImageV2Output(ctx *Context, args *LookupComputeImageV2OutputArgs, opts ...InvokeOption) LookupComputeImageV2ResultOutput

    > Note: This function is named LookupComputeImageV2 in the Go SDK.

    public static class GetComputeImageV2 
    {
        public static Task<GetComputeImageV2Result> InvokeAsync(GetComputeImageV2Args args, InvokeOptions? opts = null)
        public static Output<GetComputeImageV2Result> Invoke(GetComputeImageV2InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetComputeImageV2Result> Invoke(GetComputeImageV2InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetComputeImageV2Result> getComputeImageV2(GetComputeImageV2Args args, InvokeOptions options)
    public static Output<GetComputeImageV2Result> getComputeImageV2(GetComputeImageV2Args args, InvokeOptions options)
    public static Output<GetComputeImageV2Result> getComputeImageV2(GetComputeImageV2Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: selectel:index/getComputeImageV2:getComputeImageV2
      arguments:
        # arguments dictionary
    data "selectel_get_compute_image_v2" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    ContainerFormat string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    DiskFormat string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    Hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    MemberStatus string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    MostRecent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    Name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    NameRegex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    Owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    Properties Dictionary<string, string>
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    SizeMax double
    Maximum size of the image data in bytes. The minimum value is 0.
    SizeMin double
    Minimum size of the image data in bytes. The minimum value is 0.
    Tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    Tags List<string>
    Set of tags that the image must have. The data source returns all tags of the selected image.
    Visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    ContainerFormat string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    DiskFormat string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    Hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    MemberStatus string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    MostRecent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    Name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    NameRegex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    Owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    Properties map[string]string
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    SizeMax float64
    Maximum size of the image data in bytes. The minimum value is 0.
    SizeMin float64
    Minimum size of the image data in bytes. The minimum value is 0.
    Tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    Tags []string
    Set of tags that the image must have. The data source returns all tags of the selected image.
    Visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    project_id string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    container_format string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    disk_format string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    member_status string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    most_recent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    name_regex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    properties map(string)
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    size_max number
    Maximum size of the image data in bytes. The minimum value is 0.
    size_min number
    Minimum size of the image data in bytes. The minimum value is 0.
    tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    tags list(string)
    Set of tags that the image must have. The data source returns all tags of the selected image.
    visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region String
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    containerFormat String
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    diskFormat String
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden Boolean
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    memberStatus String
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    mostRecent Boolean
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    name String
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    nameRegex String
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    owner String
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    properties Map<String,String>
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    sizeMax Double
    Maximum size of the image data in bytes. The minimum value is 0.
    sizeMin Double
    Minimum size of the image data in bytes. The minimum value is 0.
    tag String
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    tags List<String>
    Set of tags that the image must have. The data source returns all tags of the selected image.
    visibility String
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    projectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    containerFormat string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    diskFormat string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden boolean
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    memberStatus string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    mostRecent boolean
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    nameRegex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    properties {[key: string]: string}
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    sizeMax number
    Maximum size of the image data in bytes. The minimum value is 0.
    sizeMin number
    Minimum size of the image data in bytes. The minimum value is 0.
    tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    tags string[]
    Set of tags that the image must have. The data source returns all tags of the selected image.
    visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    project_id str
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region str
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    container_format str
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    disk_format str
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    member_status str
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    most_recent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    name str
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    name_regex str
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    owner str
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    properties Mapping[str, str]
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    size_max float
    Maximum size of the image data in bytes. The minimum value is 0.
    size_min float
    Minimum size of the image data in bytes. The minimum value is 0.
    tag str
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    tags Sequence[str]
    Set of tags that the image must have. The data source returns all tags of the selected image.
    visibility str
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region String
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    containerFormat String
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    diskFormat String
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden Boolean
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    memberStatus String
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    mostRecent Boolean
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    name String
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    nameRegex String
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    owner String
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    properties Map<String>
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    sizeMax Number
    Maximum size of the image data in bytes. The minimum value is 0.
    sizeMin Number
    Minimum size of the image data in bytes. The minimum value is 0.
    tag String
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    tags List<String>
    Set of tags that the image must have. The data source returns all tags of the selected image.
    visibility String
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.

    getComputeImageV2 Result

    The following output properties are available:

    Checksum string
    MD5 checksum of the image data.
    ContainerFormat string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    CreatedAt string
    Time when the image was created in the RFC 3339 format.
    DiskFormat string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    Hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    Id string
    Unique identifier of the image.
    MinDiskGb double
    Minimum disk size in GB required to boot the image.
    MinRamMb double
    Minimum RAM in MB required to boot the image.
    Name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    Owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Properties Dictionary<string, string>
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    Protected bool
    Whether the image is protected from deletion.
    Region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    SizeBytes double
    Size of the image data in bytes.
    Tags List<string>
    Set of tags that the image must have. The data source returns all tags of the selected image.
    UpdatedAt string
    Time when the image was last updated in the RFC 3339 format.
    Visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    MemberStatus string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    MostRecent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    NameRegex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    SizeMax double
    Maximum size of the image data in bytes. The minimum value is 0.
    SizeMin double
    Minimum size of the image data in bytes. The minimum value is 0.
    Tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    Checksum string
    MD5 checksum of the image data.
    ContainerFormat string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    CreatedAt string
    Time when the image was created in the RFC 3339 format.
    DiskFormat string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    Hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    Id string
    Unique identifier of the image.
    MinDiskGb float64
    Minimum disk size in GB required to boot the image.
    MinRamMb float64
    Minimum RAM in MB required to boot the image.
    Name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    Owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Properties map[string]string
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    Protected bool
    Whether the image is protected from deletion.
    Region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    SizeBytes float64
    Size of the image data in bytes.
    Tags []string
    Set of tags that the image must have. The data source returns all tags of the selected image.
    UpdatedAt string
    Time when the image was last updated in the RFC 3339 format.
    Visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    MemberStatus string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    MostRecent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    NameRegex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    SizeMax float64
    Maximum size of the image data in bytes. The minimum value is 0.
    SizeMin float64
    Minimum size of the image data in bytes. The minimum value is 0.
    Tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    checksum string
    MD5 checksum of the image data.
    container_format string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    created_at string
    Time when the image was created in the RFC 3339 format.
    disk_format string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    id string
    Unique identifier of the image.
    min_disk_gb number
    Minimum disk size in GB required to boot the image.
    min_ram_mb number
    Minimum RAM in MB required to boot the image.
    name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    project_id string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    properties map(string)
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    protected bool
    Whether the image is protected from deletion.
    region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    size_bytes number
    Size of the image data in bytes.
    tags list(string)
    Set of tags that the image must have. The data source returns all tags of the selected image.
    updated_at string
    Time when the image was last updated in the RFC 3339 format.
    visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    member_status string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    most_recent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    name_regex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    size_max number
    Maximum size of the image data in bytes. The minimum value is 0.
    size_min number
    Minimum size of the image data in bytes. The minimum value is 0.
    tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    checksum String
    MD5 checksum of the image data.
    containerFormat String
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    createdAt String
    Time when the image was created in the RFC 3339 format.
    diskFormat String
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden Boolean
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    id String
    Unique identifier of the image.
    minDiskGb Double
    Minimum disk size in GB required to boot the image.
    minRamMb Double
    Minimum RAM in MB required to boot the image.
    name String
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    owner String
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    properties Map<String,String>
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    protected_ Boolean
    Whether the image is protected from deletion.
    region String
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    sizeBytes Double
    Size of the image data in bytes.
    tags List<String>
    Set of tags that the image must have. The data source returns all tags of the selected image.
    updatedAt String
    Time when the image was last updated in the RFC 3339 format.
    visibility String
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    memberStatus String
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    mostRecent Boolean
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    nameRegex String
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    sizeMax Double
    Maximum size of the image data in bytes. The minimum value is 0.
    sizeMin Double
    Minimum size of the image data in bytes. The minimum value is 0.
    tag String
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    checksum string
    MD5 checksum of the image data.
    containerFormat string
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    createdAt string
    Time when the image was created in the RFC 3339 format.
    diskFormat string
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden boolean
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    id string
    Unique identifier of the image.
    minDiskGb number
    Minimum disk size in GB required to boot the image.
    minRamMb number
    Minimum RAM in MB required to boot the image.
    name string
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    owner string
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    projectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    properties {[key: string]: string}
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    protected boolean
    Whether the image is protected from deletion.
    region string
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    sizeBytes number
    Size of the image data in bytes.
    tags string[]
    Set of tags that the image must have. The data source returns all tags of the selected image.
    updatedAt string
    Time when the image was last updated in the RFC 3339 format.
    visibility string
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    memberStatus string
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    mostRecent boolean
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    nameRegex string
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    sizeMax number
    Maximum size of the image data in bytes. The minimum value is 0.
    sizeMin number
    Minimum size of the image data in bytes. The minimum value is 0.
    tag string
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    checksum str
    MD5 checksum of the image data.
    container_format str
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    created_at str
    Time when the image was created in the RFC 3339 format.
    disk_format str
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden bool
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    id str
    Unique identifier of the image.
    min_disk_gb float
    Minimum disk size in GB required to boot the image.
    min_ram_mb float
    Minimum RAM in MB required to boot the image.
    name str
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    owner str
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    project_id str
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    properties Mapping[str, str]
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    protected bool
    Whether the image is protected from deletion.
    region str
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    size_bytes float
    Size of the image data in bytes.
    tags Sequence[str]
    Set of tags that the image must have. The data source returns all tags of the selected image.
    updated_at str
    Time when the image was last updated in the RFC 3339 format.
    visibility str
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    member_status str
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    most_recent bool
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    name_regex str
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    size_max float
    Maximum size of the image data in bytes. The minimum value is 0.
    size_min float
    Minimum size of the image data in bytes. The minimum value is 0.
    tag str
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.
    checksum String
    MD5 checksum of the image data.
    containerFormat String
    Container format of the image to search for. Available values are bare, ovf, aki, ari, ami, ova, docker, and compressed. If omitted, the data source returns the container format of the selected image. Learn more about supported formats.
    createdAt String
    Time when the image was created in the RFC 3339 format.
    diskFormat String
    Disk format of the image to search for. Available values are raw, vhd, vhdx, vmdk, vdi, iso, ploop, qcow2, aki, ari, and ami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats.
    hidden Boolean
    Specifies if the data source searches hidden images. If omitted or false, only images that are not hidden are found. If true, only hidden images are found. The data source returns whether the selected image is hidden.
    id String
    Unique identifier of the image.
    minDiskGb Number
    Minimum disk size in GB required to boot the image.
    minRamMb Number
    Minimum RAM in MB required to boot the image.
    name String
    Exact image name to search for. The minimum length is 1 character. This argument conflicts with name_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI command openstack image list and copy the Name field.
    owner String
    Unique identifier of the project that owns the image. The minimum length is 1 character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI command openstack image list --long and copy the Project field.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    properties Map<String>
    Key-value pairs that the image properties must contain. The provider applies this filter to the images found by the other filters. The data source returns all properties of the selected image.
    protected Boolean
    Whether the image is protected from deletion.
    region String
    Pool where the image is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    sizeBytes Number
    Size of the image data in bytes.
    tags List<String>
    Set of tags that the image must have. The data source returns all tags of the selected image.
    updatedAt String
    Time when the image was last updated in the RFC 3339 format.
    visibility String
    Visibility of the image to search for. Available values are public, private, shared, and community. If omitted, the data source searches public images, images of the project, and shared images that the project accepted. Community images of other projects are found only with visibility = "community". The data source returns the visibility of the selected image. Learn more about image sharing.
    memberStatus String
    Status of the project access to shared images to search for. Available values are accepted, pending, rejected, and all. If omitted, only shared images with accepted access are found.
    mostRecent Boolean
    Specifies if the data source selects the image with the latest created_at timestamp when several images match. Equal timestamps are resolved by the lexicographically smallest id. If omitted or false, the search must return exactly one image.
    nameRegex String
    Regular expression that the image name must match. The value must be a regular expression in the RE2 syntax. This argument conflicts with name. The provider applies this filter to the images found by the other filters.
    sizeMax Number
    Maximum size of the image data in bytes. The minimum value is 0.
    sizeMin Number
    Minimum size of the image data in bytes. The minimum value is 0.
    tag String
    Tag that the image must have. The minimum length is 1 character. Use tags to search by several tags. Both arguments can be set.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel
    Viewing docs for selectel 9.5.0
    published on Friday, Oct 30, 2026 by selectel

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial