Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
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 dictionarydata "selectel_get_compute_image_v2" "name" {
# arguments
}The following arguments are supported:
- 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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, 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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, the search must return exactly one image. - Name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - 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
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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.
- Size
Max double - Maximum size of the image data in bytes. The minimum value is
0. - Size
Min 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
1character. Usetagsto search by several tags. Both arguments can be set. - 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, andcommunity. 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 withvisibility = "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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, 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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, the search must return exactly one image. - Name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - 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
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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.
- Size
Max float64 - Maximum size of the image data in bytes. The minimum value is
0. - Size
Min 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
1character. Usetagsto search by several tags. Both arguments can be set. - []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, andcommunity. 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 withvisibility = "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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, 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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, the search must return exactly one image. - name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - 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
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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
1character. Usetagsto search by several tags. Both arguments can be set. - 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, andcommunity. 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 withvisibility = "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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - Boolean
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, 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, andall. If omitted, only shared images with accepted access are found. - most
Recent Boolean - Specifies if the data source selects the image with the latest
created_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, the search must return exactly one image. - name String
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - 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
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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.
- size
Max Double - Maximum size of the image data in bytes. The minimum value is
0. - size
Min 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
1character. Usetagsto search by several tags. Both arguments can be set. - 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, andcommunity. 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 withvisibility = "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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - boolean
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, 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, andall. If omitted, only shared images with accepted access are found. - most
Recent boolean - Specifies if the data source selects the image with the latest
created_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, the search must return exactly one image. - name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - 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
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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.
- 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
1character. Usetagsto search by several tags. Both arguments can be set. - 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, andcommunity. 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 withvisibility = "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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, 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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, the search must return exactly one image. - name str
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - 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
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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
1character. Usetagsto search by several tags. Both arguments can be set. - 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, andcommunity. 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 withvisibility = "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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - Boolean
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, 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, andall. If omitted, only shared images with accepted access are found. - most
Recent Boolean - Specifies if the data source selects the image with the latest
created_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, the search must return exactly one image. - name String
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - 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
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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
1character. Usetagsto search by several tags. Both arguments can be set. - 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, andcommunity. 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 withvisibility = "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.
- Container
Format string - Container format of the image to search for. Available values are
bare,ovf,aki,ari,ami,ova,docker, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, only hidden images are found. The data source returns whether the selected image is hidden. - Id string
- Unique identifier of the image.
- Min
Disk doubleGb - Minimum disk size in GB required to boot the image.
- Min
Ram doubleMb - Minimum RAM in MB required to boot the image.
- Name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - Owner string
- Unique identifier of the project that owns the image. The minimum length is
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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 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. - Size
Bytes double - Size of the image data in bytes.
- 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, andcommunity. 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 withvisibility = "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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, 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 double - Maximum size of the image data in bytes. The minimum value is
0. - Size
Min 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
1character. Usetagsto 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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, only hidden images are found. The data source returns whether the selected image is hidden. - Id string
- Unique identifier of the image.
- Min
Disk float64Gb - Minimum disk size in GB required to boot the image.
- Min
Ram float64Mb - Minimum RAM in MB required to boot the image.
- Name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - Owner string
- Unique identifier of the project that owns the image. The minimum length is
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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]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 float64 - Size of the image data in bytes.
- []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, andcommunity. 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 withvisibility = "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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, 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 float64 - Maximum size of the image data in bytes. The minimum value is
0. - Size
Min 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
1character. Usetagsto 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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, only hidden images are found. The data source returns whether the selected image is hidden. - id string
- Unique identifier of the image.
- min_
disk_ numbergb - Minimum disk size in GB required to boot the image.
- min_
ram_ numbermb - Minimum RAM in MB required to boot the image.
- name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - owner string
- Unique identifier of the project that owns the image. The minimum length is
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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.
- 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, andcommunity. 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 withvisibility = "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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, 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
1character. Usetagsto 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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - Boolean
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, only hidden images are found. The data source returns whether the selected image is hidden. - id String
- Unique identifier of the image.
- min
Disk DoubleGb - Minimum disk size in GB required to boot the image.
- min
Ram DoubleMb - Minimum RAM in MB required to boot the image.
- name String
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - owner String
- Unique identifier of the project that owns the image. The minimum length is
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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,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. - size
Bytes Double - Size of the image data in bytes.
- 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, andcommunity. 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 withvisibility = "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, andall. If omitted, only shared images with accepted access are found. - most
Recent Boolean - Specifies if the data source selects the image with the latest
created_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, 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 Double - Maximum size of the image data in bytes. The minimum value is
0. - size
Min 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
1character. Usetagsto 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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - boolean
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, only hidden images are found. The data source returns whether the selected image is hidden. - id string
- Unique identifier of the image.
- min
Disk numberGb - Minimum disk size in GB required to boot the image.
- min
Ram numberMb - Minimum RAM in MB required to boot the image.
- name string
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - owner string
- Unique identifier of the project that owns the image. The minimum length is
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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 {[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. - size
Bytes number - Size of the image data in bytes.
- 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, andcommunity. 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 withvisibility = "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, andall. If omitted, only shared images with accepted access are found. - most
Recent boolean - Specifies if the data source selects the image with the latest
created_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, 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
1character. Usetagsto 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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - bool
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, only hidden images are found. The data source returns whether the selected image is hidden. - id str
- Unique identifier of the image.
- min_
disk_ floatgb - Minimum disk size in GB required to boot the image.
- min_
ram_ floatmb - Minimum RAM in MB required to boot the image.
- name str
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - owner str
- Unique identifier of the project that owns the image. The minimum length is
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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.
- 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, andcommunity. 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 withvisibility = "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, andall. 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_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, 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
1character. Usetagsto 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, andcompressed. 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, andami. If omitted, the data source returns the disk format of the selected image. Learn more about supported formats. - Boolean
- Specifies if the data source searches hidden images. If omitted or
false, only images that are not hidden are found. Iftrue, only hidden images are found. The data source returns whether the selected image is hidden. - id String
- Unique identifier of the image.
- min
Disk NumberGb - Minimum disk size in GB required to boot the image.
- min
Ram NumberMb - Minimum RAM in MB required to boot the image.
- name String
- Exact image name to search for. The minimum length is
1character. This argument conflicts withname_regex. If omitted, the data source returns the name of the selected image. To get the image name, use the OpenStack CLI commandopenstack image listand copy theNamefield. - owner String
- Unique identifier of the project that owns the image. The minimum length is
1character. If omitted, the data source returns the owner of the selected image. To get the owner ID, use the OpenStack CLI commandopenstack image list --longand copy theProjectfield. - 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 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. - size
Bytes Number - Size of the image data in bytes.
- 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, andcommunity. 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 withvisibility = "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, andall. If omitted, only shared images with accepted access are found. - most
Recent Boolean - Specifies if the data source selects the image with the latest
created_attimestamp when several images match. Equal timestamps are resolved by the lexicographically smallestid. If omitted orfalse, 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
1character. Usetagsto 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
selectelTerraform Provider.
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel