Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
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
published on Monday, Mar 30, 2026 by g-core
Instance images are operating system images (public, private, or shared) used to boot cloud instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCloudInstanceImage = gcore.getCloudInstanceImage({
projectId: 0,
regionId: 0,
imageId: "image_id",
includePrices: true,
});
import pulumi
import pulumi_gcore as gcore
example_cloud_instance_image = gcore.get_cloud_instance_image(project_id=0,
region_id=0,
image_id="image_id",
include_prices=True)
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.LookupCloudInstanceImage(ctx, &gcore.LookupCloudInstanceImageArgs{
ProjectId: pulumi.Float64Ref(0),
RegionId: pulumi.Float64Ref(0),
ImageId: "image_id",
IncludePrices: pulumi.BoolRef(true),
}, 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 exampleCloudInstanceImage = Gcore.GetCloudInstanceImage.Invoke(new()
{
ProjectId = 0,
RegionId = 0,
ImageId = "image_id",
IncludePrices = true,
});
});
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.GetCloudInstanceImageArgs;
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 exampleCloudInstanceImage = GcoreFunctions.getCloudInstanceImage(GetCloudInstanceImageArgs.builder()
.projectId(0)
.regionId(0)
.imageId("image_id")
.includePrices(true)
.build());
}
}
variables:
exampleCloudInstanceImage:
fn::invoke:
function: gcore:getCloudInstanceImage
arguments:
projectId: 0
regionId: 0
imageId: image_id
includePrices: true
Using getCloudInstanceImage
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 getCloudInstanceImage(args: GetCloudInstanceImageArgs, opts?: InvokeOptions): Promise<GetCloudInstanceImageResult>
function getCloudInstanceImageOutput(args: GetCloudInstanceImageOutputArgs, opts?: InvokeOptions): Output<GetCloudInstanceImageResult>def get_cloud_instance_image(image_id: Optional[str] = None,
include_prices: Optional[bool] = None,
project_id: Optional[float] = None,
region_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudInstanceImageResult
def get_cloud_instance_image_output(image_id: Optional[pulumi.Input[str]] = None,
include_prices: Optional[pulumi.Input[bool]] = None,
project_id: Optional[pulumi.Input[float]] = None,
region_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudInstanceImageResult]func LookupCloudInstanceImage(ctx *Context, args *LookupCloudInstanceImageArgs, opts ...InvokeOption) (*LookupCloudInstanceImageResult, error)
func LookupCloudInstanceImageOutput(ctx *Context, args *LookupCloudInstanceImageOutputArgs, opts ...InvokeOption) LookupCloudInstanceImageResultOutput> Note: This function is named LookupCloudInstanceImage in the Go SDK.
public static class GetCloudInstanceImage
{
public static Task<GetCloudInstanceImageResult> InvokeAsync(GetCloudInstanceImageArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInstanceImageResult> Invoke(GetCloudInstanceImageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudInstanceImageResult> getCloudInstanceImage(GetCloudInstanceImageArgs args, InvokeOptions options)
public static Output<GetCloudInstanceImageResult> getCloudInstanceImage(GetCloudInstanceImageArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudInstanceImage:getCloudInstanceImage
arguments:
# arguments dictionaryThe following arguments are supported:
- Image
Id string - Include
Prices bool - Show price
- Project
Id double - Region
Id double
- Image
Id string - Include
Prices bool - Show price
- Project
Id float64 - Region
Id float64
- image
Id String - include
Prices Boolean - Show price
- project
Id Double - region
Id Double
- image
Id string - include
Prices boolean - Show price
- project
Id number - region
Id number
- image_
id str - include_
prices bool - Show price
- project_
id float - region_
id float
- image
Id String - include
Prices Boolean - Show price
- project
Id Number - region
Id Number
getCloudInstanceImage Result
The following output properties are available:
- Architecture string
- An image architecture type: aarch64,
x86_64Available values: "aarch64", "x86_64". - Created
At string - Datetime when the image was created
- Creator
Task stringId - Task that created this entity
- Description string
- Image description
- Disk
Format string - Disk format
- Display
Order double - Gpu
Driver string - Name of the GPU driver vendor
- Gpu
Driver stringType - Type of the GPU driver
- Gpu
Driver stringVersion - Version of the installed GPU driver
- Hw
Firmware stringType - Specifies the type of firmware with which to boot the guest. Available values: "bios", "uefi".
- Hw
Machine stringType - A virtual chipset type. Available values: "pc", "q35".
- Id string
- The ID of this resource.
- Image
Id string - Is
Baremetal bool - Set to true if the image will be used by bare metal servers. Defaults to false.
- Min
Disk double - Minimal boot volume required
- Min
Ram double - Minimal VM RAM required
- Name string
- Image display name
- Os
Distro string - OS Distribution, i.e. Debian, CentOS, Ubuntu, CoreOS etc.
- Os
Type string - The operating system installed on the image. Available values: "linux", "windows".
- Os
Version string - OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
- Region string
- Region name
- Size double
- Image size in bytes
- Ssh
Key string - Whether the image supports SSH key or not Available values: "allow", "deny", "required".
- Status string
- Image status, i.e. active
-
List<Get
Cloud Instance Image Tag> - 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 string - Datetime when the image was updated
- Visibility string
- Image visibility. Globally visible images are public
- Include
Prices bool - Show price
- Project
Id double - Region
Id double
- Architecture string
- An image architecture type: aarch64,
x86_64Available values: "aarch64", "x86_64". - Created
At string - Datetime when the image was created
- Creator
Task stringId - Task that created this entity
- Description string
- Image description
- Disk
Format string - Disk format
- Display
Order float64 - Gpu
Driver string - Name of the GPU driver vendor
- Gpu
Driver stringType - Type of the GPU driver
- Gpu
Driver stringVersion - Version of the installed GPU driver
- Hw
Firmware stringType - Specifies the type of firmware with which to boot the guest. Available values: "bios", "uefi".
- Hw
Machine stringType - A virtual chipset type. Available values: "pc", "q35".
- Id string
- The ID of this resource.
- Image
Id string - Is
Baremetal bool - Set to true if the image will be used by bare metal servers. Defaults to false.
- Min
Disk float64 - Minimal boot volume required
- Min
Ram float64 - Minimal VM RAM required
- Name string
- Image display name
- Os
Distro string - OS Distribution, i.e. Debian, CentOS, Ubuntu, CoreOS etc.
- Os
Type string - The operating system installed on the image. Available values: "linux", "windows".
- Os
Version string - OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
- Region string
- Region name
- Size float64
- Image size in bytes
- Ssh
Key string - Whether the image supports SSH key or not Available values: "allow", "deny", "required".
- Status string
- Image status, i.e. active
-
[]Get
Cloud Instance Image Tag - 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 string - Datetime when the image was updated
- Visibility string
- Image visibility. Globally visible images are public
- Include
Prices bool - Show price
- Project
Id float64 - Region
Id float64
- architecture String
- An image architecture type: aarch64,
x86_64Available values: "aarch64", "x86_64". - created
At String - Datetime when the image was created
- creator
Task StringId - Task that created this entity
- description String
- Image description
- disk
Format String - Disk format
- display
Order Double - gpu
Driver String - Name of the GPU driver vendor
- gpu
Driver StringType - Type of the GPU driver
- gpu
Driver StringVersion - Version of the installed GPU driver
- hw
Firmware StringType - Specifies the type of firmware with which to boot the guest. Available values: "bios", "uefi".
- hw
Machine StringType - A virtual chipset type. Available values: "pc", "q35".
- id String
- The ID of this resource.
- image
Id String - is
Baremetal Boolean - Set to true if the image will be used by bare metal servers. Defaults to false.
- min
Disk Double - Minimal boot volume required
- min
Ram Double - Minimal VM RAM required
- name String
- Image display name
- os
Distro String - OS Distribution, i.e. Debian, CentOS, Ubuntu, CoreOS etc.
- os
Type String - The operating system installed on the image. Available values: "linux", "windows".
- os
Version String - OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
- region String
- Region name
- size Double
- Image size in bytes
- ssh
Key String - Whether the image supports SSH key or not Available values: "allow", "deny", "required".
- status String
- Image status, i.e. active
-
List<Get
Cloud Instance Image Tag> - 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 String - Datetime when the image was updated
- visibility String
- Image visibility. Globally visible images are public
- include
Prices Boolean - Show price
- project
Id Double - region
Id Double
- architecture string
- An image architecture type: aarch64,
x86_64Available values: "aarch64", "x86_64". - created
At string - Datetime when the image was created
- creator
Task stringId - Task that created this entity
- description string
- Image description
- disk
Format string - Disk format
- display
Order number - gpu
Driver string - Name of the GPU driver vendor
- gpu
Driver stringType - Type of the GPU driver
- gpu
Driver stringVersion - Version of the installed GPU driver
- hw
Firmware stringType - Specifies the type of firmware with which to boot the guest. Available values: "bios", "uefi".
- hw
Machine stringType - A virtual chipset type. Available values: "pc", "q35".
- id string
- The ID of this resource.
- image
Id string - is
Baremetal boolean - Set to true if the image will be used by bare metal servers. Defaults to false.
- min
Disk number - Minimal boot volume required
- min
Ram number - Minimal VM RAM required
- name string
- Image display name
- os
Distro string - OS Distribution, i.e. Debian, CentOS, Ubuntu, CoreOS etc.
- os
Type string - The operating system installed on the image. Available values: "linux", "windows".
- os
Version string - OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
- region string
- Region name
- size number
- Image size in bytes
- ssh
Key string - Whether the image supports SSH key or not Available values: "allow", "deny", "required".
- status string
- Image status, i.e. active
-
Get
Cloud Instance Image Tag[] - 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 string - Datetime when the image was updated
- visibility string
- Image visibility. Globally visible images are public
- include
Prices boolean - Show price
- project
Id number - region
Id number
- architecture str
- An image architecture type: aarch64,
x86_64Available values: "aarch64", "x86_64". - created_
at str - Datetime when the image was created
- creator_
task_ strid - Task that created this entity
- description str
- Image description
- disk_
format str - Disk format
- display_
order float - gpu_
driver str - Name of the GPU driver vendor
- gpu_
driver_ strtype - Type of the GPU driver
- gpu_
driver_ strversion - Version of the installed GPU driver
- hw_
firmware_ strtype - Specifies the type of firmware with which to boot the guest. Available values: "bios", "uefi".
- hw_
machine_ strtype - A virtual chipset type. Available values: "pc", "q35".
- id str
- The ID of this resource.
- image_
id str - is_
baremetal bool - Set to true if the image will be used by bare metal servers. Defaults to false.
- min_
disk float - Minimal boot volume required
- min_
ram float - Minimal VM RAM required
- name str
- Image display name
- os_
distro str - OS Distribution, i.e. Debian, CentOS, Ubuntu, CoreOS etc.
- os_
type str - The operating system installed on the image. Available values: "linux", "windows".
- os_
version str - OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
- region str
- Region name
- size float
- Image size in bytes
- ssh_
key str - Whether the image supports SSH key or not Available values: "allow", "deny", "required".
- status str
- Image status, i.e. active
-
Sequence[Get
Cloud Instance Image Tag] - 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
- include_
prices bool - Show price
- project_
id float - region_
id float
- architecture String
- An image architecture type: aarch64,
x86_64Available values: "aarch64", "x86_64". - created
At String - Datetime when the image was created
- creator
Task StringId - Task that created this entity
- description String
- Image description
- disk
Format String - Disk format
- display
Order Number - gpu
Driver String - Name of the GPU driver vendor
- gpu
Driver StringType - Type of the GPU driver
- gpu
Driver StringVersion - Version of the installed GPU driver
- hw
Firmware StringType - Specifies the type of firmware with which to boot the guest. Available values: "bios", "uefi".
- hw
Machine StringType - A virtual chipset type. Available values: "pc", "q35".
- id String
- The ID of this resource.
- image
Id String - is
Baremetal Boolean - Set to true if the image will be used by bare metal servers. Defaults to false.
- min
Disk Number - Minimal boot volume required
- min
Ram Number - Minimal VM RAM required
- name String
- Image display name
- os
Distro String - OS Distribution, i.e. Debian, CentOS, Ubuntu, CoreOS etc.
- os
Type String - The operating system installed on the image. Available values: "linux", "windows".
- os
Version String - OS version, i.e. 19.04 (for Ubuntu) or 9.4 for Debian
- region String
- Region name
- size Number
- Image size in bytes
- ssh
Key String - Whether the image supports SSH key or not Available values: "allow", "deny", "required".
- status String
- Image status, i.e. active
- 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.
- updated
At String - Datetime when the image was updated
- visibility String
- Image visibility. Globally visible images are public
- include
Prices Boolean - Show price
- project
Id Number - region
Id Number
Supporting Types
GetCloudInstanceImageTag
- Key string
- 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 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.
- Read
Only 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.
- read
Only 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.
- read
Only 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.
- read
Only 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
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
