Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Core.getComputeGpuMemoryCluster
Explore with Pulumi AI
This data source provides details about a specific Compute Gpu Memory Cluster resource in Oracle Cloud Infrastructure Core service.
Gets information about the specified compute GPU memory cluster
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testComputeGpuMemoryCluster = oci.Core.getComputeGpuMemoryCluster({
    computeGpuMemoryClusterId: testComputeGpuMemoryClusterOciCoreComputeGpuMemoryCluster.id,
});
import pulumi
import pulumi_oci as oci
test_compute_gpu_memory_cluster = oci.Core.get_compute_gpu_memory_cluster(compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster_oci_core_compute_gpu_memory_cluster["id"])
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.GetComputeGpuMemoryCluster(ctx, &core.GetComputeGpuMemoryClusterArgs{
			ComputeGpuMemoryClusterId: testComputeGpuMemoryClusterOciCoreComputeGpuMemoryCluster.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testComputeGpuMemoryCluster = Oci.Core.GetComputeGpuMemoryCluster.Invoke(new()
    {
        ComputeGpuMemoryClusterId = testComputeGpuMemoryClusterOciCoreComputeGpuMemoryCluster.Id,
    });
});
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.GetComputeGpuMemoryClusterArgs;
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 testComputeGpuMemoryCluster = CoreFunctions.getComputeGpuMemoryCluster(GetComputeGpuMemoryClusterArgs.builder()
            .computeGpuMemoryClusterId(testComputeGpuMemoryClusterOciCoreComputeGpuMemoryCluster.id())
            .build());
    }
}
variables:
  testComputeGpuMemoryCluster:
    fn::invoke:
      function: oci:Core:getComputeGpuMemoryCluster
      arguments:
        computeGpuMemoryClusterId: ${testComputeGpuMemoryClusterOciCoreComputeGpuMemoryCluster.id}
