1. Packages
  2. Gcore Provider
  3. API Docs
  4. getCloudGpuBaremetalCluster
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
gcore logo
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleCloudGpuBaremetalCluster = gcore.getCloudGpuBaremetalCluster({
        projectId: 1,
        regionId: 7,
        clusterId: "1aaaab48-10d0-46d9-80cc-85209284ceb4",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_cloud_gpu_baremetal_cluster = gcore.get_cloud_gpu_baremetal_cluster(project_id=1,
        region_id=7,
        cluster_id="1aaaab48-10d0-46d9-80cc-85209284ceb4")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.LookupCloudGpuBaremetalCluster(ctx, &gcore.LookupCloudGpuBaremetalClusterArgs{
    			ProjectId: pulumi.Float64Ref(1),
    			RegionId:  pulumi.Float64Ref(7),
    			ClusterId: pulumi.StringRef("1aaaab48-10d0-46d9-80cc-85209284ceb4"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCloudGpuBaremetalCluster = Gcore.GetCloudGpuBaremetalCluster.Invoke(new()
        {
            ProjectId = 1,
            RegionId = 7,
            ClusterId = "1aaaab48-10d0-46d9-80cc-85209284ceb4",
        });
    
    });
    
    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.GetCloudGpuBaremetalClusterArgs;
    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 exampleCloudGpuBaremetalCluster = GcoreFunctions.getCloudGpuBaremetalCluster(GetCloudGpuBaremetalClusterArgs.builder()
                .projectId(1)
                .regionId(7)
                .clusterId("1aaaab48-10d0-46d9-80cc-85209284ceb4")
                .build());
    
        }
    }
    
    variables:
      exampleCloudGpuBaremetalCluster:
        fn::invoke:
          function: gcore:getCloudGpuBaremetalCluster
          arguments:
            projectId: 1
            regionId: 7
            clusterId: 1aaaab48-10d0-46d9-80cc-85209284ceb4
    

    Using getCloudGpuBaremetalCluster

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCloudGpuBaremetalCluster(args: GetCloudGpuBaremetalClusterArgs, opts?: InvokeOptions): Promise<GetCloudGpuBaremetalClusterResult>
    function getCloudGpuBaremetalClusterOutput(args: GetCloudGpuBaremetalClusterOutputArgs, opts?: InvokeOptions): Output<GetCloudGpuBaremetalClusterResult>
    def get_cloud_gpu_baremetal_cluster(cluster_id: Optional[str] = None,
                                        find_one_by: Optional[GetCloudGpuBaremetalClusterFindOneBy] = None,
                                        project_id: Optional[float] = None,
                                        region_id: Optional[float] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetCloudGpuBaremetalClusterResult
    def get_cloud_gpu_baremetal_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
                                        find_one_by: Optional[pulumi.Input[GetCloudGpuBaremetalClusterFindOneByArgs]] = None,
                                        project_id: Optional[pulumi.Input[float]] = None,
                                        region_id: Optional[pulumi.Input[float]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetCloudGpuBaremetalClusterResult]
    func LookupCloudGpuBaremetalCluster(ctx *Context, args *LookupCloudGpuBaremetalClusterArgs, opts ...InvokeOption) (*LookupCloudGpuBaremetalClusterResult, error)
    func LookupCloudGpuBaremetalClusterOutput(ctx *Context, args *LookupCloudGpuBaremetalClusterOutputArgs, opts ...InvokeOption) LookupCloudGpuBaremetalClusterResultOutput

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

    public static class GetCloudGpuBaremetalCluster 
    {
        public static Task<GetCloudGpuBaremetalClusterResult> InvokeAsync(GetCloudGpuBaremetalClusterArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudGpuBaremetalClusterResult> Invoke(GetCloudGpuBaremetalClusterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudGpuBaremetalClusterResult> getCloudGpuBaremetalCluster(GetCloudGpuBaremetalClusterArgs args, InvokeOptions options)
    public static Output<GetCloudGpuBaremetalClusterResult> getCloudGpuBaremetalCluster(GetCloudGpuBaremetalClusterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getCloudGpuBaremetalCluster:getCloudGpuBaremetalCluster
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterId string
    Cluster unique identifier
    FindOneBy GetCloudGpuBaremetalClusterFindOneBy
    ProjectId double
    Project ID
    RegionId double
    Region ID
    ClusterId string
    Cluster unique identifier
    FindOneBy GetCloudGpuBaremetalClusterFindOneBy
    ProjectId float64
    Project ID
    RegionId float64
    Region ID
    clusterId String
    Cluster unique identifier
    findOneBy GetCloudGpuBaremetalClusterFindOneBy
    projectId Double
    Project ID
    regionId Double
    Region ID
    clusterId string
    Cluster unique identifier
    findOneBy GetCloudGpuBaremetalClusterFindOneBy
    projectId number
    Project ID
    regionId number
    Region ID
    cluster_id str
    Cluster unique identifier
    find_one_by GetCloudGpuBaremetalClusterFindOneBy
    project_id float
    Project ID
    region_id float
    Region ID
    clusterId String
    Cluster unique identifier
    findOneBy Property Map
    projectId Number
    Project ID
    regionId Number
    Region ID

    getCloudGpuBaremetalCluster Result

    The following output properties are available:

    CreatedAt string
    Cluster creation date time
    Flavor string
    Cluster flavor name
    Id string
    Cluster unique identifier
    ImageId string
    Image ID
    ManagedBy string
    User type managing the resource Available values: "k8s", "user".
    Name string
    Cluster name
    ServersCount double
    Cluster servers count
    ServersIds List<string>
    List of cluster nodes
    ServersSettings GetCloudGpuBaremetalClusterServersSettings
    Status string
    Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
    Tags List<GetCloudGpuBaremetalClusterTag>
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UpdatedAt string
    Cluster update date time
    ClusterId string
    Cluster unique identifier
    FindOneBy GetCloudGpuBaremetalClusterFindOneBy
    ProjectId double
    Project ID
    RegionId double
    Region ID
    CreatedAt string
    Cluster creation date time
    Flavor string
    Cluster flavor name
    Id string
    Cluster unique identifier
    ImageId string
    Image ID
    ManagedBy string
    User type managing the resource Available values: "k8s", "user".
    Name string
    Cluster name
    ServersCount float64
    Cluster servers count
    ServersIds []string
    List of cluster nodes
    ServersSettings GetCloudGpuBaremetalClusterServersSettings
    Status string
    Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
    Tags []GetCloudGpuBaremetalClusterTag
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    UpdatedAt string
    Cluster update date time
    ClusterId string
    Cluster unique identifier
    FindOneBy GetCloudGpuBaremetalClusterFindOneBy
    ProjectId float64
    Project ID
    RegionId float64
    Region ID
    createdAt String
    Cluster creation date time
    flavor String
    Cluster flavor name
    id String
    Cluster unique identifier
    imageId String
    Image ID
    managedBy String
    User type managing the resource Available values: "k8s", "user".
    name String
    Cluster name
    serversCount Double
    Cluster servers count
    serversIds List<String>
    List of cluster nodes
    serversSettings GetCloudGpuBaremetalClusterServersSettings
    status String
    Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
    tags List<GetCloudGpuBaremetalClusterTag>
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updatedAt String
    Cluster update date time
    clusterId String
    Cluster unique identifier
    findOneBy GetCloudGpuBaremetalClusterFindOneBy
    projectId Double
    Project ID
    regionId Double
    Region ID
    createdAt string
    Cluster creation date time
    flavor string
    Cluster flavor name
    id string
    Cluster unique identifier
    imageId string
    Image ID
    managedBy string
    User type managing the resource Available values: "k8s", "user".
    name string
    Cluster name
    serversCount number
    Cluster servers count
    serversIds string[]
    List of cluster nodes
    serversSettings GetCloudGpuBaremetalClusterServersSettings
    status string
    Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
    tags GetCloudGpuBaremetalClusterTag[]
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updatedAt string
    Cluster update date time
    clusterId string
    Cluster unique identifier
    findOneBy GetCloudGpuBaremetalClusterFindOneBy
    projectId number
    Project ID
    regionId number
    Region ID
    created_at str
    Cluster creation date time
    flavor str
    Cluster flavor name
    id str
    Cluster unique identifier
    image_id str
    Image ID
    managed_by str
    User type managing the resource Available values: "k8s", "user".
    name str
    Cluster name
    servers_count float
    Cluster servers count
    servers_ids Sequence[str]
    List of cluster nodes
    servers_settings GetCloudGpuBaremetalClusterServersSettings
    status str
    Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
    tags Sequence[GetCloudGpuBaremetalClusterTag]
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updated_at str
    Cluster update date time
    cluster_id str
    Cluster unique identifier
    find_one_by GetCloudGpuBaremetalClusterFindOneBy
    project_id float
    Project ID
    region_id float
    Region ID
    createdAt String
    Cluster creation date time
    flavor String
    Cluster flavor name
    id String
    Cluster unique identifier
    imageId String
    Image ID
    managedBy String
    User type managing the resource Available values: "k8s", "user".
    name String
    Cluster name
    serversCount Number
    Cluster servers count
    serversIds List<String>
    List of cluster nodes
    serversSettings Property Map
    status String
    Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
    tags List<Property Map>
    List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    updatedAt String
    Cluster update date time
    clusterId String
    Cluster unique identifier
    findOneBy Property Map
    projectId Number
    Project ID
    regionId Number
    Region ID

    Supporting Types

    GetCloudGpuBaremetalClusterFindOneBy

    ManagedBies List<string>
    Specifies the entity responsible for managing the resource.
    ManagedBies []string
    Specifies the entity responsible for managing the resource.
    managedBies List<String>
    Specifies the entity responsible for managing the resource.
    managedBies string[]
    Specifies the entity responsible for managing the resource.
    managed_bies Sequence[str]
    Specifies the entity responsible for managing the resource.
    managedBies List<String>
    Specifies the entity responsible for managing the resource.

    GetCloudGpuBaremetalClusterServersSettings

    fileShares List<Property Map>
    List of file shares mounted across the cluster.
    interfaces List<Property Map>
    securityGroups List<Property Map>
    Security groups
    sshKeyName String
    SSH key name
    userData String
    Optional custom user data

    GetCloudGpuBaremetalClusterServersSettingsFileShare

    Id string
    Unique identifier of the file share in UUID format.
    MountPath string
    Absolute mount path inside the system where the file share will be mounted.
    Id string
    Unique identifier of the file share in UUID format.
    MountPath string
    Absolute mount path inside the system where the file share will be mounted.
    id String
    Unique identifier of the file share in UUID format.
    mountPath String
    Absolute mount path inside the system where the file share will be mounted.
    id string
    Unique identifier of the file share in UUID format.
    mountPath string
    Absolute mount path inside the system where the file share will be mounted.
    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.
    id String
    Unique identifier of the file share in UUID format.
    mountPath String
    Absolute mount path inside the system where the file share will be mounted.

    GetCloudGpuBaremetalClusterServersSettingsInterface

    FloatingIp GetCloudGpuBaremetalClusterServersSettingsInterfaceFloatingIp
    Floating IP config for this subnet attachment
    IpAddress string
    Fixed IP address
    IpFamily string
    Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
    Name string
    Interface name
    NetworkId string
    Network ID the subnet belongs to. Port will be plugged in this network
    SubnetId 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".
    FloatingIp GetCloudGpuBaremetalClusterServersSettingsInterfaceFloatingIp
    Floating IP config for this subnet attachment
    IpAddress string
    Fixed IP address
    IpFamily string
    Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
    Name string
    Interface name
    NetworkId string
    Network ID the subnet belongs to. Port will be plugged in this network
    SubnetId 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".
    floatingIp GetCloudGpuBaremetalClusterServersSettingsInterfaceFloatingIp
    Floating IP config for this subnet attachment
    ipAddress String
    Fixed IP address
    ipFamily String
    Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
    name String
    Interface name
    networkId String
    Network ID the subnet belongs to. Port will be plugged in this network
    subnetId 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".
    floatingIp GetCloudGpuBaremetalClusterServersSettingsInterfaceFloatingIp
    Floating IP config for this subnet attachment
    ipAddress string
    Fixed IP address
    ipFamily string
    Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
    name string
    Interface name
    networkId string
    Network ID the subnet belongs to. Port will be plugged in this network
    subnetId 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 GetCloudGpuBaremetalClusterServersSettingsInterfaceFloatingIp
    Floating IP config for this subnet attachment
    ip_address str
    Fixed IP address
    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 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".
    floatingIp Property Map
    Floating IP config for this subnet attachment
    ipAddress String
    Fixed IP address
    ipFamily String
    Which subnets should be selected: IPv4, IPv6, or use dual stack. Available values: "dual", "ipv4", "ipv6".
    name String
    Interface name
    networkId String
    Network ID the subnet belongs to. Port will be plugged in this network
    subnetId 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".

    GetCloudGpuBaremetalClusterServersSettingsInterfaceFloatingIp

    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".

    GetCloudGpuBaremetalClusterServersSettingsSecurityGroup

    Id string
    Security group ID
    Name string
    Security group name
    Id string
    Security group ID
    Name string
    Security group name
    id String
    Security group ID
    name String
    Security group name
    id string
    Security group ID
    name string
    Security group name
    id str
    Security group ID
    name str
    Security group name
    id String
    Security group ID
    name String
    Security group name

    GetCloudGpuBaremetalClusterTag

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

    Package Details

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