Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
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 dictionaryThe following arguments are supported:
- Cluster
Id string - Cluster unique identifier
- Find
One GetBy Cloud Gpu Baremetal Cluster Find One By - Project
Id double - Project ID
- Region
Id double - Region ID
- Cluster
Id string - Cluster unique identifier
- Find
One GetBy Cloud Gpu Baremetal Cluster Find One By - Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- cluster
Id String - Cluster unique identifier
- find
One GetBy Cloud Gpu Baremetal Cluster Find One By - project
Id Double - Project ID
- region
Id Double - Region ID
- cluster
Id string - Cluster unique identifier
- find
One GetBy Cloud Gpu Baremetal Cluster Find One By - project
Id number - Project ID
- region
Id number - Region ID
- cluster_
id str - Cluster unique identifier
- find_
one_ Getby Cloud Gpu Baremetal Cluster Find One By - project_
id float - Project ID
- region_
id float - Region ID
- cluster
Id String - Cluster unique identifier
- find
One Property MapBy - project
Id Number - Project ID
- region
Id Number - Region ID
getCloudGpuBaremetalCluster Result
The following output properties are available:
- Created
At string - Cluster creation date time
- Flavor string
- Cluster flavor name
- Id string
- Cluster unique identifier
- Image
Id string - Image ID
- Managed
By string - User type managing the resource Available values: "k8s", "user".
- Name string
- Cluster name
- Servers
Count double - Cluster servers count
- Servers
Ids List<string> - List of cluster nodes
- Servers
Settings GetCloud Gpu Baremetal Cluster Servers Settings - Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
List<Get
Cloud Gpu Baremetal Cluster Tag> - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- Updated
At string - Cluster update date time
- Cluster
Id string - Cluster unique identifier
- Find
One GetBy Cloud Gpu Baremetal Cluster Find One By - Project
Id double - Project ID
- Region
Id double - Region ID
- Created
At string - Cluster creation date time
- Flavor string
- Cluster flavor name
- Id string
- Cluster unique identifier
- Image
Id string - Image ID
- Managed
By string - User type managing the resource Available values: "k8s", "user".
- Name string
- Cluster name
- Servers
Count float64 - Cluster servers count
- Servers
Ids []string - List of cluster nodes
- Servers
Settings GetCloud Gpu Baremetal Cluster Servers Settings - Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
[]Get
Cloud Gpu Baremetal Cluster Tag - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- Updated
At string - Cluster update date time
- Cluster
Id string - Cluster unique identifier
- Find
One GetBy Cloud Gpu Baremetal Cluster Find One By - Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- created
At String - Cluster creation date time
- flavor String
- Cluster flavor name
- id String
- Cluster unique identifier
- image
Id String - Image ID
- managed
By String - User type managing the resource Available values: "k8s", "user".
- name String
- Cluster name
- servers
Count Double - Cluster servers count
- servers
Ids List<String> - List of cluster nodes
- servers
Settings GetCloud Gpu Baremetal Cluster Servers Settings - status String
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
List<Get
Cloud Gpu Baremetal Cluster Tag> - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- updated
At String - Cluster update date time
- cluster
Id String - Cluster unique identifier
- find
One GetBy Cloud Gpu Baremetal Cluster Find One By - project
Id Double - Project ID
- region
Id Double - Region ID
- created
At string - Cluster creation date time
- flavor string
- Cluster flavor name
- id string
- Cluster unique identifier
- image
Id string - Image ID
- managed
By string - User type managing the resource Available values: "k8s", "user".
- name string
- Cluster name
- servers
Count number - Cluster servers count
- servers
Ids string[] - List of cluster nodes
- servers
Settings GetCloud Gpu Baremetal Cluster Servers Settings - status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
Get
Cloud Gpu Baremetal Cluster Tag[] - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- updated
At string - Cluster update date time
- cluster
Id string - Cluster unique identifier
- find
One GetBy Cloud Gpu Baremetal Cluster Find One By - project
Id number - Project ID
- region
Id 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 GetCloud Gpu Baremetal Cluster Servers Settings - status str
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
Sequence[Get
Cloud Gpu Baremetal Cluster Tag] - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- updated_
at str - Cluster update date time
- cluster_
id str - Cluster unique identifier
- find_
one_ Getby Cloud Gpu Baremetal Cluster Find One By - project_
id float - Project ID
- region_
id float - Region ID
- created
At String - Cluster creation date time
- flavor String
- Cluster flavor name
- id String
- Cluster unique identifier
- image
Id String - Image ID
- managed
By String - User type managing the resource Available values: "k8s", "user".
- name String
- Cluster name
- servers
Count Number - Cluster servers count
- servers
Ids List<String> - List of cluster nodes
- servers
Settings Property Map - status String
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
- List<Property Map>
- List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- updated
At String - Cluster update date time
- cluster
Id String - Cluster unique identifier
- find
One Property MapBy - project
Id Number - Project ID
- region
Id Number - Region ID
Supporting Types
GetCloudGpuBaremetalClusterFindOneBy
- Managed
Bies List<string> - Specifies the entity responsible for managing the resource.
- Managed
Bies []string - Specifies the entity responsible for managing the resource.
- managed
Bies List<String> - Specifies the entity responsible for managing the resource.
- managed
Bies string[] - Specifies the entity responsible for managing the resource.
- managed_
bies Sequence[str] - Specifies the entity responsible for managing the resource.
- managed
Bies List<String> - Specifies the entity responsible for managing the resource.
GetCloudGpuBaremetalClusterServersSettings
-
List<Get
Cloud Gpu Baremetal Cluster Servers Settings File Share> - List of file shares mounted across the cluster.
- Interfaces
List<Get
Cloud Gpu Baremetal Cluster Servers Settings Interface> - Security
Groups List<GetCloud Gpu Baremetal Cluster Servers Settings Security Group> - Security groups
- Ssh
Key stringName - SSH key name
- User
Data string - Optional custom user data
-
[]Get
Cloud Gpu Baremetal Cluster Servers Settings File Share - List of file shares mounted across the cluster.
- Interfaces
[]Get
Cloud Gpu Baremetal Cluster Servers Settings Interface - Security
Groups []GetCloud Gpu Baremetal Cluster Servers Settings Security Group - Security groups
- Ssh
Key stringName - SSH key name
- User
Data string - Optional custom user data
-
List<Get
Cloud Gpu Baremetal Cluster Servers Settings File Share> - List of file shares mounted across the cluster.
- interfaces
List<Get
Cloud Gpu Baremetal Cluster Servers Settings Interface> - security
Groups List<GetCloud Gpu Baremetal Cluster Servers Settings Security Group> - Security groups
- ssh
Key StringName - SSH key name
- user
Data String - Optional custom user data
-
Get
Cloud Gpu Baremetal Cluster Servers Settings File Share[] - List of file shares mounted across the cluster.
- interfaces
Get
Cloud Gpu Baremetal Cluster Servers Settings Interface[] - security
Groups GetCloud Gpu Baremetal Cluster Servers Settings Security Group[] - Security groups
- ssh
Key stringName - SSH key name
- user
Data string - Optional custom user data
-
Sequence[Get
Cloud Gpu Baremetal Cluster Servers Settings File Share] - List of file shares mounted across the cluster.
- interfaces
Sequence[Get
Cloud Gpu Baremetal Cluster Servers Settings Interface] - security_
groups Sequence[GetCloud Gpu Baremetal Cluster Servers Settings Security Group] - Security groups
- ssh_
key_ strname - SSH key name
- user_
data str - Optional custom user data
- List<Property Map>
- List of file shares mounted across the cluster.
- interfaces List<Property Map>
- security
Groups List<Property Map> - Security groups
- ssh
Key StringName - SSH key name
- user
Data String - Optional custom user data
GetCloudGpuBaremetalClusterServersSettingsFileShare
- 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.
GetCloudGpuBaremetalClusterServersSettingsInterface
- Floating
Ip GetCloud Gpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- Ip
Address string - Fixed IP address
- 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 GetCloud Gpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- Ip
Address string - Fixed IP address
- 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 GetCloud Gpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- ip
Address String - Fixed IP address
- 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 GetCloud Gpu Baremetal Cluster Servers Settings Interface Floating Ip - Floating IP config for this subnet attachment
- ip
Address string - Fixed IP address
- 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 GetCloud Gpu Baremetal Cluster Servers Settings Interface Floating Ip - 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".
- floating
Ip Property Map - Floating IP config for this subnet attachment
- ip
Address String - Fixed IP address
- 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".
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
GetCloudGpuBaremetalClusterTag
- Key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Read
Only bool - If true, the tag is read-only and cannot be modified by the user
- Value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Read
Only bool - If true, the tag is read-only and cannot be modified by the user
- Value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key String
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only Boolean - If true, the tag is read-only and cannot be modified by the user
- value String
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only boolean - If true, the tag is read-only and cannot be modified by the user
- value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key str
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read_
only bool - If true, the tag is read-only and cannot be modified by the user
- value str
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key String
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only Boolean - If true, the tag is read-only and cannot be modified by the user
- value String
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
