1. Packages
  2. Gcore Provider
  3. API Docs
  4. GpuVirtualCluster
gcore 0.28.0 published on Monday, Aug 4, 2025 by g-core

gcore.GpuVirtualCluster

Explore with Pulumi AI

gcore logo
gcore 0.28.0 published on Monday, Aug 4, 2025 by g-core

    Manages a virtual GPU cluster

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const project = gcore.getProject({
        name: "Default",
    });
    const region = gcore.getRegion({
        name: "Luxembourg-2",
    });
    const example = new gcore.GpuVirtualCluster("example", {
        flavor: "g3-ai-192-1536-12000-l40s-48-8",
        serversCount: 2,
        projectId: project.then(project => project.id),
        regionId: region.then(region => region.id),
        serversSettings: {
            interfaces: [{
                name: "pub_net",
                type: "external",
                ipFamily: "ipv4",
            }],
            volumes: [{
                name: "root-volume",
                size: 120,
                type: "ssd_hiiops",
                source: "image",
                imageId: "4536337d-17c7-48f4-8ac5-01a41dc06f58",
                bootIndex: 0,
            }],
            securityGroups: [],
            credentials: {
                sshKeyName: "my-ssh-key",
            },
        },
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    project = gcore.get_project(name="Default")
    region = gcore.get_region(name="Luxembourg-2")
    example = gcore.GpuVirtualCluster("example",
        flavor="g3-ai-192-1536-12000-l40s-48-8",
        servers_count=2,
        project_id=project.id,
        region_id=region.id,
        servers_settings={
            "interfaces": [{
                "name": "pub_net",
                "type": "external",
                "ip_family": "ipv4",
            }],
            "volumes": [{
                "name": "root-volume",
                "size": 120,
                "type": "ssd_hiiops",
                "source": "image",
                "image_id": "4536337d-17c7-48f4-8ac5-01a41dc06f58",
                "boot_index": 0,
            }],
            "security_groups": [],
            "credentials": {
                "ssh_key_name": "my-ssh-key",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := gcore.GetProject(ctx, &gcore.GetProjectArgs{
    			Name: "Default",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		region, err := gcore.GetRegion(ctx, &gcore.GetRegionArgs{
    			Name: "Luxembourg-2",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = gcore.NewGpuVirtualCluster(ctx, "example", &gcore.GpuVirtualClusterArgs{
    			Flavor:       pulumi.String("g3-ai-192-1536-12000-l40s-48-8"),
    			ServersCount: pulumi.Float64(2),
    			ProjectId:    pulumi.String(project.Id),
    			RegionId:     pulumi.String(region.Id),
    			ServersSettings: &gcore.GpuVirtualClusterServersSettingsArgs{
    				Interfaces: gcore.GpuVirtualClusterServersSettingsInterfaceArray{
    					&gcore.GpuVirtualClusterServersSettingsInterfaceArgs{
    						Name:     pulumi.String("pub_net"),
    						Type:     pulumi.String("external"),
    						IpFamily: pulumi.String("ipv4"),
    					},
    				},
    				Volumes: gcore.GpuVirtualClusterServersSettingsVolumeArray{
    					&gcore.GpuVirtualClusterServersSettingsVolumeArgs{
    						Name:      pulumi.String("root-volume"),
    						Size:      pulumi.Float64(120),
    						Type:      pulumi.String("ssd_hiiops"),
    						Source:    pulumi.String("image"),
    						ImageId:   pulumi.String("4536337d-17c7-48f4-8ac5-01a41dc06f58"),
    						BootIndex: pulumi.Float64(0),
    					},
    				},
    				SecurityGroups: pulumi.StringArray{},
    				Credentials: &gcore.GpuVirtualClusterServersSettingsCredentialsArgs{
    					SshKeyName: pulumi.String("my-ssh-key"),
    				},
    			},
    		})
    		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 project = Gcore.GetProject.Invoke(new()
        {
            Name = "Default",
        });
    
        var region = Gcore.GetRegion.Invoke(new()
        {
            Name = "Luxembourg-2",
        });
    
        var example = new Gcore.GpuVirtualCluster("example", new()
        {
            Flavor = "g3-ai-192-1536-12000-l40s-48-8",
            ServersCount = 2,
            ProjectId = project.Apply(getProjectResult => getProjectResult.Id),
            RegionId = region.Apply(getRegionResult => getRegionResult.Id),
            ServersSettings = new Gcore.Inputs.GpuVirtualClusterServersSettingsArgs
            {
                Interfaces = new[]
                {
                    new Gcore.Inputs.GpuVirtualClusterServersSettingsInterfaceArgs
                    {
                        Name = "pub_net",
                        Type = "external",
                        IpFamily = "ipv4",
                    },
                },
                Volumes = new[]
                {
                    new Gcore.Inputs.GpuVirtualClusterServersSettingsVolumeArgs
                    {
                        Name = "root-volume",
                        Size = 120,
                        Type = "ssd_hiiops",
                        Source = "image",
                        ImageId = "4536337d-17c7-48f4-8ac5-01a41dc06f58",
                        BootIndex = 0,
                    },
                },
                SecurityGroups = new() { },
                Credentials = new Gcore.Inputs.GpuVirtualClusterServersSettingsCredentialsArgs
                {
                    SshKeyName = "my-ssh-key",
                },
            },
        });
    
    });
    
    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.GetProjectArgs;
    import com.pulumi.gcore.inputs.GetRegionArgs;
    import com.pulumi.gcore.GpuVirtualCluster;
    import com.pulumi.gcore.GpuVirtualClusterArgs;
    import com.pulumi.gcore.inputs.GpuVirtualClusterServersSettingsArgs;
    import com.pulumi.gcore.inputs.GpuVirtualClusterServersSettingsCredentialsArgs;
    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 project = GcoreFunctions.getProject(GetProjectArgs.builder()
                .name("Default")
                .build());
    
            final var region = GcoreFunctions.getRegion(GetRegionArgs.builder()
                .name("Luxembourg-2")
                .build());
    
            var example = new GpuVirtualCluster("example", GpuVirtualClusterArgs.builder()
                .flavor("g3-ai-192-1536-12000-l40s-48-8")
                .serversCount(2)
                .projectId(project.applyValue(getProjectResult -> getProjectResult.id()))
                .regionId(region.applyValue(getRegionResult -> getRegionResult.id()))
                .serversSettings(GpuVirtualClusterServersSettingsArgs.builder()
                    .interfaces(GpuVirtualClusterServersSettingsInterfaceArgs.builder()
                        .name("pub_net")
                        .type("external")
                        .ipFamily("ipv4")
                        .build())
                    .volumes(GpuVirtualClusterServersSettingsVolumeArgs.builder()
                        .name("root-volume")
                        .size(120)
                        .type("ssd_hiiops")
                        .source("image")
                        .imageId("4536337d-17c7-48f4-8ac5-01a41dc06f58")
                        .bootIndex(0)
                        .build())
                    .securityGroups()
                    .credentials(GpuVirtualClusterServersSettingsCredentialsArgs.builder()
                        .sshKeyName("my-ssh-key")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: gcore:GpuVirtualCluster
        properties:
          flavor: g3-ai-192-1536-12000-l40s-48-8
          serversCount: 2
          projectId: ${project.id}
          regionId: ${region.id}
          serversSettings:
            interfaces:
              - name: pub_net
                type: external
                ipFamily: ipv4
            volumes:
              - name: root-volume
                size: 120
                type: ssd_hiiops
                source: image
                imageId: 4536337d-17c7-48f4-8ac5-01a41dc06f58
                bootIndex: 0
            securityGroups: []
            credentials:
              sshKeyName: my-ssh-key
    variables:
      project:
        fn::invoke:
          function: gcore:getProject
          arguments:
            name: Default
      region:
        fn::invoke:
          function: gcore:getRegion
          arguments:
            name: Luxembourg-2
    

    Create GpuVirtualCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GpuVirtualCluster(name: string, args: GpuVirtualClusterArgs, opts?: CustomResourceOptions);
    @overload
    def GpuVirtualCluster(resource_name: str,
                          args: GpuVirtualClusterArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def GpuVirtualCluster(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          flavor: Optional[str] = None,
                          servers_count: Optional[float] = None,
                          servers_settings: Optional[GpuVirtualClusterServersSettingsArgs] = None,
                          gpu_virtual_cluster_id: Optional[str] = None,
                          name: Optional[str] = None,
                          project_id: Optional[float] = None,
                          project_name: Optional[str] = None,
                          region_id: Optional[float] = None,
                          region_name: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None)
    func NewGpuVirtualCluster(ctx *Context, name string, args GpuVirtualClusterArgs, opts ...ResourceOption) (*GpuVirtualCluster, error)
    public GpuVirtualCluster(string name, GpuVirtualClusterArgs args, CustomResourceOptions? opts = null)
    public GpuVirtualCluster(String name, GpuVirtualClusterArgs args)
    public GpuVirtualCluster(String name, GpuVirtualClusterArgs args, CustomResourceOptions options)
    
    type: gcore:GpuVirtualCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GpuVirtualClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GpuVirtualClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GpuVirtualClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GpuVirtualClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GpuVirtualClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var gpuVirtualClusterResource = new Gcore.GpuVirtualCluster("gpuVirtualClusterResource", new()
    {
        Flavor = "string",
        ServersCount = 0,
        ServersSettings = new Gcore.Inputs.GpuVirtualClusterServersSettingsArgs
        {
            Interfaces = new[]
            {
                new Gcore.Inputs.GpuVirtualClusterServersSettingsInterfaceArgs
                {
                    Name = "string",
                    Type = "string",
                    FloatingIp = new Gcore.Inputs.GpuVirtualClusterServersSettingsInterfaceFloatingIpArgs
                    {
                        Source = "string",
                    },
                    IpAddress = "string",
                    IpFamily = "string",
                    NetworkId = "string",
                    SubnetId = "string",
                },
            },
            Volumes = new[]
            {
                new Gcore.Inputs.GpuVirtualClusterServersSettingsVolumeArgs
                {
                    BootIndex = 0,
                    Name = "string",
                    Size = 0,
                    Source = "string",
                    Type = "string",
                    DeleteOnTermination = false,
                    ImageId = "string",
                    SnapshotId = "string",
                    Tags = 
                    {
                        { "string", "string" },
                    },
                },
            },
            Credentials = new Gcore.Inputs.GpuVirtualClusterServersSettingsCredentialsArgs
            {
                Password = "string",
                SshKeyName = "string",
                Username = "string",
            },
            SecurityGroups = new[]
            {
                "string",
            },
            UserData = "string",
        },
        GpuVirtualClusterId = "string",
        Name = "string",
        ProjectId = 0,
        ProjectName = "string",
        RegionId = 0,
        RegionName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := gcore.NewGpuVirtualCluster(ctx, "gpuVirtualClusterResource", &gcore.GpuVirtualClusterArgs{
    	Flavor:       pulumi.String("string"),
    	ServersCount: pulumi.Float64(0),
    	ServersSettings: &gcore.GpuVirtualClusterServersSettingsArgs{
    		Interfaces: gcore.GpuVirtualClusterServersSettingsInterfaceArray{
    			&gcore.GpuVirtualClusterServersSettingsInterfaceArgs{
    				Name: pulumi.String("string"),
    				Type: pulumi.String("string"),
    				FloatingIp: &gcore.GpuVirtualClusterServersSettingsInterfaceFloatingIpArgs{
    					Source: pulumi.String("string"),
    				},
    				IpAddress: pulumi.String("string"),
    				IpFamily:  pulumi.String("string"),
    				NetworkId: pulumi.String("string"),
    				SubnetId:  pulumi.String("string"),
    			},
    		},
    		Volumes: gcore.GpuVirtualClusterServersSettingsVolumeArray{
    			&gcore.GpuVirtualClusterServersSettingsVolumeArgs{
    				BootIndex:           pulumi.Float64(0),
    				Name:                pulumi.String("string"),
    				Size:                pulumi.Float64(0),
    				Source:              pulumi.String("string"),
    				Type:                pulumi.String("string"),
    				DeleteOnTermination: pulumi.Bool(false),
    				ImageId:             pulumi.String("string"),
    				SnapshotId:          pulumi.String("string"),
    				Tags: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    		},
    		Credentials: &gcore.GpuVirtualClusterServersSettingsCredentialsArgs{
    			Password:   pulumi.String("string"),
    			SshKeyName: pulumi.String("string"),
    			Username:   pulumi.String("string"),
    		},
    		SecurityGroups: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		UserData: pulumi.String("string"),
    	},
    	GpuVirtualClusterId: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	ProjectId:           pulumi.Float64(0),
    	ProjectName:         pulumi.String("string"),
    	RegionId:            pulumi.Float64(0),
    	RegionName:          pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var gpuVirtualClusterResource = new GpuVirtualCluster("gpuVirtualClusterResource", GpuVirtualClusterArgs.builder()
        .flavor("string")
        .serversCount(0.0)
        .serversSettings(GpuVirtualClusterServersSettingsArgs.builder()
            .interfaces(GpuVirtualClusterServersSettingsInterfaceArgs.builder()
                .name("string")
                .type("string")
                .floatingIp(GpuVirtualClusterServersSettingsInterfaceFloatingIpArgs.builder()
                    .source("string")
                    .build())
                .ipAddress("string")
                .ipFamily("string")
                .networkId("string")
                .subnetId("string")
                .build())
            .volumes(GpuVirtualClusterServersSettingsVolumeArgs.builder()
                .bootIndex(0.0)
                .name("string")
                .size(0.0)
                .source("string")
                .type("string")
                .deleteOnTermination(false)
                .imageId("string")
                .snapshotId("string")
                .tags(Map.of("string", "string"))
                .build())
            .credentials(GpuVirtualClusterServersSettingsCredentialsArgs.builder()
                .password("string")
                .sshKeyName("string")
                .username("string")
                .build())
            .securityGroups("string")
            .userData("string")
            .build())
        .gpuVirtualClusterId("string")
        .name("string")
        .projectId(0.0)
        .projectName("string")
        .regionId(0.0)
        .regionName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    gpu_virtual_cluster_resource = gcore.GpuVirtualCluster("gpuVirtualClusterResource",
        flavor="string",
        servers_count=0,
        servers_settings={
            "interfaces": [{
                "name": "string",
                "type": "string",
                "floating_ip": {
                    "source": "string",
                },
                "ip_address": "string",
                "ip_family": "string",
                "network_id": "string",
                "subnet_id": "string",
            }],
            "volumes": [{
                "boot_index": 0,
                "name": "string",
                "size": 0,
                "source": "string",
                "type": "string",
                "delete_on_termination": False,
                "image_id": "string",
                "snapshot_id": "string",
                "tags": {
                    "string": "string",
                },
            }],
            "credentials": {
                "password": "string",
                "ssh_key_name": "string",
                "username": "string",
            },
            "security_groups": ["string"],
            "user_data": "string",
        },
        gpu_virtual_cluster_id="string",
        name="string",
        project_id=0,
        project_name="string",
        region_id=0,
        region_name="string",
        tags={
            "string": "string",
        })
    
    const gpuVirtualClusterResource = new gcore.GpuVirtualCluster("gpuVirtualClusterResource", {
        flavor: "string",
        serversCount: 0,
        serversSettings: {
            interfaces: [{
                name: "string",
                type: "string",
                floatingIp: {
                    source: "string",
                },
                ipAddress: "string",
                ipFamily: "string",
                networkId: "string",
                subnetId: "string",
            }],
            volumes: [{
                bootIndex: 0,
                name: "string",
                size: 0,
                source: "string",
                type: "string",
                deleteOnTermination: false,
                imageId: "string",
                snapshotId: "string",
                tags: {
                    string: "string",
                },
            }],
            credentials: {
                password: "string",
                sshKeyName: "string",
                username: "string",
            },
            securityGroups: ["string"],
            userData: "string",
        },
        gpuVirtualClusterId: "string",
        name: "string",
        projectId: 0,
        projectName: "string",
        regionId: 0,
        regionName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: gcore:GpuVirtualCluster
    properties:
        flavor: string
        gpuVirtualClusterId: string
        name: string
        projectId: 0
        projectName: string
        regionId: 0
        regionName: string
        serversCount: 0
        serversSettings:
            credentials:
                password: string
                sshKeyName: string
                username: string
            interfaces:
                - floatingIp:
                    source: string
                  ipAddress: string
                  ipFamily: string
                  name: string
                  networkId: string
                  subnetId: string
                  type: string
            securityGroups:
                - string
            userData: string
            volumes:
                - bootIndex: 0
                  deleteOnTermination: false
                  imageId: string
                  name: string
                  size: 0
                  snapshotId: string
                  source: string
                  tags:
                    string: string
                  type: string
        tags:
            string: string
    

    GpuVirtualCluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The GpuVirtualCluster resource accepts the following input properties:

    Flavor string
    Flavor name for the GPU cluster
    ServersCount double
    Number of servers in the GPU cluster
    ServersSettings GpuVirtualClusterServersSettings
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    GpuVirtualClusterId string
    The ID of this resource.
    Name string
    Name of the GPU cluster
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    Tags Dictionary<string, string>
    Tags to associate with the GPU cluster
    Flavor string
    Flavor name for the GPU cluster
    ServersCount float64
    Number of servers in the GPU cluster
    ServersSettings GpuVirtualClusterServersSettingsArgs
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    GpuVirtualClusterId string
    The ID of this resource.
    Name string
    Name of the GPU cluster
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    Tags map[string]string
    Tags to associate with the GPU cluster
    flavor String
    Flavor name for the GPU cluster
    serversCount Double
    Number of servers in the GPU cluster
    serversSettings GpuVirtualClusterServersSettings
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    gpuVirtualClusterId String
    The ID of this resource.
    name String
    Name of the GPU cluster
    projectId Double
    projectName String
    regionId Double
    regionName String
    tags Map<String,String>
    Tags to associate with the GPU cluster
    flavor string
    Flavor name for the GPU cluster
    serversCount number
    Number of servers in the GPU cluster
    serversSettings GpuVirtualClusterServersSettings
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    gpuVirtualClusterId string
    The ID of this resource.
    name string
    Name of the GPU cluster
    projectId number
    projectName string
    regionId number
    regionName string
    tags {[key: string]: string}
    Tags to associate with the GPU cluster
    flavor str
    Flavor name for the GPU cluster
    servers_count float
    Number of servers in the GPU cluster
    servers_settings GpuVirtualClusterServersSettingsArgs
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    gpu_virtual_cluster_id str
    The ID of this resource.
    name str
    Name of the GPU cluster
    project_id float
    project_name str
    region_id float
    region_name str
    tags Mapping[str, str]
    Tags to associate with the GPU cluster
    flavor String
    Flavor name for the GPU cluster
    serversCount Number
    Number of servers in the GPU cluster
    serversSettings Property Map
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    gpuVirtualClusterId String
    The ID of this resource.
    name String
    Name of the GPU cluster
    projectId Number
    projectName String
    regionId Number
    regionName String
    tags Map<String>
    Tags to associate with the GPU cluster

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GpuVirtualCluster resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GpuVirtualCluster Resource

    Get an existing GpuVirtualCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GpuVirtualClusterState, opts?: CustomResourceOptions): GpuVirtualCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            flavor: Optional[str] = None,
            gpu_virtual_cluster_id: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[float] = None,
            project_name: Optional[str] = None,
            region_id: Optional[float] = None,
            region_name: Optional[str] = None,
            servers_count: Optional[float] = None,
            servers_settings: Optional[GpuVirtualClusterServersSettingsArgs] = None,
            tags: Optional[Mapping[str, str]] = None) -> GpuVirtualCluster
    func GetGpuVirtualCluster(ctx *Context, name string, id IDInput, state *GpuVirtualClusterState, opts ...ResourceOption) (*GpuVirtualCluster, error)
    public static GpuVirtualCluster Get(string name, Input<string> id, GpuVirtualClusterState? state, CustomResourceOptions? opts = null)
    public static GpuVirtualCluster get(String name, Output<String> id, GpuVirtualClusterState state, CustomResourceOptions options)
    resources:  _:    type: gcore:GpuVirtualCluster    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Flavor string
    Flavor name for the GPU cluster
    GpuVirtualClusterId string
    The ID of this resource.
    Name string
    Name of the GPU cluster
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    ServersCount double
    Number of servers in the GPU cluster
    ServersSettings GpuVirtualClusterServersSettings
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    Tags Dictionary<string, string>
    Tags to associate with the GPU cluster
    Flavor string
    Flavor name for the GPU cluster
    GpuVirtualClusterId string
    The ID of this resource.
    Name string
    Name of the GPU cluster
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    ServersCount float64
    Number of servers in the GPU cluster
    ServersSettings GpuVirtualClusterServersSettingsArgs
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    Tags map[string]string
    Tags to associate with the GPU cluster
    flavor String
    Flavor name for the GPU cluster
    gpuVirtualClusterId String
    The ID of this resource.
    name String
    Name of the GPU cluster
    projectId Double
    projectName String
    regionId Double
    regionName String
    serversCount Double
    Number of servers in the GPU cluster
    serversSettings GpuVirtualClusterServersSettings
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    tags Map<String,String>
    Tags to associate with the GPU cluster
    flavor string
    Flavor name for the GPU cluster
    gpuVirtualClusterId string
    The ID of this resource.
    name string
    Name of the GPU cluster
    projectId number
    projectName string
    regionId number
    regionName string
    serversCount number
    Number of servers in the GPU cluster
    serversSettings GpuVirtualClusterServersSettings
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    tags {[key: string]: string}
    Tags to associate with the GPU cluster
    flavor str
    Flavor name for the GPU cluster
    gpu_virtual_cluster_id str
    The ID of this resource.
    name str
    Name of the GPU cluster
    project_id float
    project_name str
    region_id float
    region_name str
    servers_count float
    Number of servers in the GPU cluster
    servers_settings GpuVirtualClusterServersSettingsArgs
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    tags Mapping[str, str]
    Tags to associate with the GPU cluster
    flavor String
    Flavor name for the GPU cluster
    gpuVirtualClusterId String
    The ID of this resource.
    name String
    Name of the GPU cluster
    projectId Number
    projectName String
    regionId Number
    regionName String
    serversCount Number
    Number of servers in the GPU cluster
    serversSettings Property Map
    Settings for the GPU cluster servers (immutable, changes force resource recreation)
    tags Map<String>
    Tags to associate with the GPU cluster

    Supporting Types

    GpuVirtualClusterServersSettings, GpuVirtualClusterServersSettingsArgs

    Interfaces List<GpuVirtualClusterServersSettingsInterface>
    List of interfaces to attach to the instance
    Volumes List<GpuVirtualClusterServersSettingsVolume>
    Volumes to attach to the cluster servers
    Credentials GpuVirtualClusterServersSettingsCredentials
    Credentials for accessing the instances
    SecurityGroups List<string>
    List of security group IDs to associate with the cluster
    UserData string
    User data to provide to the instance for cloud-init
    Interfaces []GpuVirtualClusterServersSettingsInterface
    List of interfaces to attach to the instance
    Volumes []GpuVirtualClusterServersSettingsVolume
    Volumes to attach to the cluster servers
    Credentials GpuVirtualClusterServersSettingsCredentials
    Credentials for accessing the instances
    SecurityGroups []string
    List of security group IDs to associate with the cluster
    UserData string
    User data to provide to the instance for cloud-init
    interfaces List<GpuVirtualClusterServersSettingsInterface>
    List of interfaces to attach to the instance
    volumes List<GpuVirtualClusterServersSettingsVolume>
    Volumes to attach to the cluster servers
    credentials GpuVirtualClusterServersSettingsCredentials
    Credentials for accessing the instances
    securityGroups List<String>
    List of security group IDs to associate with the cluster
    userData String
    User data to provide to the instance for cloud-init
    interfaces GpuVirtualClusterServersSettingsInterface[]
    List of interfaces to attach to the instance
    volumes GpuVirtualClusterServersSettingsVolume[]
    Volumes to attach to the cluster servers
    credentials GpuVirtualClusterServersSettingsCredentials
    Credentials for accessing the instances
    securityGroups string[]
    List of security group IDs to associate with the cluster
    userData string
    User data to provide to the instance for cloud-init
    interfaces Sequence[GpuVirtualClusterServersSettingsInterface]
    List of interfaces to attach to the instance
    volumes Sequence[GpuVirtualClusterServersSettingsVolume]
    Volumes to attach to the cluster servers
    credentials GpuVirtualClusterServersSettingsCredentials
    Credentials for accessing the instances
    security_groups Sequence[str]
    List of security group IDs to associate with the cluster
    user_data str
    User data to provide to the instance for cloud-init
    interfaces List<Property Map>
    List of interfaces to attach to the instance
    volumes List<Property Map>
    Volumes to attach to the cluster servers
    credentials Property Map
    Credentials for accessing the instances
    securityGroups List<String>
    List of security group IDs to associate with the cluster
    userData String
    User data to provide to the instance for cloud-init

    GpuVirtualClusterServersSettingsCredentials, GpuVirtualClusterServersSettingsCredentialsArgs

    Password string
    Password for the instance
    SshKeyName string
    Name of the keypair to use for SSH access
    Username string
    Username for the instance
    Password string
    Password for the instance
    SshKeyName string
    Name of the keypair to use for SSH access
    Username string
    Username for the instance
    password String
    Password for the instance
    sshKeyName String
    Name of the keypair to use for SSH access
    username String
    Username for the instance
    password string
    Password for the instance
    sshKeyName string
    Name of the keypair to use for SSH access
    username string
    Username for the instance
    password str
    Password for the instance
    ssh_key_name str
    Name of the keypair to use for SSH access
    username str
    Username for the instance
    password String
    Password for the instance
    sshKeyName String
    Name of the keypair to use for SSH access
    username String
    Username for the instance

    GpuVirtualClusterServersSettingsInterface, GpuVirtualClusterServersSettingsInterfaceArgs

    Name string
    Name of interface, should be unique for the instance
    Type string
    Interface type (subnet, any_subnet, external)
    FloatingIp GpuVirtualClusterServersSettingsInterfaceFloatingIp
    Floating IP configuration
    IpAddress string
    IP address for the interface
    IpFamily string
    IP family for the interface (dual, ipv4, ipv6)
    NetworkId string
    Required if type is 'subnet' or 'any_subnet'
    SubnetId string
    Required if type is 'subnet'
    Name string
    Name of interface, should be unique for the instance
    Type string
    Interface type (subnet, any_subnet, external)
    FloatingIp GpuVirtualClusterServersSettingsInterfaceFloatingIp
    Floating IP configuration
    IpAddress string
    IP address for the interface
    IpFamily string
    IP family for the interface (dual, ipv4, ipv6)
    NetworkId string
    Required if type is 'subnet' or 'any_subnet'
    SubnetId string
    Required if type is 'subnet'
    name String
    Name of interface, should be unique for the instance
    type String
    Interface type (subnet, any_subnet, external)
    floatingIp GpuVirtualClusterServersSettingsInterfaceFloatingIp
    Floating IP configuration
    ipAddress String
    IP address for the interface
    ipFamily String
    IP family for the interface (dual, ipv4, ipv6)
    networkId String
    Required if type is 'subnet' or 'any_subnet'
    subnetId String
    Required if type is 'subnet'
    name string
    Name of interface, should be unique for the instance
    type string
    Interface type (subnet, any_subnet, external)
    floatingIp GpuVirtualClusterServersSettingsInterfaceFloatingIp
    Floating IP configuration
    ipAddress string
    IP address for the interface
    ipFamily string
    IP family for the interface (dual, ipv4, ipv6)
    networkId string
    Required if type is 'subnet' or 'any_subnet'
    subnetId string
    Required if type is 'subnet'
    name str
    Name of interface, should be unique for the instance
    type str
    Interface type (subnet, any_subnet, external)
    floating_ip GpuVirtualClusterServersSettingsInterfaceFloatingIp
    Floating IP configuration
    ip_address str
    IP address for the interface
    ip_family str
    IP family for the interface (dual, ipv4, ipv6)
    network_id str
    Required if type is 'subnet' or 'any_subnet'
    subnet_id str
    Required if type is 'subnet'
    name String
    Name of interface, should be unique for the instance
    type String
    Interface type (subnet, any_subnet, external)
    floatingIp Property Map
    Floating IP configuration
    ipAddress String
    IP address for the interface
    ipFamily String
    IP family for the interface (dual, ipv4, ipv6)
    networkId String
    Required if type is 'subnet' or 'any_subnet'
    subnetId String
    Required if type is 'subnet'

    GpuVirtualClusterServersSettingsInterfaceFloatingIp, GpuVirtualClusterServersSettingsInterfaceFloatingIpArgs

    Source string
    Source of the floating IP
    Source string
    Source of the floating IP
    source String
    Source of the floating IP
    source string
    Source of the floating IP
    source str
    Source of the floating IP
    source String
    Source of the floating IP

    GpuVirtualClusterServersSettingsVolume, GpuVirtualClusterServersSettingsVolumeArgs

    BootIndex double
    Boot order for the volume
    Name string
    Name of the volume
    Size double
    Size of the volume in GB
    Source string
    Volume source (new, image, snapshot)
    Type string
    Type of volume
    DeleteOnTermination bool
    Whether to delete the volume when the cluster is terminated
    ImageId string
    ID of the image to use (required if source is 'image')
    SnapshotId string
    ID of the snapshot to use (required if source is 'snapshot')
    Tags Dictionary<string, string>
    Tags to associate with the volume
    BootIndex float64
    Boot order for the volume
    Name string
    Name of the volume
    Size float64
    Size of the volume in GB
    Source string
    Volume source (new, image, snapshot)
    Type string
    Type of volume
    DeleteOnTermination bool
    Whether to delete the volume when the cluster is terminated
    ImageId string
    ID of the image to use (required if source is 'image')
    SnapshotId string
    ID of the snapshot to use (required if source is 'snapshot')
    Tags map[string]string
    Tags to associate with the volume
    bootIndex Double
    Boot order for the volume
    name String
    Name of the volume
    size Double
    Size of the volume in GB
    source String
    Volume source (new, image, snapshot)
    type String
    Type of volume
    deleteOnTermination Boolean
    Whether to delete the volume when the cluster is terminated
    imageId String
    ID of the image to use (required if source is 'image')
    snapshotId String
    ID of the snapshot to use (required if source is 'snapshot')
    tags Map<String,String>
    Tags to associate with the volume
    bootIndex number
    Boot order for the volume
    name string
    Name of the volume
    size number
    Size of the volume in GB
    source string
    Volume source (new, image, snapshot)
    type string
    Type of volume
    deleteOnTermination boolean
    Whether to delete the volume when the cluster is terminated
    imageId string
    ID of the image to use (required if source is 'image')
    snapshotId string
    ID of the snapshot to use (required if source is 'snapshot')
    tags {[key: string]: string}
    Tags to associate with the volume
    boot_index float
    Boot order for the volume
    name str
    Name of the volume
    size float
    Size of the volume in GB
    source str
    Volume source (new, image, snapshot)
    type str
    Type of volume
    delete_on_termination bool
    Whether to delete the volume when the cluster is terminated
    image_id str
    ID of the image to use (required if source is 'image')
    snapshot_id str
    ID of the snapshot to use (required if source is 'snapshot')
    tags Mapping[str, str]
    Tags to associate with the volume
    bootIndex Number
    Boot order for the volume
    name String
    Name of the volume
    size Number
    Size of the volume in GB
    source String
    Volume source (new, image, snapshot)
    type String
    Type of volume
    deleteOnTermination Boolean
    Whether to delete the volume when the cluster is terminated
    imageId String
    ID of the image to use (required if source is 'image')
    snapshotId String
    ID of the snapshot to use (required if source is 'snapshot')
    tags Map<String>
    Tags to associate with the volume

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.28.0 published on Monday, Aug 4, 2025 by g-core