1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGpuMemoryClusterInstances
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Core.getComputeGpuMemoryClusterInstances

Explore with Pulumi AI

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

List all of the GPU memory cluster instances.

Example Usage

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

const testComputeGpuMemoryClusterInstances = oci.Core.getComputeGpuMemoryClusterInstances({
    computeGpuMemoryClusterId: testComputeGpuMemoryCluster.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_compute_gpu_memory_cluster_instances = oci.Core.get_compute_gpu_memory_cluster_instances(compute_gpu_memory_cluster_id=test_compute_gpu_memory_cluster["id"])
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.GetComputeGpuMemoryClusterInstances(ctx, &core.GetComputeGpuMemoryClusterInstancesArgs{
			ComputeGpuMemoryClusterId: testComputeGpuMemoryCluster.Id,
		}, 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 testComputeGpuMemoryClusterInstances = Oci.Core.GetComputeGpuMemoryClusterInstances.Invoke(new()
    {
        ComputeGpuMemoryClusterId = testComputeGpuMemoryCluster.Id,
    });

});
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.GetComputeGpuMemoryClusterInstancesArgs;
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 testComputeGpuMemoryClusterInstances = CoreFunctions.getComputeGpuMemoryClusterInstances(GetComputeGpuMemoryClusterInstancesArgs.builder()
            .computeGpuMemoryClusterId(testComputeGpuMemoryCluster.id())
            .build());

    }
}
Copy
variables:
  testComputeGpuMemoryClusterInstances:
    fn::invoke:
      function: oci:Core:getComputeGpuMemoryClusterInstances
      arguments:
        computeGpuMemoryClusterId: ${testComputeGpuMemoryCluster.id}
Copy

Using getComputeGpuMemoryClusterInstances

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 getComputeGpuMemoryClusterInstances(args: GetComputeGpuMemoryClusterInstancesArgs, opts?: InvokeOptions): Promise<GetComputeGpuMemoryClusterInstancesResult>
function getComputeGpuMemoryClusterInstancesOutput(args: GetComputeGpuMemoryClusterInstancesOutputArgs, opts?: InvokeOptions): Output<GetComputeGpuMemoryClusterInstancesResult>
Copy
def get_compute_gpu_memory_cluster_instances(compute_gpu_memory_cluster_id: Optional[str] = None,
                                             filters: Optional[Sequence[_core.GetComputeGpuMemoryClusterInstancesFilter]] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetComputeGpuMemoryClusterInstancesResult
def get_compute_gpu_memory_cluster_instances_output(compute_gpu_memory_cluster_id: Optional[pulumi.Input[str]] = None,
                                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetComputeGpuMemoryClusterInstancesFilterArgs]]]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetComputeGpuMemoryClusterInstancesResult]
Copy
func GetComputeGpuMemoryClusterInstances(ctx *Context, args *GetComputeGpuMemoryClusterInstancesArgs, opts ...InvokeOption) (*GetComputeGpuMemoryClusterInstancesResult, error)
func GetComputeGpuMemoryClusterInstancesOutput(ctx *Context, args *GetComputeGpuMemoryClusterInstancesOutputArgs, opts ...InvokeOption) GetComputeGpuMemoryClusterInstancesResultOutput
Copy

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

public static class GetComputeGpuMemoryClusterInstances 
{
    public static Task<GetComputeGpuMemoryClusterInstancesResult> InvokeAsync(GetComputeGpuMemoryClusterInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGpuMemoryClusterInstancesResult> Invoke(GetComputeGpuMemoryClusterInstancesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetComputeGpuMemoryClusterInstancesResult> getComputeGpuMemoryClusterInstances(GetComputeGpuMemoryClusterInstancesArgs args, InvokeOptions options)
public static Output<GetComputeGpuMemoryClusterInstancesResult> getComputeGpuMemoryClusterInstances(GetComputeGpuMemoryClusterInstancesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getComputeGpuMemoryClusterInstances:getComputeGpuMemoryClusterInstances
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ComputeGpuMemoryClusterId This property is required. string
The OCID of the compute GPU memory cluster.
Filters Changes to this property will trigger replacement. List<GetComputeGpuMemoryClusterInstancesFilter>
ComputeGpuMemoryClusterId This property is required. string
The OCID of the compute GPU memory cluster.
Filters Changes to this property will trigger replacement. []GetComputeGpuMemoryClusterInstancesFilter
computeGpuMemoryClusterId This property is required. String
The OCID of the compute GPU memory cluster.
filters Changes to this property will trigger replacement. List<GetComputeGpuMemoryClusterInstancesFilter>
computeGpuMemoryClusterId This property is required. string
The OCID of the compute GPU memory cluster.
filters Changes to this property will trigger replacement. GetComputeGpuMemoryClusterInstancesFilter[]
compute_gpu_memory_cluster_id This property is required. str
The OCID of the compute GPU memory cluster.
filters Changes to this property will trigger replacement. Sequence[core.GetComputeGpuMemoryClusterInstancesFilter]
computeGpuMemoryClusterId This property is required. String
The OCID of the compute GPU memory cluster.
filters Changes to this property will trigger replacement. List<Property Map>

getComputeGpuMemoryClusterInstances Result

The following output properties are available:

ComputeGpuMemoryClusterId string
ComputeGpuMemoryClusterInstanceCollections []GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollection
The list of compute_gpu_memory_cluster_instance_collection.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetComputeGpuMemoryClusterInstancesFilter
computeGpuMemoryClusterId string
computeGpuMemoryClusterInstanceCollections GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollection[]
The list of compute_gpu_memory_cluster_instance_collection.
id string
The provider-assigned unique ID for this managed resource.
filters GetComputeGpuMemoryClusterInstancesFilter[]
computeGpuMemoryClusterId String
computeGpuMemoryClusterInstanceCollections List<Property Map>
The list of compute_gpu_memory_cluster_instance_collection.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>

Supporting Types

GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollection

Items This property is required. List<GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollectionItem>
The list of compute GPU memory cluster instances.
Items This property is required. []GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollectionItem
The list of compute GPU memory cluster instances.
items This property is required. List<GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollectionItem>
The list of compute GPU memory cluster instances.
items This property is required. GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollectionItem[]
The list of compute GPU memory cluster instances.
items This property is required. Sequence[core.GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollectionItem]
The list of compute GPU memory cluster instances.
items This property is required. List<Property Map>
The list of compute GPU memory cluster instances.

GetComputeGpuMemoryClusterInstancesComputeGpuMemoryClusterInstanceCollectionItem

AvailabilityDomain This property is required. string
The availability domain of the GPU memory cluster instance.
CompartmentId This property is required. string
The OCID for the compartment compartment.
DisplayName This property is required. string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FaultDomain This property is required. string
The fault domain the GPU memory cluster instance is running in.
Id This property is required. string
The OCID for the Customer-unique GPU memory cluster instance
InstanceConfigurationId This property is required. string
Configuration to be used for this GPU Memory Cluster instance.
InstanceShape This property is required. string
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListShapes.
Region This property is required. string
The region that contains the availability domain the instance is running in.
State This property is required. string
The lifecycle state of the GPU memory cluster instance
TimeCreated This property is required. string
The date and time the GPU memory cluster instance was created. Example: 2016-09-15T21:10:29.600Z
AvailabilityDomain This property is required. string
The availability domain of the GPU memory cluster instance.
CompartmentId This property is required. string
The OCID for the compartment compartment.
DisplayName This property is required. string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FaultDomain This property is required. string
The fault domain the GPU memory cluster instance is running in.
Id This property is required. string
The OCID for the Customer-unique GPU memory cluster instance
InstanceConfigurationId This property is required. string
Configuration to be used for this GPU Memory Cluster instance.
InstanceShape This property is required. string
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListShapes.
Region This property is required. string
The region that contains the availability domain the instance is running in.
State This property is required. string
The lifecycle state of the GPU memory cluster instance
TimeCreated This property is required. string
The date and time the GPU memory cluster instance was created. Example: 2016-09-15T21:10:29.600Z
availabilityDomain This property is required. String
The availability domain of the GPU memory cluster instance.
compartmentId This property is required. String
The OCID for the compartment compartment.
displayName This property is required. String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
faultDomain This property is required. String
The fault domain the GPU memory cluster instance is running in.
id This property is required. String
The OCID for the Customer-unique GPU memory cluster instance
instanceConfigurationId This property is required. String
Configuration to be used for this GPU Memory Cluster instance.
instanceShape This property is required. String
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListShapes.
region This property is required. String
The region that contains the availability domain the instance is running in.
state This property is required. String
The lifecycle state of the GPU memory cluster instance
timeCreated This property is required. String
The date and time the GPU memory cluster instance was created. Example: 2016-09-15T21:10:29.600Z
availabilityDomain This property is required. string
The availability domain of the GPU memory cluster instance.
compartmentId This property is required. string
The OCID for the compartment compartment.
displayName This property is required. string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
faultDomain This property is required. string
The fault domain the GPU memory cluster instance is running in.
id This property is required. string
The OCID for the Customer-unique GPU memory cluster instance
instanceConfigurationId This property is required. string
Configuration to be used for this GPU Memory Cluster instance.
instanceShape This property is required. string
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListShapes.
region This property is required. string
The region that contains the availability domain the instance is running in.
state This property is required. string
The lifecycle state of the GPU memory cluster instance
timeCreated This property is required. string
The date and time the GPU memory cluster instance was created. Example: 2016-09-15T21:10:29.600Z
availability_domain This property is required. str
The availability domain of the GPU memory cluster instance.
compartment_id This property is required. str
The OCID for the compartment compartment.
display_name This property is required. str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
fault_domain This property is required. str
The fault domain the GPU memory cluster instance is running in.
id This property is required. str
The OCID for the Customer-unique GPU memory cluster instance
instance_configuration_id This property is required. str
Configuration to be used for this GPU Memory Cluster instance.
instance_shape This property is required. str
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListShapes.
region This property is required. str
The region that contains the availability domain the instance is running in.
state This property is required. str
The lifecycle state of the GPU memory cluster instance
time_created This property is required. str
The date and time the GPU memory cluster instance was created. Example: 2016-09-15T21:10:29.600Z
availabilityDomain This property is required. String
The availability domain of the GPU memory cluster instance.
compartmentId This property is required. String
The OCID for the compartment compartment.
displayName This property is required. String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
faultDomain This property is required. String
The fault domain the GPU memory cluster instance is running in.
id This property is required. String
The OCID for the Customer-unique GPU memory cluster instance
instanceConfigurationId This property is required. String
Configuration to be used for this GPU Memory Cluster instance.
instanceShape This property is required. String
The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListShapes.
region This property is required. String
The region that contains the availability domain the instance is running in.
state This property is required. String
The lifecycle state of the GPU memory cluster instance
timeCreated This property is required. String
The date and time the GPU memory cluster instance was created. Example: 2016-09-15T21:10:29.600Z

GetComputeGpuMemoryClusterInstancesFilter

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.