import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative AI service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/DedicatedAiCluster * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/generative_ai * * Creates a dedicated AI cluster. * * ## Example Usage * * ```typescript * 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: Number(dedicatedAiClusterUnitCount), * unitShape: dedicatedAiClusterUnitShape, * definedTags: { * "Operations.CostCenter": "42", * }, * description: dedicatedAiClusterDescription, * displayName: dedicatedAiClusterDisplayName, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * DedicatedAiClusters can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:GenerativeAi/dedicatedAiCluster:DedicatedAiCluster test_dedicated_ai_cluster "id" * ``` */ export declare class DedicatedAiCluster extends pulumi.CustomResource { /** * Get an existing DedicatedAiCluster resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DedicatedAiClusterState, opts?: pulumi.CustomResourceOptions): DedicatedAiCluster; /** * Returns true if the given object is an instance of DedicatedAiCluster. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DedicatedAiCluster; /** * The total capacity for a dedicated AI cluster. */ readonly capacities: pulumi.Output; /** * (Updatable) The compartment OCID to create the dedicated AI cluster in. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) An optional description of the dedicated AI cluster. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. */ readonly displayName: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state with detail that can provide actionable information. */ readonly lifecycleDetails: pulumi.Output; /** * The current state of the dedicated AI cluster. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the dedicated AI cluster was created, in the format defined by RFC 3339 */ readonly timeCreated: pulumi.Output; /** * The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339 */ readonly timeUpdated: pulumi.Output; /** * The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor. * * Allowed values are: * * HOSTING * * FINE_TUNING */ readonly type: pulumi.Output; /** * (Updatable) The number of dedicated units in this AI cluster. */ readonly unitCount: pulumi.Output; /** * The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers. * * Allowed values are: * * LARGE_COHERE * * LARGE_COHERE_V2 * * SMALL_COHERE * * SMALL_COHERE_V2 * * SMALL_COHERE_4 * * EMBED_COHERE * * LLAMA2_70 * * LARGE_GENERIC * * LARGE_COHERE_V2_2 * * LARGE_GENERIC_4 * * SMALL_GENERIC_V2 * * LARGE_GENERIC_2 * * LARGE_GENERIC_V3 * * SMALL_GENERIC_V1 * * MEDIUM_GENERIC_V1 * * LARGE_GENERIC_V1 * * COHERE_H100_X1 * * COHERE_A100_80G_X1 * * COHERE_A100_40G_X1 * * COHERE_A10_X1 * * A10_X1 * * A10_X2 * * A10_X4 * * A100_40G_X1 * * A100_40G_X2 * * A100_40G_X4 * * A100_40G_X8 * * A100_80G_X1 * * A100_80G_X2 * * A100_80G_X4 * * A100_80G_X8 * * H100_X1 * * H100_X2 * * H100_X4 * * H100_X8 * * H200_X1 * * H200_X2 * * H200_X4 * * H200_X8 * * OAI_A10_X2 * * OAI_H100_X1 * * OAI_H100_X2 * * OAI_H200_X1 * * OAI_A100_80G_X1 * * OAI_A100_80G_X2 * * OAI_A100_40G_X1 * * OAI_A100_40G_X4 * * B200_X1 * * B200_X2 * * B200_X4 * * B200_X8 * * OAI_B200_X1 * * OAI_B200_X2 * * OAI_B200_X4 * * OAI_B200_X8 * * SB_B200_X1 * * The following shapes can only be used to deploy imported models: * * A10_X1, A10_X2, A10_X4 * * A100_40G_X1, A100_40G_X2, A100_40G_X4, A100_40G_X8 * * A100_80G_X1, A100_80G_X2, A100_80G_X4, A100_80G_X8 * * H100_X1, H100_X2, H100_X4, H100_X8 * * H200_X1, H200_X2, H200_X4, H200_X8 * * ** 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 */ readonly unitShape: pulumi.Output; /** * Create a DedicatedAiCluster resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DedicatedAiClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DedicatedAiCluster resources. */ export interface DedicatedAiClusterState { /** * The total capacity for a dedicated AI cluster. */ capacities?: pulumi.Input[] | undefined>; /** * (Updatable) The compartment OCID to create the dedicated AI cluster in. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) An optional description of the dedicated AI cluster. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state with detail that can provide actionable information. */ lifecycleDetails?: pulumi.Input; /** * The current state of the dedicated AI cluster. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the dedicated AI cluster was created, in the format defined by RFC 3339 */ timeCreated?: pulumi.Input; /** * The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339 */ timeUpdated?: pulumi.Input; /** * The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor. * * Allowed values are: * * HOSTING * * FINE_TUNING */ type?: pulumi.Input; /** * (Updatable) The number of dedicated units in this AI cluster. */ unitCount?: pulumi.Input; /** * The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers. * * Allowed values are: * * LARGE_COHERE * * LARGE_COHERE_V2 * * SMALL_COHERE * * SMALL_COHERE_V2 * * SMALL_COHERE_4 * * EMBED_COHERE * * LLAMA2_70 * * LARGE_GENERIC * * LARGE_COHERE_V2_2 * * LARGE_GENERIC_4 * * SMALL_GENERIC_V2 * * LARGE_GENERIC_2 * * LARGE_GENERIC_V3 * * SMALL_GENERIC_V1 * * MEDIUM_GENERIC_V1 * * LARGE_GENERIC_V1 * * COHERE_H100_X1 * * COHERE_A100_80G_X1 * * COHERE_A100_40G_X1 * * COHERE_A10_X1 * * A10_X1 * * A10_X2 * * A10_X4 * * A100_40G_X1 * * A100_40G_X2 * * A100_40G_X4 * * A100_40G_X8 * * A100_80G_X1 * * A100_80G_X2 * * A100_80G_X4 * * A100_80G_X8 * * H100_X1 * * H100_X2 * * H100_X4 * * H100_X8 * * H200_X1 * * H200_X2 * * H200_X4 * * H200_X8 * * OAI_A10_X2 * * OAI_H100_X1 * * OAI_H100_X2 * * OAI_H200_X1 * * OAI_A100_80G_X1 * * OAI_A100_80G_X2 * * OAI_A100_40G_X1 * * OAI_A100_40G_X4 * * B200_X1 * * B200_X2 * * B200_X4 * * B200_X8 * * OAI_B200_X1 * * OAI_B200_X2 * * OAI_B200_X4 * * OAI_B200_X8 * * SB_B200_X1 * * The following shapes can only be used to deploy imported models: * * A10_X1, A10_X2, A10_X4 * * A100_40G_X1, A100_40G_X2, A100_40G_X4, A100_40G_X8 * * A100_80G_X1, A100_80G_X2, A100_80G_X4, A100_80G_X8 * * H100_X1, H100_X2, H100_X4, H100_X8 * * H200_X1, H200_X2, H200_X4, H200_X8 * * ** 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 */ unitShape?: pulumi.Input; } /** * The set of arguments for constructing a DedicatedAiCluster resource. */ export interface DedicatedAiClusterArgs { /** * (Updatable) The compartment OCID to create the dedicated AI cluster in. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) An optional description of the dedicated AI cluster. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor. * * Allowed values are: * * HOSTING * * FINE_TUNING */ type: pulumi.Input; /** * (Updatable) The number of dedicated units in this AI cluster. */ unitCount: pulumi.Input; /** * The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers. * * Allowed values are: * * LARGE_COHERE * * LARGE_COHERE_V2 * * SMALL_COHERE * * SMALL_COHERE_V2 * * SMALL_COHERE_4 * * EMBED_COHERE * * LLAMA2_70 * * LARGE_GENERIC * * LARGE_COHERE_V2_2 * * LARGE_GENERIC_4 * * SMALL_GENERIC_V2 * * LARGE_GENERIC_2 * * LARGE_GENERIC_V3 * * SMALL_GENERIC_V1 * * MEDIUM_GENERIC_V1 * * LARGE_GENERIC_V1 * * COHERE_H100_X1 * * COHERE_A100_80G_X1 * * COHERE_A100_40G_X1 * * COHERE_A10_X1 * * A10_X1 * * A10_X2 * * A10_X4 * * A100_40G_X1 * * A100_40G_X2 * * A100_40G_X4 * * A100_40G_X8 * * A100_80G_X1 * * A100_80G_X2 * * A100_80G_X4 * * A100_80G_X8 * * H100_X1 * * H100_X2 * * H100_X4 * * H100_X8 * * H200_X1 * * H200_X2 * * H200_X4 * * H200_X8 * * OAI_A10_X2 * * OAI_H100_X1 * * OAI_H100_X2 * * OAI_H200_X1 * * OAI_A100_80G_X1 * * OAI_A100_80G_X2 * * OAI_A100_40G_X1 * * OAI_A100_40G_X4 * * B200_X1 * * B200_X2 * * B200_X4 * * B200_X8 * * OAI_B200_X1 * * OAI_B200_X2 * * OAI_B200_X4 * * OAI_B200_X8 * * SB_B200_X1 * * The following shapes can only be used to deploy imported models: * * A10_X1, A10_X2, A10_X4 * * A100_40G_X1, A100_40G_X2, A100_40G_X4, A100_40G_X8 * * A100_80G_X1, A100_80G_X2, A100_80G_X4, A100_80G_X8 * * H100_X1, H100_X2, H100_X4, H100_X8 * * H200_X1, H200_X2, H200_X4, H200_X8 * * ** 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 */ unitShape: pulumi.Input; } //# sourceMappingURL=dedicatedAiCluster.d.ts.map