1. Packages
  2. Gcore Provider
  3. API Docs
  4. getCloudGpuBaremetalClusterImage
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core

    GPU bare metal images are custom boot images for bare metal GPU servers.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleCloudGpuBaremetalClusterImage = gcore.getCloudGpuBaremetalClusterImage({
        projectId: 1,
        regionId: 7,
        imageId: "8cab6f28-09ca-4201-b3f7-23c7893f4bd6",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_cloud_gpu_baremetal_cluster_image = gcore.get_cloud_gpu_baremetal_cluster_image(project_id=1,
        region_id=7,
        image_id="8cab6f28-09ca-4201-b3f7-23c7893f4bd6")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.LookupCloudGpuBaremetalClusterImage(ctx, &gcore.LookupCloudGpuBaremetalClusterImageArgs{
    			ProjectId: pulumi.Float64Ref(1),
    			RegionId:  pulumi.Float64Ref(7),
    			ImageId:   "8cab6f28-09ca-4201-b3f7-23c7893f4bd6",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCloudGpuBaremetalClusterImage = Gcore.GetCloudGpuBaremetalClusterImage.Invoke(new()
        {
            ProjectId = 1,
            RegionId = 7,
            ImageId = "8cab6f28-09ca-4201-b3f7-23c7893f4bd6",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetCloudGpuBaremetalClusterImageArgs;
    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 exampleCloudGpuBaremetalClusterImage = GcoreFunctions.getCloudGpuBaremetalClusterImage(GetCloudGpuBaremetalClusterImageArgs.builder()
                .projectId(1)
                .regionId(7)
                .imageId("8cab6f28-09ca-4201-b3f7-23c7893f4bd6")
                .build());
    
        }
    }
    
    variables:
      exampleCloudGpuBaremetalClusterImage:
        fn::invoke:
          function: gcore:getCloudGpuBaremetalClusterImage
          arguments:
            projectId: 1
            regionId: 7
            imageId: 8cab6f28-09ca-4201-b3f7-23c7893f4bd6
    

    Using getCloudGpuBaremetalClusterImage

    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 getCloudGpuBaremetalClusterImage(args: GetCloudGpuBaremetalClusterImageArgs, opts?: InvokeOptions): Promise<GetCloudGpuBaremetalClusterImageResult>
    function getCloudGpuBaremetalClusterImageOutput(args: GetCloudGpuBaremetalClusterImageOutputArgs, opts?: InvokeOptions): Output<GetCloudGpuBaremetalClusterImageResult>
    def get_cloud_gpu_baremetal_cluster_image(image_id: Optional[str] = None,
                                              project_id: Optional[float] = None,
                                              region_id: Optional[float] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetCloudGpuBaremetalClusterImageResult
    def get_cloud_gpu_baremetal_cluster_image_output(image_id: Optional[pulumi.Input[str]] = None,
                                              project_id: Optional[pulumi.Input[float]] = None,
                                              region_id: Optional[pulumi.Input[float]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetCloudGpuBaremetalClusterImageResult]
    func LookupCloudGpuBaremetalClusterImage(ctx *Context, args *LookupCloudGpuBaremetalClusterImageArgs, opts ...InvokeOption) (*LookupCloudGpuBaremetalClusterImageResult, error)
    func LookupCloudGpuBaremetalClusterImageOutput(ctx *Context, args *LookupCloudGpuBaremetalClusterImageOutputArgs, opts ...InvokeOption) LookupCloudGpuBaremetalClusterImageResultOutput

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

    public static class GetCloudGpuBaremetalClusterImage 
    {
        public static Task<GetCloudGpuBaremetalClusterImageResult> InvokeAsync(GetCloudGpuBaremetalClusterImageArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudGpuBaremetalClusterImageResult> Invoke(GetCloudGpuBaremetalClusterImageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudGpuBaremetalClusterImageResult> getCloudGpuBaremetalClusterImage(GetCloudGpuBaremetalClusterImageArgs args, InvokeOptions options)
    public static Output<GetCloudGpuBaremetalClusterImageResult> getCloudGpuBaremetalClusterImage(GetCloudGpuBaremetalClusterImageArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getCloudGpuBaremetalClusterImage:getCloudGpuBaremetalClusterImage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ImageId string
    Image ID
    ProjectId double
    Project ID
    RegionId double
    Region ID
    ImageId string
    Image ID
    ProjectId float64
    Project ID
    RegionId float64
    Region ID
    imageId String
    Image ID
    projectId Double
    Project ID
    regionId Double
    Region ID
    imageId string
    Image ID
    projectId number
    Project ID
    regionId number
    Region ID
    image_id str
    Image ID
    project_id float
    Project ID
    region_id float
    Region ID
    imageId String
    Image ID
    projectId Number
    Project ID
    regionId Number
    Region ID

    getCloudGpuBaremetalClusterImage Result

    The following output properties are available:

    Architecture string
    Image architecture type
    CreatedAt string
    Datetime when the image was created
    GpuDriver string
    Name of the GPU driver vendor
    GpuDriverType string
    Type of the GPU driver
    GpuDriverVersion string
    Version of the installed GPU driver
    Id string
    Image ID
    ImageId string
    Image ID
    MinDisk double
    Minimal boot volume required
    MinRam double
    Minimal VM RAM required
    Name string
    Image name
    OsDistro string
    OS Distribution
    OsType string
    The operating system installed on the image
    OsVersion string
    OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
    Size double
    Image size in bytes.
    SshKey string
    Whether the image supports SSH key or not
    Status string
    Image status
    Tags List<GetCloudGpuBaremetalClusterImageTag>
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UpdatedAt string
    Datetime when the image was updated
    Visibility string
    Image visibility. Globally visible images are public
    ProjectId double
    Project ID
    RegionId double
    Region ID
    Architecture string
    Image architecture type
    CreatedAt string
    Datetime when the image was created
    GpuDriver string
    Name of the GPU driver vendor
    GpuDriverType string
    Type of the GPU driver
    GpuDriverVersion string
    Version of the installed GPU driver
    Id string
    Image ID
    ImageId string
    Image ID
    MinDisk float64
    Minimal boot volume required
    MinRam float64
    Minimal VM RAM required
    Name string
    Image name
    OsDistro string
    OS Distribution
    OsType string
    The operating system installed on the image
    OsVersion string
    OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
    Size float64
    Image size in bytes.
    SshKey string
    Whether the image supports SSH key or not
    Status string
    Image status
    Tags []GetCloudGpuBaremetalClusterImageTag
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UpdatedAt string
    Datetime when the image was updated
    Visibility string
    Image visibility. Globally visible images are public
    ProjectId float64
    Project ID
    RegionId float64
    Region ID
    architecture String
    Image architecture type
    createdAt String
    Datetime when the image was created
    gpuDriver String
    Name of the GPU driver vendor
    gpuDriverType String
    Type of the GPU driver
    gpuDriverVersion String
    Version of the installed GPU driver
    id String
    Image ID
    imageId String
    Image ID
    minDisk Double
    Minimal boot volume required
    minRam Double
    Minimal VM RAM required
    name String
    Image name
    osDistro String
    OS Distribution
    osType String
    The operating system installed on the image
    osVersion String
    OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
    size Double
    Image size in bytes.
    sshKey String
    Whether the image supports SSH key or not
    status String
    Image status
    tags List<GetCloudGpuBaremetalClusterImageTag>
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updatedAt String
    Datetime when the image was updated
    visibility String
    Image visibility. Globally visible images are public
    projectId Double
    Project ID
    regionId Double
    Region ID
    architecture string
    Image architecture type
    createdAt string
    Datetime when the image was created
    gpuDriver string
    Name of the GPU driver vendor
    gpuDriverType string
    Type of the GPU driver
    gpuDriverVersion string
    Version of the installed GPU driver
    id string
    Image ID
    imageId string
    Image ID
    minDisk number
    Minimal boot volume required
    minRam number
    Minimal VM RAM required
    name string
    Image name
    osDistro string
    OS Distribution
    osType string
    The operating system installed on the image
    osVersion string
    OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
    size number
    Image size in bytes.
    sshKey string
    Whether the image supports SSH key or not
    status string
    Image status
    tags GetCloudGpuBaremetalClusterImageTag[]
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updatedAt string
    Datetime when the image was updated
    visibility string
    Image visibility. Globally visible images are public
    projectId number
    Project ID
    regionId number
    Region ID
    architecture str
    Image architecture type
    created_at str
    Datetime when the image was created
    gpu_driver str
    Name of the GPU driver vendor
    gpu_driver_type str
    Type of the GPU driver
    gpu_driver_version str
    Version of the installed GPU driver
    id str
    Image ID
    image_id str
    Image ID
    min_disk float
    Minimal boot volume required
    min_ram float
    Minimal VM RAM required
    name str
    Image name
    os_distro str
    OS Distribution
    os_type str
    The operating system installed on the image
    os_version str
    OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
    size float
    Image size in bytes.
    ssh_key str
    Whether the image supports SSH key or not
    status str
    Image status
    tags Sequence[GetCloudGpuBaremetalClusterImageTag]
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updated_at str
    Datetime when the image was updated
    visibility str
    Image visibility. Globally visible images are public
    project_id float
    Project ID
    region_id float
    Region ID
    architecture String
    Image architecture type
    createdAt String
    Datetime when the image was created
    gpuDriver String
    Name of the GPU driver vendor
    gpuDriverType String
    Type of the GPU driver
    gpuDriverVersion String
    Version of the installed GPU driver
    id String
    Image ID
    imageId String
    Image ID
    minDisk Number
    Minimal boot volume required
    minRam Number
    Minimal VM RAM required
    name String
    Image name
    osDistro String
    OS Distribution
    osType String
    The operating system installed on the image
    osVersion String
    OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
    size Number
    Image size in bytes.
    sshKey String
    Whether the image supports SSH key or not
    status String
    Image status
    tags List<Property Map>
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updatedAt String
    Datetime when the image was updated
    visibility String
    Image visibility. Globally visible images are public
    projectId Number
    Project ID
    regionId Number
    Region ID

    Supporting Types

    GetCloudGpuBaremetalClusterImageTag

    Key string
    Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    ReadOnly bool
    If true, the tag is read-only and cannot be modified by the user
    Value string
    Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    Key string
    Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    ReadOnly bool
    If true, the tag is read-only and cannot be modified by the user
    Value string
    Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    key String
    Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    readOnly Boolean
    If true, the tag is read-only and cannot be modified by the user
    value String
    Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    key string
    Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    readOnly boolean
    If true, the tag is read-only and cannot be modified by the user
    value string
    Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    key str
    Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    read_only bool
    If true, the tag is read-only and cannot be modified by the user
    value str
    Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    key String
    Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
    readOnly Boolean
    If true, the tag is read-only and cannot be modified by the user
    value String
    Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.3
    published on Monday, Mar 30, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.