1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GenerativeAi
  5. DedicatedAiCluster
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.GenerativeAi.DedicatedAiCluster

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative Ai service.

    Creates a dedicated AI cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDedicatedAiCluster = new oci.generativeai.DedicatedAiCluster("test_dedicated_ai_cluster", {
        compartmentId: compartmentId,
        type: dedicatedAiClusterType,
        unitCount: dedicatedAiClusterUnitCount,
        unitShape: dedicatedAiClusterUnitShape,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: dedicatedAiClusterDescription,
        displayName: dedicatedAiClusterDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_dedicated_ai_cluster = oci.generative_ai.DedicatedAiCluster("test_dedicated_ai_cluster",
        compartment_id=compartment_id,
        type=dedicated_ai_cluster_type,
        unit_count=dedicated_ai_cluster_unit_count,
        unit_shape=dedicated_ai_cluster_unit_shape,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=dedicated_ai_cluster_description,
        display_name=dedicated_ai_cluster_display_name,
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/GenerativeAi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := GenerativeAi.NewDedicatedAiCluster(ctx, "test_dedicated_ai_cluster", &GenerativeAi.DedicatedAiClusterArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			Type:          pulumi.Any(dedicatedAiClusterType),
    			UnitCount:     pulumi.Any(dedicatedAiClusterUnitCount),
    			UnitShape:     pulumi.Any(dedicatedAiClusterUnitShape),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(dedicatedAiClusterDescription),
    			DisplayName: pulumi.Any(dedicatedAiClusterDisplayName),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    		})
    		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 = new Oci.GenerativeAi.DedicatedAiCluster("test_dedicated_ai_cluster", new()
        {
            CompartmentId = compartmentId,
            Type = dedicatedAiClusterType,
            UnitCount = dedicatedAiClusterUnitCount,
            UnitShape = dedicatedAiClusterUnitShape,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = dedicatedAiClusterDescription,
            DisplayName = dedicatedAiClusterDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GenerativeAi.DedicatedAiCluster;
    import com.pulumi.oci.GenerativeAi.DedicatedAiClusterArgs;
    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) {
            var testDedicatedAiCluster = new DedicatedAiCluster("testDedicatedAiCluster", DedicatedAiClusterArgs.builder()
                .compartmentId(compartmentId)
                .type(dedicatedAiClusterType)
                .unitCount(dedicatedAiClusterUnitCount)
                .unitShape(dedicatedAiClusterUnitShape)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(dedicatedAiClusterDescription)
                .displayName(dedicatedAiClusterDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testDedicatedAiCluster:
        type: oci:GenerativeAi:DedicatedAiCluster
        name: test_dedicated_ai_cluster
        properties:
          compartmentId: ${compartmentId}
          type: ${dedicatedAiClusterType}
          unitCount: ${dedicatedAiClusterUnitCount}
          unitShape: ${dedicatedAiClusterUnitShape}
          definedTags:
            Operations.CostCenter: '42'
          description: ${dedicatedAiClusterDescription}
          displayName: ${dedicatedAiClusterDisplayName}
          freeformTags:
            Department: Finance
    

    Create DedicatedAiCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DedicatedAiCluster(name: string, args: DedicatedAiClusterArgs, opts?: CustomResourceOptions);
    @overload
    def DedicatedAiCluster(resource_name: str,
                           args: DedicatedAiClusterArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def DedicatedAiCluster(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           compartment_id: Optional[str] = None,
                           type: Optional[str] = None,
                           unit_count: Optional[int] = None,
                           unit_shape: Optional[str] = None,
                           defined_tags: Optional[Mapping[str, Any]] = None,
                           description: Optional[str] = None,
                           display_name: Optional[str] = None,
                           freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewDedicatedAiCluster(ctx *Context, name string, args DedicatedAiClusterArgs, opts ...ResourceOption) (*DedicatedAiCluster, error)
    public DedicatedAiCluster(string name, DedicatedAiClusterArgs args, CustomResourceOptions? opts = null)
    public DedicatedAiCluster(String name, DedicatedAiClusterArgs args)
    public DedicatedAiCluster(String name, DedicatedAiClusterArgs args, CustomResourceOptions options)
    
    type: oci:GenerativeAi:DedicatedAiCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DedicatedAiClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DedicatedAiClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DedicatedAiClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DedicatedAiClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DedicatedAiClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dedicatedAiClusterResource = new Oci.GenerativeAi.DedicatedAiCluster("dedicatedAiClusterResource", new()
    {
        CompartmentId = "string",
        Type = "string",
        UnitCount = 0,
        UnitShape = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := GenerativeAi.NewDedicatedAiCluster(ctx, "dedicatedAiClusterResource", &GenerativeAi.DedicatedAiClusterArgs{
    	CompartmentId: pulumi.String("string"),
    	Type:          pulumi.String("string"),
    	UnitCount:     pulumi.Int(0),
    	UnitShape:     pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var dedicatedAiClusterResource = new DedicatedAiCluster("dedicatedAiClusterResource", DedicatedAiClusterArgs.builder()
        .compartmentId("string")
        .type("string")
        .unitCount(0)
        .unitShape("string")
        .definedTags(Map.of("string", "any"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    dedicated_ai_cluster_resource = oci.generative_ai.DedicatedAiCluster("dedicatedAiClusterResource",
        compartment_id="string",
        type="string",
        unit_count=0,
        unit_shape="string",
        defined_tags={
            "string": "any",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        })
    
    const dedicatedAiClusterResource = new oci.generativeai.DedicatedAiCluster("dedicatedAiClusterResource", {
        compartmentId: "string",
        type: "string",
        unitCount: 0,
        unitShape: "string",
        definedTags: {
            string: "any",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:GenerativeAi:DedicatedAiCluster
    properties:
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        type: string
        unitCount: 0
        unitShape: string
    

    DedicatedAiCluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DedicatedAiCluster resource accepts the following input properties:

    CompartmentId string
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    Type string

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    UnitCount int
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    CompartmentId string
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    Type string

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    UnitCount int
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    compartmentId String
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    type String

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unitCount Integer
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    compartmentId string
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    type string

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unitCount number
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    compartment_id str
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    type str

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unit_count int
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    compartmentId String
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    type String

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unitCount Number
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<Any>
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<Any>
    (Updatable) 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"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DedicatedAiCluster resource produces the following output properties:

    Capacities List<DedicatedAiClusterCapacity>
    The total capacity for a dedicated AI cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    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, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    Capacities []DedicatedAiClusterCapacity
    The total capacity for a dedicated AI cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    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]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    capacities List<DedicatedAiClusterCapacity>
    The total capacity for a dedicated AI cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    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,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    capacities DedicatedAiClusterCapacity[]
    The total capacity for a dedicated AI cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    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]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    timeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    capacities Sequence[generativeai.DedicatedAiClusterCapacity]
    The total capacity for a dedicated AI cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    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, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    time_updated str
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    capacities List<Property Map>
    The total capacity for a dedicated AI cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    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<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339

    Look up Existing DedicatedAiCluster Resource

    Get an existing DedicatedAiCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DedicatedAiClusterState, opts?: CustomResourceOptions): DedicatedAiCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            capacities: Optional[Sequence[_generativeai.DedicatedAiClusterCapacityArgs]] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None,
            unit_count: Optional[int] = None,
            unit_shape: Optional[str] = None) -> DedicatedAiCluster
    func GetDedicatedAiCluster(ctx *Context, name string, id IDInput, state *DedicatedAiClusterState, opts ...ResourceOption) (*DedicatedAiCluster, error)
    public static DedicatedAiCluster Get(string name, Input<string> id, DedicatedAiClusterState? state, CustomResourceOptions? opts = null)
    public static DedicatedAiCluster get(String name, Output<String> id, DedicatedAiClusterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Capacities List<DedicatedAiClusterCapacity>
    The total capacity for a dedicated AI cluster.
    CompartmentId string
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    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, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    Type string

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    UnitCount int
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Capacities []DedicatedAiClusterCapacityArgs
    The total capacity for a dedicated AI cluster.
    CompartmentId string
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    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]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    TimeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    Type string

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    UnitCount int
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    capacities List<DedicatedAiClusterCapacity>
    The total capacity for a dedicated AI cluster.
    compartmentId String
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    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,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type String

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unitCount Integer
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    capacities DedicatedAiClusterCapacity[]
    The total capacity for a dedicated AI cluster.
    compartmentId string
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    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]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    timeUpdated string
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type string

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unitCount number
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    capacities Sequence[generativeai.DedicatedAiClusterCapacityArgs]
    The total capacity for a dedicated AI cluster.
    compartment_id str
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    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, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    time_updated str
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type str

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unit_count int
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    capacities List<Property Map>
    The total capacity for a dedicated AI cluster.
    compartmentId String
    (Updatable) The compartment OCID to create the dedicated AI cluster in.
    definedTags Map<Any>
    (Updatable) 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
    (Updatable) An optional description of the dedicated AI cluster.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<Any>
    (Updatable) 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"}
    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<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
    timeUpdated String
    The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
    type String

    The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

    Allowed values are:

    • HOSTING
    • FINE_TUNING
    unitCount Number
    (Updatable) 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.

    Allowed values are:

    • LARGE_COHERE
    • SMALL_COHERE
    • EMBED_COHERE
    • LLAMA2_70

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    DedicatedAiClusterCapacity, DedicatedAiClusterCapacityArgs

    CapacityType string
    The type of the dedicated AI cluster capacity.
    TotalEndpointCapacity int
    The total number of endpoints that can be hosted on this dedicated AI cluster.
    UsedEndpointCapacity int
    The number of endpoints hosted on this dedicated AI cluster.
    CapacityType string
    The type of the dedicated AI cluster capacity.
    TotalEndpointCapacity int
    The total number of endpoints that can be hosted on this dedicated AI cluster.
    UsedEndpointCapacity int
    The number of endpoints hosted on this dedicated AI cluster.
    capacityType String
    The type of the dedicated AI cluster capacity.
    totalEndpointCapacity Integer
    The total number of endpoints that can be hosted on this dedicated AI cluster.
    usedEndpointCapacity Integer
    The number of endpoints hosted on this dedicated AI cluster.
    capacityType string
    The type of the dedicated AI cluster capacity.
    totalEndpointCapacity number
    The total number of endpoints that can be hosted on this dedicated AI cluster.
    usedEndpointCapacity number
    The number of endpoints hosted on this dedicated AI cluster.
    capacity_type str
    The type of the dedicated AI cluster capacity.
    total_endpoint_capacity int
    The total number of endpoints that can be hosted on this dedicated AI cluster.
    used_endpoint_capacity int
    The number of endpoints hosted on this dedicated AI cluster.
    capacityType String
    The type of the dedicated AI cluster capacity.
    totalEndpointCapacity Number
    The total number of endpoints that can be hosted on this dedicated AI cluster.
    usedEndpointCapacity Number
    The number of endpoints hosted on this dedicated AI cluster.

    Import

    DedicatedAiClusters can be imported using the id, e.g.

    $ pulumi import oci:GenerativeAi/dedicatedAiCluster:DedicatedAiCluster test_dedicated_ai_cluster "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi