gcore.GpuVirtualCluster
Explore with Pulumi AI
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
- Servers
Count double - Number of servers in the GPU cluster
- Servers
Settings GpuVirtual Cluster Servers Settings - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- Gpu
Virtual stringCluster Id - The ID of this resource.
- Name string
- Name of the GPU cluster
- Project
Id double - Project
Name string - Region
Id double - Region
Name string - Dictionary<string, string>
- Tags to associate with the GPU cluster
- Flavor string
- Flavor name for the GPU cluster
- Servers
Count float64 - Number of servers in the GPU cluster
- Servers
Settings GpuVirtual Cluster Servers Settings Args - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- Gpu
Virtual stringCluster Id - The ID of this resource.
- Name string
- Name of the GPU cluster
- Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - map[string]string
- Tags to associate with the GPU cluster
- flavor String
- Flavor name for the GPU cluster
- servers
Count Double - Number of servers in the GPU cluster
- servers
Settings GpuVirtual Cluster Servers Settings - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- gpu
Virtual StringCluster Id - The ID of this resource.
- name String
- Name of the GPU cluster
- project
Id Double - project
Name String - region
Id Double - region
Name String - Map<String,String>
- Tags to associate with the GPU cluster
- flavor string
- Flavor name for the GPU cluster
- servers
Count number - Number of servers in the GPU cluster
- servers
Settings GpuVirtual Cluster Servers Settings - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- gpu
Virtual stringCluster Id - The ID of this resource.
- name string
- Name of the GPU cluster
- project
Id number - project
Name string - region
Id number - region
Name string - {[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 GpuVirtual Cluster Servers Settings Args - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- gpu_
virtual_ strcluster_ id - The ID of this resource.
- name str
- Name of the GPU cluster
- project_
id float - project_
name str - region_
id float - region_
name str - Mapping[str, str]
- Tags to associate with the GPU cluster
- flavor String
- Flavor name for the GPU cluster
- servers
Count Number - Number of servers in the GPU cluster
- servers
Settings Property Map - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- gpu
Virtual StringCluster Id - The ID of this resource.
- name String
- Name of the GPU cluster
- project
Id Number - project
Name String - region
Id Number - region
Name String - 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.
- Flavor string
- Flavor name for the GPU cluster
- Gpu
Virtual stringCluster Id - The ID of this resource.
- Name string
- Name of the GPU cluster
- Project
Id double - Project
Name string - Region
Id double - Region
Name string - Servers
Count double - Number of servers in the GPU cluster
- Servers
Settings GpuVirtual Cluster Servers Settings - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- Dictionary<string, string>
- Tags to associate with the GPU cluster
- Flavor string
- Flavor name for the GPU cluster
- Gpu
Virtual stringCluster Id - The ID of this resource.
- Name string
- Name of the GPU cluster
- Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - Servers
Count float64 - Number of servers in the GPU cluster
- Servers
Settings GpuVirtual Cluster Servers Settings Args - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- map[string]string
- Tags to associate with the GPU cluster
- flavor String
- Flavor name for the GPU cluster
- gpu
Virtual StringCluster Id - The ID of this resource.
- name String
- Name of the GPU cluster
- project
Id Double - project
Name String - region
Id Double - region
Name String - servers
Count Double - Number of servers in the GPU cluster
- servers
Settings GpuVirtual Cluster Servers Settings - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- Map<String,String>
- Tags to associate with the GPU cluster
- flavor string
- Flavor name for the GPU cluster
- gpu
Virtual stringCluster Id - The ID of this resource.
- name string
- Name of the GPU cluster
- project
Id number - project
Name string - region
Id number - region
Name string - servers
Count number - Number of servers in the GPU cluster
- servers
Settings GpuVirtual Cluster Servers Settings - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- {[key: string]: string}
- Tags to associate with the GPU cluster
- flavor str
- Flavor name for the GPU cluster
- gpu_
virtual_ strcluster_ id - 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 GpuVirtual Cluster Servers Settings Args - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- Mapping[str, str]
- Tags to associate with the GPU cluster
- flavor String
- Flavor name for the GPU cluster
- gpu
Virtual StringCluster Id - The ID of this resource.
- name String
- Name of the GPU cluster
- project
Id Number - project
Name String - region
Id Number - region
Name String - servers
Count Number - Number of servers in the GPU cluster
- servers
Settings Property Map - Settings for the GPU cluster servers (immutable, changes force resource recreation)
- Map<String>
- Tags to associate with the GPU cluster
Supporting Types
GpuVirtualClusterServersSettings, GpuVirtualClusterServersSettingsArgs
- Interfaces
List<Gpu
Virtual Cluster Servers Settings Interface> - List of interfaces to attach to the instance
- Volumes
List<Gpu
Virtual Cluster Servers Settings Volume> - Volumes to attach to the cluster servers
- Credentials
Gpu
Virtual Cluster Servers Settings Credentials - Credentials for accessing the instances
- Security
Groups List<string> - List of security group IDs to associate with the cluster
- User
Data string - User data to provide to the instance for cloud-init
- Interfaces
[]Gpu
Virtual Cluster Servers Settings Interface - List of interfaces to attach to the instance
- Volumes
[]Gpu
Virtual Cluster Servers Settings Volume - Volumes to attach to the cluster servers
- Credentials
Gpu
Virtual Cluster Servers Settings Credentials - Credentials for accessing the instances
- Security
Groups []string - List of security group IDs to associate with the cluster
- User
Data string - User data to provide to the instance for cloud-init
- interfaces
List<Gpu
Virtual Cluster Servers Settings Interface> - List of interfaces to attach to the instance
- volumes
List<Gpu
Virtual Cluster Servers Settings Volume> - Volumes to attach to the cluster servers
- credentials
Gpu
Virtual Cluster Servers Settings Credentials - Credentials for accessing the instances
- security
Groups List<String> - List of security group IDs to associate with the cluster
- user
Data String - User data to provide to the instance for cloud-init
- interfaces
Gpu
Virtual Cluster Servers Settings Interface[] - List of interfaces to attach to the instance
- volumes
Gpu
Virtual Cluster Servers Settings Volume[] - Volumes to attach to the cluster servers
- credentials
Gpu
Virtual Cluster Servers Settings Credentials - Credentials for accessing the instances
- security
Groups string[] - List of security group IDs to associate with the cluster
- user
Data string - User data to provide to the instance for cloud-init
- interfaces
Sequence[Gpu
Virtual Cluster Servers Settings Interface] - List of interfaces to attach to the instance
- volumes
Sequence[Gpu
Virtual Cluster Servers Settings Volume] - Volumes to attach to the cluster servers
- credentials
Gpu
Virtual Cluster Servers Settings Credentials - 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
- security
Groups List<String> - List of security group IDs to associate with the cluster
- user
Data String - User data to provide to the instance for cloud-init
GpuVirtualClusterServersSettingsCredentials, GpuVirtualClusterServersSettingsCredentialsArgs
- Password string
- Password for the instance
- Ssh
Key stringName - Name of the keypair to use for SSH access
- Username string
- Username for the instance
- Password string
- Password for the instance
- Ssh
Key stringName - Name of the keypair to use for SSH access
- Username string
- Username for the instance
- password String
- Password for the instance
- ssh
Key StringName - Name of the keypair to use for SSH access
- username String
- Username for the instance
- password string
- Password for the instance
- ssh
Key stringName - Name of the keypair to use for SSH access
- username string
- Username for the instance
- password str
- Password for the instance
- ssh_
key_ strname - Name of the keypair to use for SSH access
- username str
- Username for the instance
- password String
- Password for the instance
- ssh
Key StringName - 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)
- Floating
Ip GpuVirtual Cluster Servers Settings Interface Floating Ip - Floating IP configuration
- Ip
Address string - IP address for the interface
- Ip
Family string - IP family for the interface (dual, ipv4, ipv6)
- Network
Id string - Required if type is 'subnet' or 'any_subnet'
- Subnet
Id 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)
- Floating
Ip GpuVirtual Cluster Servers Settings Interface Floating Ip - Floating IP configuration
- Ip
Address string - IP address for the interface
- Ip
Family string - IP family for the interface (dual, ipv4, ipv6)
- Network
Id string - Required if type is 'subnet' or 'any_subnet'
- Subnet
Id 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)
- floating
Ip GpuVirtual Cluster Servers Settings Interface Floating Ip - Floating IP configuration
- ip
Address String - IP address for the interface
- ip
Family String - IP family for the interface (dual, ipv4, ipv6)
- network
Id String - Required if type is 'subnet' or 'any_subnet'
- subnet
Id 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)
- floating
Ip GpuVirtual Cluster Servers Settings Interface Floating Ip - Floating IP configuration
- ip
Address string - IP address for the interface
- ip
Family string - IP family for the interface (dual, ipv4, ipv6)
- network
Id string - Required if type is 'subnet' or 'any_subnet'
- subnet
Id 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 GpuVirtual Cluster Servers Settings Interface Floating Ip - 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)
- floating
Ip Property Map - Floating IP configuration
- ip
Address String - IP address for the interface
- ip
Family String - IP family for the interface (dual, ipv4, ipv6)
- network
Id String - Required if type is 'subnet' or 'any_subnet'
- subnet
Id 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
- Boot
Index 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
- Delete
On boolTermination - Whether to delete the volume when the cluster is terminated
- Image
Id string - ID of the image to use (required if source is 'image')
- Snapshot
Id string - ID of the snapshot to use (required if source is 'snapshot')
- Dictionary<string, string>
- Tags to associate with the volume
- Boot
Index 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
- Delete
On boolTermination - Whether to delete the volume when the cluster is terminated
- Image
Id string - ID of the image to use (required if source is 'image')
- Snapshot
Id string - ID of the snapshot to use (required if source is 'snapshot')
- map[string]string
- Tags to associate with the volume
- boot
Index 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
- delete
On BooleanTermination - Whether to delete the volume when the cluster is terminated
- image
Id String - ID of the image to use (required if source is 'image')
- snapshot
Id String - ID of the snapshot to use (required if source is 'snapshot')
- Map<String,String>
- Tags to associate with the volume
- boot
Index 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
- delete
On booleanTermination - Whether to delete the volume when the cluster is terminated
- image
Id string - ID of the image to use (required if source is 'image')
- snapshot
Id string - ID of the snapshot to use (required if source is 'snapshot')
- {[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_ booltermination - 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')
- Mapping[str, str]
- Tags to associate with the volume
- boot
Index 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
- delete
On BooleanTermination - Whether to delete the volume when the cluster is terminated
- image
Id String - ID of the image to use (required if source is 'image')
- snapshot
Id String - ID of the snapshot to use (required if source is 'snapshot')
- 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.