1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGpuMemoryClusters
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Core.getComputeGpuMemoryClusters

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

This data source provides the list of Compute Gpu Memory Clusters in Oracle Cloud Infrastructure Core service.

List all of the compute GPU memory clusters.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testComputeGpuMemoryClusters = oci.Core.getComputeGpuMemoryClusters({
    compartmentId: compartmentId,
    availabilityDomain: computeGpuMemoryClusterAvailabilityDomain,
    computeClusterId: testComputeCluster.id,
    computeGpuMemoryClusterId: testComputeGpuMemoryCluster.id,
    displayName: computeGpuMemoryClusterDisplayName,
});
Copy
import pulumi
import pulumi_oci as oci

test_compute_gpu_memory_clusters = oci.Core.get_compute_gpu_memory_clusters(compartment_id=compartment_id,
    availability_domain=compute_gpu_memory_cluster_availability_domain,
    compute_cluster_id=test_compute_cluster["id"],
    compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster["id"],
    display_name=compute_gpu_memory_cluster_display_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetComputeGpuMemoryClusters(ctx, &core.GetComputeGpuMemoryClustersArgs{
			CompartmentId:             compartmentId,
			AvailabilityDomain:        pulumi.StringRef(computeGpuMemoryClusterAvailabilityDomain),
			ComputeClusterId:          pulumi.StringRef(testComputeCluster.Id),
			ComputeGpuMemoryClusterId: pulumi.StringRef(testComputeGpuMemoryCluster.Id),
			DisplayName:               pulumi.StringRef(computeGpuMemoryClusterDisplayName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testComputeGpuMemoryClusters = Oci.Core.GetComputeGpuMemoryClusters.Invoke(new()
    {
        CompartmentId = compartmentId,
        AvailabilityDomain = computeGpuMemoryClusterAvailabilityDomain,
        ComputeClusterId = testComputeCluster.Id,
        ComputeGpuMemoryClusterId = testComputeGpuMemoryCluster.Id,
        DisplayName = computeGpuMemoryClusterDisplayName,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetComputeGpuMemoryClustersArgs;
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 testComputeGpuMemoryClusters = CoreFunctions.getComputeGpuMemoryClusters(GetComputeGpuMemoryClustersArgs.builder()
            .compartmentId(compartmentId)
            .availabilityDomain(computeGpuMemoryClusterAvailabilityDomain)
            .computeClusterId(testComputeCluster.id())
            .computeGpuMemoryClusterId(testComputeGpuMemoryCluster.id())
            .displayName(computeGpuMemoryClusterDisplayName)
            .build());

    }
}
Copy
variables:
  testComputeGpuMemoryClusters:
    fn::invoke:
      function: oci:Core:getComputeGpuMemoryClusters
      arguments:
        compartmentId: ${compartmentId}
        availabilityDomain: ${computeGpuMemoryClusterAvailabilityDomain}
        computeClusterId: ${testComputeCluster.id}
        computeGpuMemoryClusterId: ${testComputeGpuMemoryCluster.id}
        displayName: ${computeGpuMemoryClusterDisplayName}
Copy

Using getComputeGpuMemoryClusters

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 getComputeGpuMemoryClusters(args: GetComputeGpuMemoryClustersArgs, opts?: InvokeOptions): Promise<GetComputeGpuMemoryClustersResult>
function getComputeGpuMemoryClustersOutput(args: GetComputeGpuMemoryClustersOutputArgs, opts?: InvokeOptions): Output<GetComputeGpuMemoryClustersResult>
Copy
def get_compute_gpu_memory_clusters(availability_domain: Optional[str] = None,
                                    compartment_id: Optional[str] = None,
                                    compute_cluster_id: Optional[str] = None,
                                    compute_gpu_memory_cluster_id: Optional[str] = None,
                                    display_name: Optional[str] = None,
                                    filters: Optional[Sequence[_core.GetComputeGpuMemoryClustersFilter]] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetComputeGpuMemoryClustersResult
def get_compute_gpu_memory_clusters_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                    compartment_id: Optional[pulumi.Input[str]] = None,
                                    compute_cluster_id: Optional[pulumi.Input[str]] = None,
                                    compute_gpu_memory_cluster_id: Optional[pulumi.Input[str]] = None,
                                    display_name: Optional[pulumi.Input[str]] = None,
                                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetComputeGpuMemoryClustersFilterArgs]]]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetComputeGpuMemoryClustersResult]
Copy
func GetComputeGpuMemoryClusters(ctx *Context, args *GetComputeGpuMemoryClustersArgs, opts ...InvokeOption) (*GetComputeGpuMemoryClustersResult, error)
func GetComputeGpuMemoryClustersOutput(ctx *Context, args *GetComputeGpuMemoryClustersOutputArgs, opts ...InvokeOption) GetComputeGpuMemoryClustersResultOutput
Copy

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

public static class GetComputeGpuMemoryClusters 
{
    public static Task<GetComputeGpuMemoryClustersResult> InvokeAsync(GetComputeGpuMemoryClustersArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGpuMemoryClustersResult> Invoke(GetComputeGpuMemoryClustersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetComputeGpuMemoryClustersResult> getComputeGpuMemoryClusters(GetComputeGpuMemoryClustersArgs args, InvokeOptions options)
public static Output<GetComputeGpuMemoryClustersResult> getComputeGpuMemoryClusters(GetComputeGpuMemoryClustersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getComputeGpuMemoryClusters:getComputeGpuMemoryClusters
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment.
AvailabilityDomain string
The name of the availability domain. Example: Uocm:PHX-AD-1
ComputeClusterId string
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
ComputeGpuMemoryClusterId string
A filter to return only the listings that matches the given GPU memory cluster id.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. List<GetComputeGpuMemoryClustersFilter>
CompartmentId This property is required. string
The OCID of the compartment.
AvailabilityDomain string
The name of the availability domain. Example: Uocm:PHX-AD-1
ComputeClusterId string
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
ComputeGpuMemoryClusterId string
A filter to return only the listings that matches the given GPU memory cluster id.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. []GetComputeGpuMemoryClustersFilter
compartmentId This property is required. String
The OCID of the compartment.
availabilityDomain String
The name of the availability domain. Example: Uocm:PHX-AD-1
computeClusterId String
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
computeGpuMemoryClusterId String
A filter to return only the listings that matches the given GPU memory cluster id.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<GetComputeGpuMemoryClustersFilter>
compartmentId This property is required. string
The OCID of the compartment.
availabilityDomain string
The name of the availability domain. Example: Uocm:PHX-AD-1
computeClusterId string
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
computeGpuMemoryClusterId string
A filter to return only the listings that matches the given GPU memory cluster id.
displayName string
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. GetComputeGpuMemoryClustersFilter[]
compartment_id This property is required. str
The OCID of the compartment.
availability_domain str
The name of the availability domain. Example: Uocm:PHX-AD-1
compute_cluster_id str
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
compute_gpu_memory_cluster_id str
A filter to return only the listings that matches the given GPU memory cluster id.
display_name str
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. Sequence[core.GetComputeGpuMemoryClustersFilter]
compartmentId This property is required. String
The OCID of the compartment.
availabilityDomain String
The name of the availability domain. Example: Uocm:PHX-AD-1
computeClusterId String
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
computeGpuMemoryClusterId String
A filter to return only the listings that matches the given GPU memory cluster id.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<Property Map>

getComputeGpuMemoryClusters Result

The following output properties are available:

CompartmentId string
The OCID of the compartment that contains the compute GPU memory cluster.
ComputeGpuMemoryClusterCollections List<GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollection>
The list of compute_gpu_memory_cluster_collection.
Id string
The provider-assigned unique ID for this managed resource.
AvailabilityDomain string
The availability domain of the GPU memory cluster.
ComputeClusterId string
The OCID of the compute cluster.
ComputeGpuMemoryClusterId string
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters List<GetComputeGpuMemoryClustersFilter>
CompartmentId string
The OCID of the compartment that contains the compute GPU memory cluster.
ComputeGpuMemoryClusterCollections []GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollection
The list of compute_gpu_memory_cluster_collection.
Id string
The provider-assigned unique ID for this managed resource.
AvailabilityDomain string
The availability domain of the GPU memory cluster.
ComputeClusterId string
The OCID of the compute cluster.
ComputeGpuMemoryClusterId string
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters []GetComputeGpuMemoryClustersFilter
compartmentId String
The OCID of the compartment that contains the compute GPU memory cluster.
computeGpuMemoryClusterCollections List<GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollection>
The list of compute_gpu_memory_cluster_collection.
id String
The provider-assigned unique ID for this managed resource.
availabilityDomain String
The availability domain of the GPU memory cluster.
computeClusterId String
The OCID of the compute cluster.
computeGpuMemoryClusterId String
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters List<GetComputeGpuMemoryClustersFilter>
compartmentId string
The OCID of the compartment that contains the compute GPU memory cluster.
computeGpuMemoryClusterCollections GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollection[]
The list of compute_gpu_memory_cluster_collection.
id string
The provider-assigned unique ID for this managed resource.
availabilityDomain string
The availability domain of the GPU memory cluster.
computeClusterId string
The OCID of the compute cluster.
computeGpuMemoryClusterId string
displayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters GetComputeGpuMemoryClustersFilter[]
compartment_id str
The OCID of the compartment that contains the compute GPU memory cluster.
compute_gpu_memory_cluster_collections Sequence[core.GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollection]
The list of compute_gpu_memory_cluster_collection.
id str
The provider-assigned unique ID for this managed resource.
availability_domain str
The availability domain of the GPU memory cluster.
compute_cluster_id str
The OCID of the compute cluster.
compute_gpu_memory_cluster_id str
display_name str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters Sequence[core.GetComputeGpuMemoryClustersFilter]
compartmentId String
The OCID of the compartment that contains the compute GPU memory cluster.
computeGpuMemoryClusterCollections List<Property Map>
The list of compute_gpu_memory_cluster_collection.
id String
The provider-assigned unique ID for this managed resource.
availabilityDomain String
The availability domain of the GPU memory cluster.
computeClusterId String
The OCID of the compute cluster.
computeGpuMemoryClusterId String
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters List<Property Map>

Supporting Types

GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollection

items This property is required. List<Property Map>

GetComputeGpuMemoryClustersComputeGpuMemoryClusterCollectionItem

AvailabilityDomain This property is required. string
The name of the availability domain. Example: Uocm:PHX-AD-1
CompartmentId This property is required. string
The OCID of the compartment.
ComputeClusterId This property is required. string
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
GpuMemoryFabricId This property is required. string
The OCID of the GPU memory fabric.
Id This property is required. string
The OCID for the Customer-unique GPU memory cluster
InstanceConfigurationId This property is required. string
The OCID of the Instance Configuration used to source launch details for this instance.
Size This property is required. string
The number of instances currently running in the GpuMemoryCluster
State This property is required. string
The lifecycle state of the GPU memory cluster
SystemTags This property is required. Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
AvailabilityDomain This property is required. string
The name of the availability domain. Example: Uocm:PHX-AD-1
CompartmentId This property is required. string
The OCID of the compartment.
ComputeClusterId This property is required. string
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
GpuMemoryFabricId This property is required. string
The OCID of the GPU memory fabric.
Id This property is required. string
The OCID for the Customer-unique GPU memory cluster
InstanceConfigurationId This property is required. string
The OCID of the Instance Configuration used to source launch details for this instance.
Size This property is required. string
The number of instances currently running in the GpuMemoryCluster
State This property is required. string
The lifecycle state of the GPU memory cluster
SystemTags This property is required. map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
availabilityDomain This property is required. String
The name of the availability domain. Example: Uocm:PHX-AD-1
compartmentId This property is required. String
The OCID of the compartment.
computeClusterId This property is required. String
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
gpuMemoryFabricId This property is required. String
The OCID of the GPU memory fabric.
id This property is required. String
The OCID for the Customer-unique GPU memory cluster
instanceConfigurationId This property is required. String
The OCID of the Instance Configuration used to source launch details for this instance.
size This property is required. String
The number of instances currently running in the GpuMemoryCluster
state This property is required. String
The lifecycle state of the GPU memory cluster
systemTags This property is required. Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
availabilityDomain This property is required. string
The name of the availability domain. Example: Uocm:PHX-AD-1
compartmentId This property is required. string
The OCID of the compartment.
computeClusterId This property is required. string
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. string
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
gpuMemoryFabricId This property is required. string
The OCID of the GPU memory fabric.
id This property is required. string
The OCID for the Customer-unique GPU memory cluster
instanceConfigurationId This property is required. string
The OCID of the Instance Configuration used to source launch details for this instance.
size This property is required. string
The number of instances currently running in the GpuMemoryCluster
state This property is required. string
The lifecycle state of the GPU memory cluster
systemTags This property is required. {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
availability_domain This property is required. str
The name of the availability domain. Example: Uocm:PHX-AD-1
compartment_id This property is required. str
The OCID of the compartment.
compute_cluster_id This property is required. str
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
display_name This property is required. str
A filter to return only resources that match the given display name exactly.
freeform_tags This property is required. Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
gpu_memory_fabric_id This property is required. str
The OCID of the GPU memory fabric.
id This property is required. str
The OCID for the Customer-unique GPU memory cluster
instance_configuration_id This property is required. str
The OCID of the Instance Configuration used to source launch details for this instance.
size This property is required. str
The number of instances currently running in the GpuMemoryCluster
state This property is required. str
The lifecycle state of the GPU memory cluster
system_tags This property is required. Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
availabilityDomain This property is required. String
The name of the availability domain. Example: Uocm:PHX-AD-1
compartmentId This property is required. String
The OCID of the compartment.
computeClusterId This property is required. String
The OCID of the compute cluster. A compute cluster is a remote direct memory access (RDMA) network group.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
gpuMemoryFabricId This property is required. String
The OCID of the GPU memory fabric.
id This property is required. String
The OCID for the Customer-unique GPU memory cluster
instanceConfigurationId This property is required. String
The OCID of the Instance Configuration used to source launch details for this instance.
size This property is required. String
The number of instances currently running in the GpuMemoryCluster
state This property is required. String
The lifecycle state of the GPU memory cluster
systemTags This property is required. Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z

GetComputeGpuMemoryClustersFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi