Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.GenerativeAi.getDedicatedAiCluster
Explore with Pulumi AI
This data source provides details about a specific Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative AI service.
Gets information about a dedicated AI cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDedicatedAiCluster = oci.GenerativeAi.getDedicatedAiCluster({
    dedicatedAiClusterId: testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.id,
});
import pulumi
import pulumi_oci as oci
test_dedicated_ai_cluster = oci.GenerativeAi.get_dedicated_ai_cluster(dedicated_ai_cluster_id=test_dedicated_ai_cluster_oci_generative_ai_dedicated_ai_cluster["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/generativeai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := generativeai.GetDedicatedAiCluster(ctx, &generativeai.GetDedicatedAiClusterArgs{
			DedicatedAiClusterId: testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.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 testDedicatedAiCluster = Oci.GenerativeAi.GetDedicatedAiCluster.Invoke(new()
    {
        DedicatedAiClusterId = testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.GenerativeAiFunctions;
import com.pulumi.oci.GenerativeAi.inputs.GetDedicatedAiClusterArgs;
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 testDedicatedAiCluster = GenerativeAiFunctions.getDedicatedAiCluster(GetDedicatedAiClusterArgs.builder()
            .dedicatedAiClusterId(testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.id())
            .build());
    }
}
variables:
  testDedicatedAiCluster:
    fn::invoke:
      function: oci:GenerativeAi:getDedicatedAiCluster
      arguments:
        dedicatedAiClusterId: ${testDedicatedAiClusterOciGenerativeAiDedicatedAiCluster.id}
Using getDedicatedAiCluster
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 getDedicatedAiCluster(args: GetDedicatedAiClusterArgs, opts?: InvokeOptions): Promise<GetDedicatedAiClusterResult>
function getDedicatedAiClusterOutput(args: GetDedicatedAiClusterOutputArgs, opts?: InvokeOptions): Output<GetDedicatedAiClusterResult>def get_dedicated_ai_cluster(dedicated_ai_cluster_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDedicatedAiClusterResult
def get_dedicated_ai_cluster_output(dedicated_ai_cluster_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedAiClusterResult]func LookupDedicatedAiCluster(ctx *Context, args *LookupDedicatedAiClusterArgs, opts ...InvokeOption) (*LookupDedicatedAiClusterResult, error)
func LookupDedicatedAiClusterOutput(ctx *Context, args *LookupDedicatedAiClusterOutputArgs, opts ...InvokeOption) LookupDedicatedAiClusterResultOutput> Note: This function is named LookupDedicatedAiCluster in the Go SDK.
public static class GetDedicatedAiCluster 
{
    public static Task<GetDedicatedAiClusterResult> InvokeAsync(GetDedicatedAiClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetDedicatedAiClusterResult> Invoke(GetDedicatedAiClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDedicatedAiClusterResult> getDedicatedAiCluster(GetDedicatedAiClusterArgs args, InvokeOptions options)
public static Output<GetDedicatedAiClusterResult> getDedicatedAiCluster(GetDedicatedAiClusterArgs args, InvokeOptions options)
fn::invoke:
  function: oci:GenerativeAi/getDedicatedAiCluster:getDedicatedAiCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DedicatedAi stringCluster Id 
- The OCID of the dedicated AI cluster.
- DedicatedAi stringCluster Id 
- The OCID of the dedicated AI cluster.
- dedicatedAi StringCluster Id 
- The OCID of the dedicated AI cluster.
- dedicatedAi stringCluster Id 
- The OCID of the dedicated AI cluster.
- dedicated_ai_ strcluster_ id 
- The OCID of the dedicated AI cluster.
- dedicatedAi StringCluster Id 
- The OCID of the dedicated AI cluster.
getDedicatedAiCluster Result
The following output properties are available:
- Capacities
List<GetDedicated Ai Cluster Capacity> 
- CompartmentId string
- DedicatedAi stringCluster Id 
- Dictionary<string, string>
- Description string
- DisplayName string
- Dictionary<string, string>
- Id string
- The OCID of the dedicated AI cluster.
- LifecycleDetails string
- State string
- Dictionary<string, string>
- TimeCreated string
- TimeUpdated string
- Type string
- UnitCount int
- UnitShape string
- Capacities
[]GetDedicated Ai Cluster Capacity 
- CompartmentId string
- DedicatedAi stringCluster Id 
- map[string]string
- Description string
- DisplayName string
- map[string]string
- Id string
- The OCID of the dedicated AI cluster.
- LifecycleDetails string
- State string
- map[string]string
- TimeCreated string
- TimeUpdated string
- Type string
- UnitCount int
- UnitShape string
- capacities
List<GetDedicated Ai Cluster Capacity> 
- compartmentId String
- dedicatedAi StringCluster Id 
- Map<String,String>
- description String
- displayName String
- Map<String,String>
- id String
- The OCID of the dedicated AI cluster.
- lifecycleDetails String
- state String
- Map<String,String>
- timeCreated String
- timeUpdated String
- type String
- unitCount Integer
- unitShape String
- capacities
GetDedicated Ai Cluster Capacity[] 
- compartmentId string
- dedicatedAi stringCluster Id 
- {[key: string]: string}
- description string
- displayName string
- {[key: string]: string}
- id string
- The OCID of the dedicated AI cluster.
- lifecycleDetails string
- state string
- {[key: string]: string}
- timeCreated string
- timeUpdated string
- type string
- unitCount number
- unitShape string
- capacities
Sequence[GetDedicated Ai Cluster Capacity] 
- compartment_id str
- dedicated_ai_ strcluster_ id 
- Mapping[str, str]
- description str
- display_name str
- Mapping[str, str]
- id str
- The OCID of the dedicated AI cluster.
- lifecycle_details str
- state str
- Mapping[str, str]
- time_created str
- time_updated str
- type str
- unit_count int
- unit_shape str
- capacities List<Property Map>
- compartmentId String
- dedicatedAi StringCluster Id 
- Map<String>
- description String
- displayName String
- Map<String>
- id String
- The OCID of the dedicated AI cluster.
- lifecycleDetails String
- state String
- Map<String>
- timeCreated String
- timeUpdated String
- type String
- unitCount Number
- unitShape String
Supporting Types
GetDedicatedAiClusterCapacity    
- CapacityType string
- TotalEndpoint intCapacity 
- UsedEndpoint intCapacity 
- CapacityType string
- TotalEndpoint intCapacity 
- UsedEndpoint intCapacity 
- capacityType String
- totalEndpoint IntegerCapacity 
- usedEndpoint IntegerCapacity 
- capacityType string
- totalEndpoint numberCapacity 
- usedEndpoint numberCapacity 
- capacityType String
- totalEndpoint NumberCapacity 
- usedEndpoint NumberCapacity 
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.