Using getComputeGpuMemoryCluster
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 getComputeGpuMemoryCluster(args: GetComputeGpuMemoryClusterArgs, opts?: InvokeOptions): Promise<GetComputeGpuMemoryClusterResult>
function getComputeGpuMemoryClusterOutput(args: GetComputeGpuMemoryClusterOutputArgs, opts?: InvokeOptions): Output<GetComputeGpuMemoryClusterResult>def get_compute_gpu_memory_cluster(compute_gpu_memory_cluster_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetComputeGpuMemoryClusterResult
def get_compute_gpu_memory_cluster_output(compute_gpu_memory_cluster_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetComputeGpuMemoryClusterResult]func LookupComputeGpuMemoryCluster(ctx *Context, args *LookupComputeGpuMemoryClusterArgs, opts ...InvokeOption) (*LookupComputeGpuMemoryClusterResult, error)
func LookupComputeGpuMemoryClusterOutput(ctx *Context, args *LookupComputeGpuMemoryClusterOutputArgs, opts ...InvokeOption) LookupComputeGpuMemoryClusterResultOutput> Note: This function is named LookupComputeGpuMemoryCluster in the Go SDK.
public static class GetComputeGpuMemoryCluster 
{
    public static Task<GetComputeGpuMemoryClusterResult> InvokeAsync(GetComputeGpuMemoryClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGpuMemoryClusterResult> Invoke(GetComputeGpuMemoryClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetComputeGpuMemoryClusterResult> getComputeGpuMemoryCluster(GetComputeGpuMemoryClusterArgs args, InvokeOptions options)
public static Output<GetComputeGpuMemoryClusterResult> getComputeGpuMemoryCluster(GetComputeGpuMemoryClusterArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getComputeGpuMemoryCluster:getComputeGpuMemoryCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ComputeGpu stringMemory Cluster Id 
- The OCID of the compute GPU memory cluster.
- ComputeGpu stringMemory Cluster Id 
- The OCID of the compute GPU memory cluster.
- computeGpu StringMemory Cluster Id 
- The OCID of the compute GPU memory cluster.
- computeGpu stringMemory Cluster Id 
- The OCID of the compute GPU memory cluster.
- compute_gpu_ strmemory_ cluster_ id 
- The OCID of the compute GPU memory cluster.
- computeGpu StringMemory Cluster Id 
- The OCID of the compute GPU memory cluster.
getComputeGpuMemoryCluster Result
The following output properties are available:
- AvailabilityDomain string
- The availability domain of the GPU memory cluster.
- CompartmentId string
- The OCID of the compartment that contains the compute GPU memory cluster.
- ComputeCluster stringId 
- The OCID of the compute cluster.
- ComputeGpu stringMemory Cluster Id 
- 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 string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- GpuMemory stringFabric Id 
- The OCID of the GPU memory fabric.
- Id string
- The OCID for the Customer-unique GPU memory cluster
- InstanceConfiguration stringId 
- The OCID of the Instance Configuration used to source launch details for this instance.
- Size string
- The number of instances currently running in the GpuMemoryCluster
- State string
- The lifecycle state of the GPU memory cluster
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
- AvailabilityDomain string
- The availability domain of the GPU memory cluster.
- CompartmentId string
- The OCID of the compartment that contains the compute GPU memory cluster.
- ComputeCluster stringId 
- The OCID of the compute cluster.
- ComputeGpu stringMemory Cluster Id 
- 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 string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- GpuMemory stringFabric Id 
- The OCID of the GPU memory fabric.
- Id string
- The OCID for the Customer-unique GPU memory cluster
- InstanceConfiguration stringId 
- The OCID of the Instance Configuration used to source launch details for this instance.
- Size string
- The number of instances currently running in the GpuMemoryCluster
- State string
- The lifecycle state of the GPU memory cluster
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
- availabilityDomain String
- The availability domain of the GPU memory cluster.
- compartmentId String
- The OCID of the compartment that contains the compute GPU memory cluster.
- computeCluster StringId 
- The OCID of the compute cluster.
- computeGpu StringMemory Cluster Id 
- 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 String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- gpuMemory StringFabric Id 
- The OCID of the GPU memory fabric.
- id String
- The OCID for the Customer-unique GPU memory cluster
- instanceConfiguration StringId 
- The OCID of the Instance Configuration used to source launch details for this instance.
- size String
- The number of instances currently running in the GpuMemoryCluster
- state String
- The lifecycle state of the GPU memory cluster
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
- availabilityDomain string
- The availability domain of the GPU memory cluster.
- compartmentId string
- The OCID of the compartment that contains the compute GPU memory cluster.
- computeCluster stringId 
- The OCID of the compute cluster.
- computeGpu stringMemory Cluster Id 
- {[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 string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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"}
- gpuMemory stringFabric Id 
- The OCID of the GPU memory fabric.
- id string
- The OCID for the Customer-unique GPU memory cluster
- instanceConfiguration stringId 
- The OCID of the Instance Configuration used to source launch details for this instance.
- size string
- The number of instances currently running in the GpuMemoryCluster
- state string
- The lifecycle state of the GPU memory cluster
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
- availability_domain str
- The availability domain of the GPU memory cluster.
- compartment_id str
- The OCID of the compartment that contains the compute GPU memory cluster.
- compute_cluster_ strid 
- The OCID of the compute cluster.
- compute_gpu_ strmemory_ cluster_ id 
- 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 str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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_ strfabric_ id 
- The OCID of the GPU memory fabric.
- id str
- The OCID for the Customer-unique GPU memory cluster
- instance_configuration_ strid 
- The OCID of the Instance Configuration used to source launch details for this instance.
- size str
- The number of instances currently running in the GpuMemoryCluster
- state str
- The lifecycle state of the GPU memory cluster
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
- availabilityDomain String
- The availability domain of the GPU memory cluster.
- compartmentId String
- The OCID of the compartment that contains the compute GPU memory cluster.
- computeCluster StringId 
- The OCID of the compute cluster.
- computeGpu StringMemory Cluster Id 
- 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 String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- gpuMemory StringFabric Id 
- The OCID of the GPU memory fabric.
- id String
- The OCID for the Customer-unique GPU memory cluster
- instanceConfiguration StringId 
- The OCID of the Instance Configuration used to source launch details for this instance.
- size String
- The number of instances currently running in the GpuMemoryCluster
- state String
- The lifecycle state of the GPU memory cluster
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the GPU memory cluster was created. Example: 2016-09-15T21:10:29.600Z
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.