Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCloudGpuBaremetalClusters = gcore.getCloudGpuBaremetalClusters({
projectId: 1,
regionId: 7,
});
import pulumi
import pulumi_gcore as gcore
example_cloud_gpu_baremetal_clusters = gcore.get_cloud_gpu_baremetal_clusters(project_id=1,
region_id=7)
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.GetCloudGpuBaremetalClusters(ctx, &gcore.GetCloudGpuBaremetalClustersArgs{
ProjectId: pulumi.Float64Ref(1),
RegionId: pulumi.Float64Ref(7),
}, 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 exampleCloudGpuBaremetalClusters = Gcore.GetCloudGpuBaremetalClusters.Invoke(new()
{
ProjectId = 1,
RegionId = 7,
});
});
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.GetCloudGpuBaremetalClustersArgs;
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 exampleCloudGpuBaremetalClusters = GcoreFunctions.getCloudGpuBaremetalClusters(GetCloudGpuBaremetalClustersArgs.builder()
.projectId(1)
.regionId(7)
.build());
}
}
variables:
exampleCloudGpuBaremetalClusters:
fn::invoke:
function: gcore:getCloudGpuBaremetalClusters
arguments:
projectId: 1
regionId: 7
Using getCloudGpuBaremetalClusters
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 getCloudGpuBaremetalClusters(args: GetCloudGpuBaremetalClustersArgs, opts?: InvokeOptions): Promise<GetCloudGpuBaremetalClustersResult>
function getCloudGpuBaremetalClustersOutput(args: GetCloudGpuBaremetalClustersOutputArgs, opts?: InvokeOptions): Output<GetCloudGpuBaremetalClustersResult>def get_cloud_gpu_baremetal_clusters(managed_bies: Optional[Sequence[str]] = None,
max_items: Optional[float] = None,
project_id: Optional[float] = None,
region_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudGpuBaremetalClustersResult
def get_cloud_gpu_baremetal_clusters_output(managed_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
max_items: Optional[pulumi.Input[float]] = None,
project_id: Optional[pulumi.Input[float]] = None,
region_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudGpuBaremetalClustersResult]func GetCloudGpuBaremetalClusters(ctx *Context, args *GetCloudGpuBaremetalClustersArgs, opts ...InvokeOption) (*GetCloudGpuBaremetalClustersResult, error)
func GetCloudGpuBaremetalClustersOutput(ctx *Context, args *GetCloudGpuBaremetalClustersOutputArgs, opts ...InvokeOption) GetCloudGpuBaremetalClustersResultOutput> Note: This function is named GetCloudGpuBaremetalClusters in the Go SDK.
public static class GetCloudGpuBaremetalClusters
{
public static Task<GetCloudGpuBaremetalClustersResult> InvokeAsync(GetCloudGpuBaremetalClustersArgs args, InvokeOptions? opts = null)
public static Output<GetCloudGpuBaremetalClustersResult> Invoke(GetCloudGpuBaremetalClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudGpuBaremetalClustersResult> getCloudGpuBaremetalClusters(GetCloudGpuBaremetalClustersArgs args, InvokeOptions options)
public static Output<GetCloudGpuBaremetalClustersResult> getCloudGpuBaremetalClusters(GetCloudGpuBaremetalClustersArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudGpuBaremetalClusters:getCloudGpuBaremetalClusters
arguments:
# arguments dictionaryThe following arguments are supported:
- Managed
Bies List<string> - Specifies the entity responsible for managing the resource.
- Max
Items double - Max items to fetch, default: 1000
- Project
Id double - Project ID
- Region
Id double - Region ID
- Managed
Bies []string - Specifies the entity responsible for managing the resource.
- Max
Items float64 - Max items to fetch, default: 1000
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- managed
Bies List<String> - Specifies the entity responsible for managing the resource.
- max
Items Double - Max items to fetch, default: 1000
- project
Id Double - Project ID
- region
Id Double - Region ID
- managed
Bies string[] - Specifies the entity responsible for managing the resource.
- max
Items number - Max items to fetch, default: 1000
- project
Id number - Project ID
- region
Id number - Region ID
- managed_
bies Sequence[str] - Specifies the entity responsible for managing the resource.
- max_
items float - Max items to fetch, default: 1000
- project_
id float - Project ID
- region_
id float - Region ID
- managed
Bies List<String> - Specifies the entity responsible for managing the resource.
- max
Items Number - Max items to fetch, default: 1000
- project
Id Number - Project ID
- region
Id Number - Region ID
getCloudGpuBaremetalClusters Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Cloud Gpu Baremetal Clusters Item> - The items returned by the data source
- Managed
Bies List<string> - Specifies the entity responsible for managing the resource.
- Max
Items double - Max items to fetch, default: 1000
- Project
Id double - Project ID
- Region
Id double - Region ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Cloud Gpu Baremetal Clusters Item - The items returned by the data source
- Managed
Bies []string - Specifies the entity responsible for managing the resource.
- Max
Items float64 - Max items to fetch, default: 1000
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Cloud Gpu Baremetal Clusters Item> - The items returned by the data source
- managed
Bies List<String> - Specifies the entity responsible for managing the resource.
- max
Items Double - Max items to fetch, default: 1000
- project
Id Double - Project ID
- region
Id Double - Region ID
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Cloud Gpu Baremetal Clusters Item[] - The items returned by the data source
- managed
Bies string[] - Specifies the entity responsible for managing the resource.
- max
Items number - Max items to fetch, default: 1000
- project
Id number - Project ID
- region
Id number - Region ID
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Cloud Gpu Baremetal Clusters Item] - The items returned by the data source
- managed_
bies Sequence[str] - Specifies the entity responsible for managing the resource.
- max_
items float - Max items to fetch, default: 1000
- project_
id float - Project ID
- region_
id float - Region ID
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- The items returned by the data source
- managed
Bies List<String> - Specifies the entity responsible for managing the resource.
- max
Items Number - Max items to fetch, default: 1000
- project
Id Number - Project ID
- region
Id Number - Region ID
Supporting Types
GetCloudGpuBaremetalClustersItem
- 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 Clusters Item Servers Settings - Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
List<Get
Cloud Gpu Baremetal Clusters Item 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
- 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 Clusters Item Servers Settings - Status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
[]Get
Cloud Gpu Baremetal Clusters Item 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
- 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 Clusters Item Servers Settings - status String
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
List<Get
Cloud Gpu Baremetal Clusters Item 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
- 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 Clusters Item Servers Settings - status string
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
Get
Cloud Gpu Baremetal Clusters Item 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
- 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 Clusters Item Servers Settings - status str
- Cluster status Available values: "active", "creating", "degraded", "deleting", "error", "rebooting", "rebuilding", "resizing", "shutoff".
-
Sequence[Get
Cloud Gpu Baremetal Clusters Item 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
- 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
GetCloudGpuBaremetalClustersItemServersSettings
-
List<Get
Cloud Gpu Baremetal Clusters Item Servers Settings File Share> - List of file shares mounted across the cluster.
- Interfaces
List<Get
Cloud Gpu Baremetal Clusters Item Servers Settings Interface> - Security
Groups List<GetCloud Gpu Baremetal Clusters Item Servers Settings Security Group> - Security groups
- Ssh
Key stringName - SSH key name
- User
Data string - Optional custom user data
-
[]Get
Cloud Gpu Baremetal Clusters Item Servers Settings File Share - List of file shares mounted across the cluster.
- Interfaces
[]Get
Cloud Gpu Baremetal Clusters Item Servers Settings Interface - Security
Groups []GetCloud Gpu Baremetal Clusters Item Servers Settings Security Group - Security groups
- Ssh
Key stringName - SSH key name
- User
Data string - Optional custom user data
-
List<Get
Cloud Gpu Baremetal Clusters Item Servers Settings File Share> - List of file shares mounted across the cluster.
- interfaces
List<Get
Cloud Gpu Baremetal Clusters Item Servers Settings Interface> - security
Groups List<GetCloud Gpu Baremetal Clusters Item Servers Settings Security Group> - Security groups
- ssh
Key StringName - SSH key name
- user
Data String - Optional custom user data
-
Get
Cloud Gpu Baremetal Clusters Item Servers Settings File Share[] - List of file shares mounted across the cluster.
- interfaces
Get
Cloud Gpu Baremetal Clusters Item Servers Settings Interface[] - security
Groups GetCloud Gpu Baremetal Clusters Item Servers Settings Security Group[] - Security groups
- ssh
Key stringName - SSH key name
- user
Data string - Optional custom user data
-
Sequence[Get
Cloud Gpu Baremetal Clusters Item Servers Settings File Share] - List of file shares mounted across the cluster.
- interfaces
Sequence[Get
Cloud Gpu Baremetal Clusters Item Servers Settings Interface] - security_
groups Sequence[GetCloud Gpu Baremetal Clusters Item 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
GetCloudGpuBaremetalClustersItemServersSettingsFileShare
- 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.
GetCloudGpuBaremetalClustersItemServersSettingsInterface
- Floating
Ip GetCloud Gpu Baremetal Clusters Item 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", "any_subnet".
- Floating
Ip GetCloud Gpu Baremetal Clusters Item 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", "any_subnet".
- floating
Ip GetCloud Gpu Baremetal Clusters Item 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", "any_subnet".
- floating
Ip GetCloud Gpu Baremetal Clusters Item 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", "any_subnet".
- floating_
ip GetCloud Gpu Baremetal Clusters Item 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", "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", "any_subnet".
GetCloudGpuBaremetalClustersItemServersSettingsInterfaceFloatingIp
- 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".
GetCloudGpuBaremetalClustersItemServersSettingsSecurityGroup
GetCloudGpuBaremetalClustersItemTag
- 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.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
