1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GenerativeAi
  5. getDedicatedAiCluster
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

oci.GenerativeAi.getDedicatedAiCluster

Start a Neo task
Explain and create an oci.GenerativeAi.getDedicatedAiCluster resource
oci logo
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

    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/v3/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 dictionary

    The following arguments are supported:

    DedicatedAiClusterId string
    The OCID of the dedicated AI cluster.
    DedicatedAiClusterId string
    The OCID of the dedicated AI cluster.
    dedicatedAiClusterId String
    The OCID of the dedicated AI cluster.
    dedicatedAiClusterId string
    The OCID of the dedicated AI cluster.
    dedicated_ai_cluster_id str
    The OCID of the dedicated AI cluster.
    dedicatedAiClusterId String
    The OCID of the dedicated AI cluster.

    getDedicatedAiCluster Result

    The following output properties are available:

    Capacities List<GetDedicatedAiClusterCapacity>
    CompartmentId string
    DedicatedAiClusterId string
    DefinedTags 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"}
    Description string
    An optional description of the dedicated AI cluster.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    Id string
    The OCID of the dedicated AI cluster.
    LifecycleDetails string
    A message describing the current state with detail that can provide actionable information.
    State string
    The current state of the dedicated AI cluster.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    TimeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    Type string
    UnitCount int
    The number of dedicated units in this AI cluster.
    UnitShape string
    The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
    Capacities []GetDedicatedAiClusterCapacity
    CompartmentId string
    DedicatedAiClusterId string
    DefinedTags 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"}
    Description string
    An optional description of the dedicated AI cluster.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    Id string
    The OCID of the dedicated AI cluster.
    LifecycleDetails string
    A message describing the current state with detail that can provide actionable information.
    State string
    The current state of the dedicated AI cluster.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    TimeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    Type string
    UnitCount int
    The number of dedicated units in this AI cluster.
    UnitShape string
    The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
    capacities List<GetDedicatedAiClusterCapacity>
    compartmentId String
    dedicatedAiClusterId String
    definedTags 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"}
    description String
    An optional description of the dedicated AI cluster.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    id String
    The OCID of the dedicated AI cluster.
    lifecycleDetails String
    A message describing the current state with detail that can provide actionable information.
    state String
    The current state of the dedicated AI cluster.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    timeUpdated String
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type String
    unitCount Integer
    The number of dedicated units in this AI cluster.
    unitShape String
    The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
    capacities GetDedicatedAiClusterCapacity[]
    compartmentId string
    dedicatedAiClusterId string
    definedTags {[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"}
    description string
    An optional description of the dedicated AI cluster.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    id string
    The OCID of the dedicated AI cluster.
    lifecycleDetails string
    A message describing the current state with detail that can provide actionable information.
    state string
    The current state of the dedicated AI cluster.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    timeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type string
    unitCount number
    The number of dedicated units in this AI cluster.
    unitShape string
    The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
    capacities Sequence[GetDedicatedAiClusterCapacity]
    compartment_id str
    dedicated_ai_cluster_id str
    defined_tags 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"}
    description str
    An optional description of the dedicated AI cluster.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    id str
    The OCID of the dedicated AI cluster.
    lifecycle_details str
    A message describing the current state with detail that can provide actionable information.
    state str
    The current state of the dedicated AI cluster.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    time_updated str
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type str
    unit_count int
    The number of dedicated units in this AI cluster.
    unit_shape str
    The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
    capacities List<Property Map>
    compartmentId String
    dedicatedAiClusterId String
    definedTags 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"}
    description String
    An optional description of the dedicated AI cluster.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String>
    id String
    The OCID of the dedicated AI cluster.
    lifecycleDetails String
    A message describing the current state with detail that can provide actionable information.
    state String
    The current state of the dedicated AI cluster.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    timeUpdated String
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type String
    unitCount Number
    The number of dedicated units in this AI cluster.
    unitShape String
    The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.

    Supporting Types

    GetDedicatedAiClusterCapacity

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate