published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Example Usage
Prerequisite
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
// Prerequisite resources for GPU bare metal cluster examples
const network = new gcore.CloudNetwork("network", {
projectId: 1,
regionId: 1,
name: "my-network",
type: "vlan",
});
const subnet = new gcore.CloudNetworkSubnet("subnet", {
projectId: 1,
regionId: 1,
name: "my-subnet",
cidr: "192.168.10.0/24",
networkId: network.id,
});
const keypair = new gcore.CloudSshKey("keypair", {
projectId: 1,
name: "my-keypair",
publicKey: "ssh-ed25519 ...your public key... gcore@gcore.com",
});
const vast = gcore.getCloudFileShare({
projectId: 1,
regionId: 1,
findOneBy: {
name: "my-files-share",
},
});
import pulumi
import pulumi_gcore as gcore
# Prerequisite resources for GPU bare metal cluster examples
network = gcore.CloudNetwork("network",
project_id=1,
region_id=1,
name="my-network",
type="vlan")
subnet = gcore.CloudNetworkSubnet("subnet",
project_id=1,
region_id=1,
name="my-subnet",
cidr="192.168.10.0/24",
network_id=network.id)
keypair = gcore.CloudSshKey("keypair",
project_id=1,
name="my-keypair",
public_key="ssh-ed25519 ...your public key... gcore@gcore.com")
vast = gcore.get_cloud_file_share(project_id=1,
region_id=1,
find_one_by={
"name": "my-files-share",
})
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 {
// Prerequisite resources for GPU bare metal cluster examples
network, err := gcore.NewCloudNetwork(ctx, "network", &gcore.CloudNetworkArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
Name: pulumi.String("my-network"),
Type: pulumi.String("vlan"),
})
if err != nil {
return err
}
_, err = gcore.NewCloudNetworkSubnet(ctx, "subnet", &gcore.CloudNetworkSubnetArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
Name: pulumi.String("my-subnet"),
Cidr: pulumi.String("192.168.10.0/24"),
NetworkId: network.ID(),
})
if err != nil {
return err
}
_, err = gcore.NewCloudSshKey(ctx, "keypair", &gcore.CloudSshKeyArgs{
ProjectId: pulumi.Float64(1),
Name: pulumi.String("my-keypair"),
PublicKey: pulumi.String("ssh-ed25519 ...your public key... gcore@gcore.com"),
})
if err != nil {
return err
}
_, err = gcore.LookupCloudFileShare(ctx, &gcore.LookupCloudFileShareArgs{
ProjectId: pulumi.Float64Ref(1),
RegionId: pulumi.Float64Ref(1),
FindOneBy: gcore.GetCloudFileShareFindOneBy{
Name: pulumi.StringRef("my-files-share"),
},
}, 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(() =>
{
// Prerequisite resources for GPU bare metal cluster examples
var network = new Gcore.CloudNetwork("network", new()
{
ProjectId = 1,
RegionId = 1,
Name = "my-network",
Type = "vlan",
});
var subnet = new Gcore.CloudNetworkSubnet("subnet", new()
{
ProjectId = 1,
RegionId = 1,
Name = "my-subnet",
Cidr = "192.168.10.0/24",
NetworkId = network.Id,
});
var keypair = new Gcore.CloudSshKey("keypair", new()
{
ProjectId = 1,
Name = "my-keypair",
PublicKey = "ssh-ed25519 ...your public key... gcore@gcore.com",
});
var vast = Gcore.GetCloudFileShare.Invoke(new()
{
ProjectId = 1,
RegionId = 1,
FindOneBy = new Gcore.Inputs.GetCloudFileShareFindOneByInputArgs
{
Name = "my-files-share",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.CloudNetwork;
import com.pulumi.gcore.CloudNetworkArgs;
import com.pulumi.gcore.CloudNetworkSubnet;
import com.pulumi.gcore.CloudNetworkSubnetArgs;
import com.pulumi.gcore.CloudSshKey;
import com.pulumi.gcore.CloudSshKeyArgs;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetCloudFileShareArgs;
import com.pulumi.gcore.inputs.GetCloudFileShareFindOneByArgs;
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) {
// Prerequisite resources for GPU bare metal cluster examples
var network = new CloudNetwork("network", CloudNetworkArgs.builder()
.projectId(1.0)
.regionId(1.0)
.name("my-network")
.type("vlan")
.build());
var subnet = new CloudNetworkSubnet("subnet", CloudNetworkSubnetArgs.builder()
.projectId(1.0)
.regionId(1.0)
.name("my-subnet")
.cidr("192.168.10.0/24")
.networkId(network.id())
.build());
var keypair = new CloudSshKey("keypair", CloudSshKeyArgs.builder()
.projectId(1.0)
.name("my-keypair")
.publicKey("ssh-ed25519 ...your public key... gcore@gcore.com")
.build());
final var vast = GcoreFunctions.getCloudFileShare(GetCloudFileShareArgs.builder()
.projectId(1)
.regionId(1)
.findOneBy(GetCloudFileShareFindOneByArgs.builder()
.name("my-files-share")
.build())
.build());
}
}
resources:
# Prerequisite resources for GPU bare metal cluster examples
network:
type: gcore:CloudNetwork
properties:
projectId: 1
regionId: 1
name: my-network
type: vlan
subnet:
type: gcore:CloudNetworkSubnet
properties:
projectId: 1
regionId: 1
name: my-subnet
cidr: 192.168.10.0/24
networkId: ${network.id}
keypair:
type: gcore:CloudSshKey
properties:
projectId: 1
name: my-keypair
publicKey: ssh-ed25519 ...your public key... gcore@gcore.com
variables:
vast:
fn::invoke:
function: gcore:getCloudFileShare
arguments:
projectId: 1
regionId: 1
findOneBy:
name: my-files-share
Creating GPU cluster with one public interface and tags
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
// GPU bare metal cluster with one public interface and tags
const gpuCluster = new gcore.CloudGpuBaremetalCluster("gpu_cluster", {
projectId: 1,
regionId: 1,
flavor: "bm3-ai-ndp2-1xlarge-h100-80-8",
imageId: "234c133c-b37e-4744-8a26-dc32fe407066",
name: "my-gpu-cluster",
serversCount: 1,
serversSettings: {
interfaces: [{
type: "external",
}],
credentials: {
sshKeyName: "my-keypair",
},
},
tags: {
"my-tag-key": "my-tag-value",
},
});
import pulumi
import pulumi_gcore as gcore
# GPU bare metal cluster with one public interface and tags
gpu_cluster = gcore.CloudGpuBaremetalCluster("gpu_cluster",
project_id=1,
region_id=1,
flavor="bm3-ai-ndp2-1xlarge-h100-80-8",
image_id="234c133c-b37e-4744-8a26-dc32fe407066",
name="my-gpu-cluster",
servers_count=1,
servers_settings={
"interfaces": [{
"type": "external",
}],
"credentials": {
"ssh_key_name": "my-keypair",
},
},
tags={
"my-tag-key": "my-tag-value",
})
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 {
// GPU bare metal cluster with one public interface and tags
_, err := gcore.NewCloudGpuBaremetalCluster(ctx, "gpu_cluster", &gcore.CloudGpuBaremetalClusterArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
Flavor: pulumi.String("bm3-ai-ndp2-1xlarge-h100-80-8"),
ImageId: pulumi.String("234c133c-b37e-4744-8a26-dc32fe407066"),
Name: pulumi.String("my-gpu-cluster"),
ServersCount: pulumi.Float64(1),
ServersSettings: &gcore.CloudGpuBaremetalClusterServersSettingsArgs{
Interfaces: gcore.CloudGpuBaremetalClusterServersSettingsInterfaceArray{
&gcore.CloudGpuBaremetalClusterServersSettingsInterfaceArgs{
Type: pulumi.String("external"),
},
},
Credentials: &gcore.CloudGpuBaremetalClusterServersSettingsCredentialsArgs{
SshKeyName: pulumi.String("my-keypair"),
},
},
Tags: pulumi.StringMap{
"my-tag-key": pulumi.String("my-tag-value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
// GPU bare metal cluster with one public interface and tags
var gpuCluster = new Gcore.CloudGpuBaremetalCluster("gpu_cluster", new()
{
ProjectId = 1,
RegionId = 1,
Flavor = "bm3-ai-ndp2-1xlarge-h100-80-8",
ImageId = "234c133c-b37e-4744-8a26-dc32fe407066",
Name = "my-gpu-cluster",
ServersCount = 1,
ServersSettings = new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsArgs
{
Interfaces = new[]
{
new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsInterfaceArgs
{
Type = "external",
},
},
Credentials = new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsCredentialsArgs
{
SshKeyName = "my-keypair",
},
},
Tags =
{
{ "my-tag-key", "my-tag-value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.CloudGpuBaremetalCluster;
import com.pulumi.gcore.CloudGpuBaremetalClusterArgs;
import com.pulumi.gcore.inputs.CloudGpuBaremetalClusterServersSettingsArgs;
import com.pulumi.gcore.inputs.CloudGpuBaremetalClusterServersSettingsCredentialsArgs;
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) {
// GPU bare metal cluster with one public interface and tags
var gpuCluster = new CloudGpuBaremetalCluster("gpuCluster", CloudGpuBaremetalClusterArgs.builder()
.projectId(1.0)
.regionId(1.0)
.flavor("bm3-ai-ndp2-1xlarge-h100-80-8")
.imageId("234c133c-b37e-4744-8a26-dc32fe407066")
.name("my-gpu-cluster")
.serversCount(1.0)
.serversSettings(CloudGpuBaremetalClusterServersSettingsArgs.builder()
.interfaces(CloudGpuBaremetalClusterServersSettingsInterfaceArgs.builder()
.type("external")
.build())
.credentials(CloudGpuBaremetalClusterServersSettingsCredentialsArgs.builder()
.sshKeyName("my-keypair")
.build())
.build())
.tags(Map.of("my-tag-key", "my-tag-value"))
.build());
}
}
resources:
# GPU bare metal cluster with one public interface and tags
gpuCluster:
type: gcore:CloudGpuBaremetalCluster
name: gpu_cluster
properties:
projectId: 1
regionId: 1
flavor: bm3-ai-ndp2-1xlarge-h100-80-8
imageId: 234c133c-b37e-4744-8a26-dc32fe407066
name: my-gpu-cluster
serversCount: 1
serversSettings:
interfaces:
- type: external
credentials:
sshKeyName: my-keypair
tags:
my-tag-key: my-tag-value
Creating GPU cluster with two interfaces
This example demonstrates how to create a baremetal GPU cluster with two network interfaces: one public and one private.
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
// GPU bare metal cluster with two interfaces: one public and one private
const gpuCluster = new gcore.CloudGpuBaremetalCluster("gpu_cluster", {
projectId: 1,
regionId: 1,
flavor: "bm3-ai-ndp2-1xlarge-h100-80-8",
imageId: "234c133c-b37e-4744-8a26-dc32fe407066",
name: "my-gpu-cluster",
serversCount: 1,
serversSettings: {
interfaces: [
{
type: "external",
},
{
type: "subnet",
networkId: network.id,
subnetId: subnet.id,
},
],
credentials: {
sshKeyName: "my-keypair",
},
},
});
import pulumi
import pulumi_gcore as gcore
# GPU bare metal cluster with two interfaces: one public and one private
gpu_cluster = gcore.CloudGpuBaremetalCluster("gpu_cluster",
project_id=1,
region_id=1,
flavor="bm3-ai-ndp2-1xlarge-h100-80-8",
image_id="234c133c-b37e-4744-8a26-dc32fe407066",
name="my-gpu-cluster",
servers_count=1,
servers_settings={
"interfaces": [
{
"type": "external",
},
{
"type": "subnet",
"network_id": network["id"],
"subnet_id": subnet["id"],
},
],
"credentials": {
"ssh_key_name": "my-keypair",
},
})
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 {
// GPU bare metal cluster with two interfaces: one public and one private
_, err := gcore.NewCloudGpuBaremetalCluster(ctx, "gpu_cluster", &gcore.CloudGpuBaremetalClusterArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
Flavor: pulumi.String("bm3-ai-ndp2-1xlarge-h100-80-8"),
ImageId: pulumi.String("234c133c-b37e-4744-8a26-dc32fe407066"),
Name: pulumi.String("my-gpu-cluster"),
ServersCount: pulumi.Float64(1),
ServersSettings: &gcore.CloudGpuBaremetalClusterServersSettingsArgs{
Interfaces: gcore.CloudGpuBaremetalClusterServersSettingsInterfaceArray{
&gcore.CloudGpuBaremetalClusterServersSettingsInterfaceArgs{
Type: pulumi.String("external"),
},
&gcore.CloudGpuBaremetalClusterServersSettingsInterfaceArgs{
Type: pulumi.String("subnet"),
NetworkId: pulumi.Any(network.Id),
SubnetId: pulumi.Any(subnet.Id),
},
},
Credentials: &gcore.CloudGpuBaremetalClusterServersSettingsCredentialsArgs{
SshKeyName: pulumi.String("my-keypair"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
// GPU bare metal cluster with two interfaces: one public and one private
var gpuCluster = new Gcore.CloudGpuBaremetalCluster("gpu_cluster", new()
{
ProjectId = 1,
RegionId = 1,
Flavor = "bm3-ai-ndp2-1xlarge-h100-80-8",
ImageId = "234c133c-b37e-4744-8a26-dc32fe407066",
Name = "my-gpu-cluster",
ServersCount = 1,
ServersSettings = new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsArgs
{
Interfaces = new[]
{
new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsInterfaceArgs
{
Type = "external",
},
new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsInterfaceArgs
{
Type = "subnet",
NetworkId = network.Id,
SubnetId = subnet.Id,
},
},
Credentials = new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsCredentialsArgs
{
SshKeyName = "my-keypair",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.CloudGpuBaremetalCluster;
import com.pulumi.gcore.CloudGpuBaremetalClusterArgs;
import com.pulumi.gcore.inputs.CloudGpuBaremetalClusterServersSettingsArgs;
import com.pulumi.gcore.inputs.CloudGpuBaremetalClusterServersSettingsCredentialsArgs;
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) {
// GPU bare metal cluster with two interfaces: one public and one private
var gpuCluster = new CloudGpuBaremetalCluster("gpuCluster", CloudGpuBaremetalClusterArgs.builder()
.projectId(1.0)
.regionId(1.0)
.flavor("bm3-ai-ndp2-1xlarge-h100-80-8")
.imageId("234c133c-b37e-4744-8a26-dc32fe407066")
.name("my-gpu-cluster")
.serversCount(1.0)
.serversSettings(CloudGpuBaremetalClusterServersSettingsArgs.builder()
.interfaces(
CloudGpuBaremetalClusterServersSettingsInterfaceArgs.builder()
.type("external")
.build(),
CloudGpuBaremetalClusterServersSettingsInterfaceArgs.builder()
.type("subnet")
.networkId(network.id())
.subnetId(subnet.id())
.build())
.credentials(CloudGpuBaremetalClusterServersSettingsCredentialsArgs.builder()
.sshKeyName("my-keypair")
.build())
.build())
.build());
}
}
resources:
# GPU bare metal cluster with two interfaces: one public and one private
gpuCluster:
type: gcore:CloudGpuBaremetalCluster
name: gpu_cluster
properties:
projectId: 1
regionId: 1
flavor: bm3-ai-ndp2-1xlarge-h100-80-8
imageId: 234c133c-b37e-4744-8a26-dc32fe407066
name: my-gpu-cluster
serversCount: 1
serversSettings:
interfaces:
- type: external
- type: subnet
networkId: ${network.id}
subnetId: ${subnet.id}
credentials:
sshKeyName: my-keypair
Create CloudGpuBaremetalCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudGpuBaremetalCluster(name: string, args: CloudGpuBaremetalClusterArgs, opts?: CustomResourceOptions);@overload
def CloudGpuBaremetalCluster(resource_name: str,
args: CloudGpuBaremetalClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudGpuBaremetalCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
flavor: Optional[str] = None,
image_id: Optional[str] = None,
servers_count: Optional[float] = None,
servers_settings: Optional[CloudGpuBaremetalClusterServersSettingsArgs] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
region_id: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None)func NewCloudGpuBaremetalCluster(ctx *Context, name string, args CloudGpuBaremetalClusterArgs, opts ...ResourceOption) (*CloudGpuBaremetalCluster, error)public CloudGpuBaremetalCluster(string name, CloudGpuBaremetalClusterArgs args, CustomResourceOptions? opts = null)
public CloudGpuBaremetalCluster(String name, CloudGpuBaremetalClusterArgs args)
public CloudGpuBaremetalCluster(String name, CloudGpuBaremetalClusterArgs args, CustomResourceOptions options)
type: gcore:CloudGpuBaremetalCluster
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 CloudGpuBaremetalClusterArgs
- 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 CloudGpuBaremetalClusterArgs
- 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 CloudGpuBaremetalClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudGpuBaremetalClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudGpuBaremetalClusterArgs
- 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 cloudGpuBaremetalClusterResource = new Gcore.CloudGpuBaremetalCluster("cloudGpuBaremetalClusterResource", new()
{
Flavor = "string",
ImageId = "string",
ServersCount = 0,
ServersSettings = new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsArgs
{
Interfaces = new[]
{
new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsInterfaceArgs
{
Type = "string",
FloatingIp = new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsInterfaceFloatingIpArgs
{
Source = "string",
},
IpFamily = "string",
Name = "string",
NetworkId = "string",
SubnetId = "string",
},
},
Credentials = new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsCredentialsArgs
{
PasswordWo = "string",
PasswordWoVersion = 0,
SshKeyName = "string",
Username = "string",
},
FileShares = new[]
{
new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsFileShareArgs
{
Id = "string",
MountPath = "string",
},
},
SecurityGroups = new[]
{
new Gcore.Inputs.CloudGpuBaremetalClusterServersSettingsSecurityGroupArgs
{
Id = "string",
},
},
UserData = "string",
},
Name = "string",
ProjectId = 0,
RegionId = 0,
Tags =
{
{ "string", "string" },
},
});
example, err := gcore.NewCloudGpuBaremetalCluster(ctx, "cloudGpuBaremetalClusterResource", &gcore.CloudGpuBaremetalClusterArgs{
Flavor: pulumi.String("string"),
ImageId: pulumi.String("string"),
ServersCount: pulumi.Float64(0),
ServersSettings: &gcore.CloudGpuBaremetalClusterServersSettingsArgs{
Interfaces: gcore.CloudGpuBaremetalClusterServersSettingsInterfaceArray{
&gcore.CloudGpuBaremetalClusterServersSettingsInterfaceArgs{
Type: pulumi.String("string"),
FloatingIp: &gcore.CloudGpuBaremetalClusterServersSettingsInterfaceFloatingIpArgs{
Source: pulumi.String("string"),
},
IpFamily: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
},
},
Credentials: &gcore.CloudGpuBaremetalClusterServersSettingsCredentialsArgs{
PasswordWo: pulumi.String("string"),
PasswordWoVersion: pulumi.Float64(0),
SshKeyName: pulumi.String("string"),
Username: pulumi.String("string"),
},
FileShares: gcore.CloudGpuBaremetalClusterServersSettingsFileShareArray{
&gcore.CloudGpuBaremetalClusterServersSettingsFileShareArgs{
Id: pulumi.String("string"),
MountPath: pulumi.String("string"),
},
},
SecurityGroups: gcore.CloudGpuBaremetalClusterServersSettingsSecurityGroupArray{
&gcore.CloudGpuBaremetalClusterServersSettingsSecurityGroupArgs{
Id: pulumi.String("string"),
},
},
UserData: pulumi.String("string"),
},
Name: pulumi.String("string"),
ProjectId: pulumi.Float64(0),
RegionId: pulumi.Float64(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var cloudGpuBaremetalClusterResource = new CloudGpuBaremetalCluster("cloudGpuBaremetalClusterResource", CloudGpuBaremetalClusterArgs.builder()
.flavor("string")
.imageId("string")
.serversCount(0.0)
.serversSettings(CloudGpuBaremetalClusterServersSettingsArgs.builder()
.interfaces(CloudGpuBaremetalClusterServersSettingsInterfaceArgs.builder()
.type("string")
.floatingIp(CloudGpuBaremetalClusterServersSettingsInterfaceFloatingIpArgs.builder()
.source("string")
.build())
.ipFamily("string")
.name("string")
.networkId("string")
.subnetId("string")
.build())
.credentials(CloudGpuBaremetalClusterServersSettingsCredentialsArgs.builder()
.passwordWo("string")
.passwordWoVersion(0.0)
.sshKeyName("string")
.username("string")
.build())
.fileShares(CloudGpuBaremetalClusterServersSettingsFileShareArgs.builder()
.id("string")
.mountPath("string")
.build())
.securityGroups(CloudGpuBaremetalClusterServersSettingsSecurityGroupArgs.builder()
.id("string")
.build())
.userData("string")
.build())
.name("string")
.projectId(0.0)
.regionId(0.0)
.tags(Map.of("string", "string"))
.build());
cloud_gpu_baremetal_cluster_resource = gcore.CloudGpuBaremetalCluster("cloudGpuBaremetalClusterResource",
flavor="string",
image_id="string",
servers_count=0,
servers_settings={
"interfaces": [{
"type": "string",
"floating_ip": {
"source": "string",
},
"ip_family": "string",
"name": "string",
"network_id": "string",
"subnet_id": "string",
}],
"credentials": {
"password_wo": "string",
"password_wo_version": 0,
"ssh_key_name": "string",
"username": "string",
},
"file_shares": [{
"id": "string",
"mount_path": "string",
}],
"security_groups": [{
"id": "string",
}],
"user_data": "string",
},
name="string",
project_id=0,
region_id=0,
tags={
"string": "string",
})
const cloudGpuBaremetalClusterResource = new gcore.CloudGpuBaremetalCluster("cloudGpuBaremetalClusterResource", {
flavor: "string",
imageId: "string",
serversCount: 0,
serversSettings: {
interfaces: [{
type: "string",
floatingIp: {
source: "string",
},
ipFamily: "string",
name: "string",
networkId: "string",
subnetId: "string",
}],
credentials: {
passwordWo: "string",
passwordWoVersion: 0,
sshKeyName: "string",
username: "string",
},
fileShares: [{
id: "string",
mountPath: "string",
}],
securityGroups: [{
id: "string",
}],
userData: "string",
},
name: "string",
projectId: 0,
regionId: 0,
tags: {
string: "string",
},
});
type: gcore:CloudGpuBaremetalCluster
properties:
flavor: string
imageId: string
name: string
projectId: 0
regionId: 0
serversCount: 0
serversSettings:
credentials:
passwordWo: string
passwordWoVersion: 0
sshKeyName: string
username: string
fileShares:
- id: string
mountPath: string
interfaces:
- floatingIp:
source: string
ipFamily: string
name: string
networkId: string
subnetId: string
type: string
securityGroups:
- id: string
userData: string
tags:
string: string
CloudGpuBaremetalCluster 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 CloudGpuBaremetalCluster resource accepts the following input properties:
- Flavor string
- Cluster flavor ID
- Image
Id string - System image ID
- Servers
Count double - Number of servers in the cluster
- Servers
Settings CloudGpu Baremetal Cluster Servers Settings - Configuration settings for the servers in the cluster
- Name string
- Cluster name
- Project
Id double - Project ID
- Region
Id double - Region ID
- Dictionary<string, string>
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- Flavor string
- Cluster flavor ID
- Image
Id string - System image ID
- Servers
Count float64 - Number of servers in the cluster
- Servers
Settings CloudGpu Baremetal Cluster Servers Settings Args - Configuration settings for the servers in the cluster
- Name string
- Cluster name
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- map[string]string
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- flavor String
- Cluster flavor ID
- image
Id String - System image ID
- servers
Count Double - Number of servers in the cluster
- servers
Settings CloudGpu Baremetal Cluster Servers Settings - Configuration settings for the servers in the cluster
- name String
- Cluster name
- project
Id Double - Project ID
- region
Id Double - Region ID
- Map<String,String>
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- flavor string
- Cluster flavor ID
- image
Id string - System image ID
- servers
Count number - Number of servers in the cluster
- servers
Settings CloudGpu Baremetal Cluster Servers Settings - Configuration settings for the servers in the cluster
- name string
- Cluster name
- project
Id number - Project ID
- region
Id number - Region ID
- {[key: string]: string}
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- flavor str
- Cluster flavor ID
- image_
id str - System image ID
- servers_
count float - Number of servers in the cluster
- servers_
settings CloudGpu Baremetal Cluster Servers Settings Args - Configuration settings for the servers in the cluster
- name str
- Cluster name
- project_
id float - Project ID
- region_
id float - Region ID
- Mapping[str, str]
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- flavor String
- Cluster flavor ID
- image
Id String - System image ID
- servers
Count Number - Number of servers in the cluster
- servers
Settings Property Map - Configuration settings for the servers in the cluster
- name String
- Cluster name
- project
Id Number - Project ID
- region
Id Number - Region ID
- Map<String>
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudGpuBaremetalCluster resource produces the following output properties:
- Created
At string - Cluster creation date time
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
By string - User type managing the resource Available values: "k8s", "user".
- Servers
Ids List<string> - List of cluster nodes
- Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- Tasks List<string>
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- Updated
At string - Cluster update date time
- Created
At string - Cluster creation date time
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
By string - User type managing the resource Available values: "k8s", "user".
- Servers
Ids []string - List of cluster nodes
- Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- Tasks []string
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- Updated
At string - Cluster update date time
- created
At String - Cluster creation date time
- id String
- The provider-assigned unique ID for this managed resource.
- managed
By String - User type managing the resource Available values: "k8s", "user".
- servers
Ids List<String> - List of cluster nodes
- status String
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- tasks List<String>
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated
At String - Cluster update date time
- created
At string - Cluster creation date time
- id string
- The provider-assigned unique ID for this managed resource.
- managed
By string - User type managing the resource Available values: "k8s", "user".
- servers
Ids string[] - List of cluster nodes
- status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- tasks string[]
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated
At string - Cluster update date time
- created_
at str - Cluster creation date time
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
by str - User type managing the resource Available values: "k8s", "user".
- servers_
ids Sequence[str] - List of cluster nodes
- status str
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- tasks Sequence[str]
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated_
at str - Cluster update date time
- created
At String - Cluster creation date time
- id String
- The provider-assigned unique ID for this managed resource.
- managed
By String - User type managing the resource Available values: "k8s", "user".
- servers
Ids List<String> - List of cluster nodes
- status String
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- tasks List<String>
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated
At String - Cluster update date time
Look up Existing CloudGpuBaremetalCluster Resource
Get an existing CloudGpuBaremetalCluster 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?: CloudGpuBaremetalClusterState, opts?: CustomResourceOptions): CloudGpuBaremetalCluster@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
flavor: Optional[str] = None,
image_id: Optional[str] = None,
managed_by: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
region_id: Optional[float] = None,
servers_count: Optional[float] = None,
servers_ids: Optional[Sequence[str]] = None,
servers_settings: Optional[CloudGpuBaremetalClusterServersSettingsArgs] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tasks: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None) -> CloudGpuBaremetalClusterfunc GetCloudGpuBaremetalCluster(ctx *Context, name string, id IDInput, state *CloudGpuBaremetalClusterState, opts ...ResourceOption) (*CloudGpuBaremetalCluster, error)public static CloudGpuBaremetalCluster Get(string name, Input<string> id, CloudGpuBaremetalClusterState? state, CustomResourceOptions? opts = null)public static CloudGpuBaremetalCluster get(String name, Output<String> id, CloudGpuBaremetalClusterState state, CustomResourceOptions options)resources: _: type: gcore:CloudGpuBaremetalCluster 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.
- Created
At string - Cluster creation date time
- Flavor string
- Cluster flavor ID
- Image
Id string - System image ID
- Managed
By string - User type managing the resource Available values: "k8s", "user".
- Name string
- Cluster name
- Project
Id double - Project ID
- Region
Id double - Region ID
- Servers
Count double - Number of servers in the cluster
- Servers
Ids List<string> - List of cluster nodes
- Servers
Settings CloudGpu Baremetal Cluster Servers Settings - Configuration settings for the servers in the cluster
- Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- Dictionary<string, string>
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- Tasks List<string>
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- Updated
At string - Cluster update date time
- Created
At string - Cluster creation date time
- Flavor string
- Cluster flavor ID
- Image
Id string - System image ID
- Managed
By string - User type managing the resource Available values: "k8s", "user".
- Name string
- Cluster name
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- Servers
Count float64 - Number of servers in the cluster
- Servers
Ids []string - List of cluster nodes
- Servers
Settings CloudGpu Baremetal Cluster Servers Settings Args - Configuration settings for the servers in the cluster
- Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- map[string]string
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- Tasks []string
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- Updated
At string - Cluster update date time
- created
At String - Cluster creation date time
- flavor String
- Cluster flavor ID
- image
Id String - System image ID
- managed
By String - User type managing the resource Available values: "k8s", "user".
- name String
- Cluster name
- project
Id Double - Project ID
- region
Id Double - Region ID
- servers
Count Double - Number of servers in the cluster
- servers
Ids List<String> - List of cluster nodes
- servers
Settings CloudGpu Baremetal Cluster Servers Settings - Configuration settings for the servers in the cluster
- status String
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- Map<String,String>
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- tasks List<String>
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated
At String - Cluster update date time
- created
At string - Cluster creation date time
- flavor string
- Cluster flavor ID
- image
Id string - System image ID
- managed
By string - User type managing the resource Available values: "k8s", "user".
- name string
- Cluster name
- project
Id number - Project ID
- region
Id number - Region ID
- servers
Count number - Number of servers in the cluster
- servers
Ids string[] - List of cluster nodes
- servers
Settings CloudGpu Baremetal Cluster Servers Settings - Configuration settings for the servers in the cluster
- status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- {[key: string]: string}
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- tasks string[]
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated
At string - Cluster update date time
- created_
at str - Cluster creation date time
- flavor str
- Cluster flavor ID
- image_
id str - System image ID
- managed_
by str - User type managing the resource Available values: "k8s", "user".
- name str
- Cluster name
- project_
id float - Project ID
- region_
id float - Region ID
- servers_
count float - Number of servers in the cluster
- servers_
ids Sequence[str] - List of cluster nodes
- servers_
settings CloudGpu Baremetal Cluster Servers Settings Args - Configuration settings for the servers in the cluster
- status str
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- Mapping[str, str]
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- tasks Sequence[str]
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated_
at str - Cluster update date time
- created
At String - Cluster creation date time
- flavor String
- Cluster flavor ID
- image
Id String - System image ID
- managed
By String - User type managing the resource Available values: "k8s", "user".
- name String
- Cluster name
- project
Id Number - Project ID
- region
Id Number - Region ID
- servers
Count Number - Number of servers in the cluster
- servers
Ids List<String> - List of cluster nodes
- servers
Settings Property Map - Configuration settings for the servers in the cluster
- status String
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "new", "rebooting", "rebuilding", "resizing", "shutoff".
- Map<String>
- Key-value tags to associate 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. Both tag keys and values have a maximum length of 255 characters. 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.
- tasks List<String>
- List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
- updated
At String - Cluster update date time
Supporting Types
CloudGpuBaremetalClusterServersSettings, CloudGpuBaremetalClusterServersSettingsArgs
- Interfaces
List<Cloud
Gpu Baremetal Cluster Servers Settings Interface> - Subnet IPs and floating IPs
- Credentials
Cloud
Gpu Baremetal Cluster Servers Settings Credentials - Optional server access credentials
-
List<Cloud
Gpu Baremetal Cluster Servers Settings File Share> - List of file shares to be mounted across the cluster.
- Security
Groups List<CloudGpu Baremetal Cluster Servers Settings Security Group> - List of security groups UUIDs
- User
Data string - Optional custom user data (Base64-encoded)
- Interfaces
[]Cloud
Gpu Baremetal Cluster Servers Settings Interface - Subnet IPs and floating IPs
- Credentials
Cloud
Gpu Baremetal Cluster Servers Settings Credentials - Optional server access credentials
-
[]Cloud
Gpu Baremetal Cluster Servers Settings File Share - List of file shares to be mounted across the cluster.
- Security
Groups []CloudGpu Baremetal Cluster Servers Settings Security Group - List of security groups UUIDs
- User
Data string - Optional custom user data (Base64-encoded)
- interfaces
List<Cloud
Gpu Baremetal Cluster Servers Settings Interface> - Subnet IPs and floating IPs
- credentials
Cloud
Gpu Baremetal Cluster Servers Settings Credentials - Optional server access credentials
-
List<Cloud
Gpu Baremetal Cluster Servers Settings File Share> - List of file shares to be mounted across the cluster.
- security
Groups List<CloudGpu Baremetal Cluster Servers Settings Security Group> - List of security groups UUIDs
- user
Data String - Optional custom user data (Base64-encoded)
- interfaces
Cloud
Gpu Baremetal Cluster Servers Settings Interface[] - Subnet IPs and floating IPs
- credentials
Cloud
Gpu Baremetal Cluster Servers Settings Credentials - Optional server access credentials
-
Cloud
Gpu Baremetal Cluster Servers Settings File Share[] - List of file shares to be mounted across the cluster.
- security
Groups CloudGpu Baremetal Cluster Servers Settings Security Group[] - List of security groups UUIDs
- user
Data string - Optional custom user data (Base64-encoded)
- interfaces
Sequence[Cloud
Gpu Baremetal Cluster Servers Settings Interface] - Subnet IPs and floating IPs
- credentials
Cloud
Gpu Baremetal Cluster Servers Settings Credentials - Optional server access credentials
-
Sequence[Cloud
Gpu Baremetal Cluster Servers Settings File Share] - List of file shares to be mounted across the cluster.
- security_
groups Sequence[CloudGpu Baremetal Cluster Servers Settings Security Group] - List of security groups UUIDs
- user_
data str - Optional custom user data (Base64-encoded)
- interfaces List<Property Map>
- Subnet IPs and floating IPs
- credentials Property Map
- Optional server access credentials
- List<Property Map>
- List of file shares to be mounted across the cluster.
- security
Groups List<Property Map> - List of security groups UUIDs
- user
Data String - Optional custom user data (Base64-encoded)
CloudGpuBaremetalClusterServersSettingsCredentials, CloudGpuBaremetalClusterServersSettingsCredentialsArgs
- Password
Wo string - Used to set the password for the specified 'username' on Linux instances. If 'username' is not provided, the password is applied to the default user of the image. Mutually exclusive with '
user_data' - only one can be specified. - Password
Wo doubleVersion - Version of the password write-only field. Increment this value to trigger an update when changing the password.
- Ssh
Key stringName - Specifies the name of the SSH keypair, created via the
/v1/
ssh_keysendpoint. - Username string
- The 'username' and 'password' fields create a new user on the system
- Password
Wo string - Used to set the password for the specified 'username' on Linux instances. If 'username' is not provided, the password is applied to the default user of the image. Mutually exclusive with '
user_data' - only one can be specified. - Password
Wo float64Version - Version of the password write-only field. Increment this value to trigger an update when changing the password.
- Ssh
Key stringName - Specifies the name of the SSH keypair, created via the
/v1/
ssh_keysendpoint. - Username string
- The 'username' and 'password' fields create a new user on the system
- password
Wo String - Used to set the password for the specified 'username' on Linux instances. If 'username' is not provided, the password is applied to the default user of the image. Mutually exclusive with '
user_data' - only one can be specified. - password
Wo DoubleVersion - Version of the password write-only field. Increment this value to trigger an update when changing the password.
- ssh
Key StringName - Specifies the name of the SSH keypair, created via the
/v1/
ssh_keysendpoint. - username String
- The 'username' and 'password' fields create a new user on the system
- password
Wo string - Used to set the password for the specified 'username' on Linux instances. If 'username' is not provided, the password is applied to the default user of the image. Mutually exclusive with '
user_data' - only one can be specified. - password
Wo numberVersion - Version of the password write-only field. Increment this value to trigger an update when changing the password.
- ssh
Key stringName - Specifies the name of the SSH keypair, created via the
/v1/
ssh_keysendpoint. - username string
- The 'username' and 'password' fields create a new user on the system
- password_
wo str - Used to set the password for the specified 'username' on Linux instances. If 'username' is not provided, the password is applied to the default user of the image. Mutually exclusive with '
user_data' - only one can be specified. - password_
wo_ floatversion - Version of the password write-only field. Increment this value to trigger an update when changing the password.
- ssh_
key_ strname - Specifies the name of the SSH keypair, created via the
/v1/
ssh_keysendpoint. - username str
- The 'username' and 'password' fields create a new user on the system
- password
Wo String - Used to set the password for the specified 'username' on Linux instances. If 'username' is not provided, the password is applied to the default user of the image. Mutually exclusive with '
user_data' - only one can be specified. - password
Wo NumberVersion - Version of the password write-only field. Increment this value to trigger an update when changing the password.
- ssh
Key StringName - Specifies the name of the SSH keypair, created via the
/v1/
ssh_keysendpoint. - username String
- The 'username' and 'password' fields create a new user on the system
CloudGpuBaremetalClusterServersSettingsFileShare, CloudGpuBaremetalClusterServersSettingsFileShareArgs
- id str
- Unique identifier of the file share in UUID format.
- mount_
path str - Absolute mount path inside the system where the file share will be mounted.
CloudGpuBaremetalClusterServersSettingsInterface, CloudGpuBaremetalClusterServersSettingsInterfaceArgs
- Type string
- Available values: "external", "subnet", <span pulumi-lang-nodejs=""anySubnet"" pulumi-lang-dotnet=""AnySubnet"" pulumi-lang-go=""anySubnet"" pulumi-lang-python=""any_subnet"" pulumi-lang-yaml=""anySubnet"" pulumi-lang-java=""anySubnet"">"any_subnet".
- Floating
Ip CloudGpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- Ip
Family string - Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
- Name string
- Interface name
- Network
Id string - Network ID the subnet belongs to. Port will be plugged in this network
- Subnet
Id string - Port is assigned an IP address from this subnet
- Type string
- Available values: "external", "subnet", <span pulumi-lang-nodejs=""anySubnet"" pulumi-lang-dotnet=""AnySubnet"" pulumi-lang-go=""anySubnet"" pulumi-lang-python=""any_subnet"" pulumi-lang-yaml=""anySubnet"" pulumi-lang-java=""anySubnet"">"any_subnet".
- Floating
Ip CloudGpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- Ip
Family string - Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
- Name string
- Interface name
- Network
Id string - Network ID the subnet belongs to. Port will be plugged in this network
- Subnet
Id string - Port is assigned an IP address from this subnet
- type String
- Available values: "external", "subnet", <span pulumi-lang-nodejs=""anySubnet"" pulumi-lang-dotnet=""AnySubnet"" pulumi-lang-go=""anySubnet"" pulumi-lang-python=""any_subnet"" pulumi-lang-yaml=""anySubnet"" pulumi-lang-java=""anySubnet"">"any_subnet".
- floating
Ip CloudGpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- ip
Family String - Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
- name String
- Interface name
- network
Id String - Network ID the subnet belongs to. Port will be plugged in this network
- subnet
Id String - Port is assigned an IP address from this subnet
- type string
- Available values: "external", "subnet", <span pulumi-lang-nodejs=""anySubnet"" pulumi-lang-dotnet=""AnySubnet"" pulumi-lang-go=""anySubnet"" pulumi-lang-python=""any_subnet"" pulumi-lang-yaml=""anySubnet"" pulumi-lang-java=""anySubnet"">"any_subnet".
- floating
Ip CloudGpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- ip
Family string - Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
- name string
- Interface name
- network
Id string - Network ID the subnet belongs to. Port will be plugged in this network
- subnet
Id string - Port is assigned an IP address from this subnet
- type str
- Available values: "external", "subnet", <span pulumi-lang-nodejs=""anySubnet"" pulumi-lang-dotnet=""AnySubnet"" pulumi-lang-go=""anySubnet"" pulumi-lang-python=""any_subnet"" pulumi-lang-yaml=""anySubnet"" pulumi-lang-java=""anySubnet"">"any_subnet".
- floating_
ip CloudGpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- ip_
family str - Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
- name str
- Interface name
- network_
id str - Network ID the subnet belongs to. Port will be plugged in this network
- subnet_
id str - Port is assigned an IP address from this subnet
- type String
- Available values: "external", "subnet", <span pulumi-lang-nodejs=""anySubnet"" pulumi-lang-dotnet=""AnySubnet"" pulumi-lang-go=""anySubnet"" pulumi-lang-python=""any_subnet"" pulumi-lang-yaml=""anySubnet"" pulumi-lang-java=""anySubnet"">"any_subnet".
- floating
Ip Property Map - Floating IP config for this subnet attachment
- ip
Family String - Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
- name String
- Interface name
- network
Id String - Network ID the subnet belongs to. Port will be plugged in this network
- subnet
Id String - Port is assigned an IP address from this subnet
CloudGpuBaremetalClusterServersSettingsInterfaceFloatingIp, CloudGpuBaremetalClusterServersSettingsInterfaceFloatingIpArgs
- Source string
- Available values: "new".
- Source string
- Available values: "new".
- source String
- Available values: "new".
- source string
- Available values: "new".
- source str
- Available values: "new".
- source String
- Available values: "new".
CloudGpuBaremetalClusterServersSettingsSecurityGroup, CloudGpuBaremetalClusterServersSettingsSecurityGroupArgs
- Id string
- Resource ID
- Id string
- Resource ID
- id String
- Resource ID
- id string
- Resource ID
- id str
- Resource ID
- id String
- Resource ID
Import
$ pulumi import gcore:index/cloudGpuBaremetalCluster:CloudGpuBaremetalCluster example '<project_id>/<region_id>/<cluster_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
published on Tuesday, Mar 24, 2026 by g-core
