CreateDedicatedAiClusterDetails

class oci.generative_ai.models.CreateDedicatedAiClusterDetails(**kwargs)

Bases: object

The data to create a dedicated AI cluster.

Methods

__init__(**kwargs) Initializes a new CreateDedicatedAiClusterDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateDedicatedAiClusterDetails.
defined_tags Gets the defined_tags of this CreateDedicatedAiClusterDetails.
description Gets the description of this CreateDedicatedAiClusterDetails.
display_name Gets the display_name of this CreateDedicatedAiClusterDetails.
freeform_tags Gets the freeform_tags of this CreateDedicatedAiClusterDetails.
type [Required] Gets the type of this CreateDedicatedAiClusterDetails.
unit_count [Required] Gets the unit_count of this CreateDedicatedAiClusterDetails.
unit_shape [Required] Gets the unit_shape of this CreateDedicatedAiClusterDetails.
__init__(**kwargs)

Initializes a new CreateDedicatedAiClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateDedicatedAiClusterDetails.
  • description (str) – The value to assign to the description property of this CreateDedicatedAiClusterDetails.
  • type (str) – The value to assign to the type property of this CreateDedicatedAiClusterDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateDedicatedAiClusterDetails.
  • unit_count (int) – The value to assign to the unit_count property of this CreateDedicatedAiClusterDetails.
  • unit_shape (str) – The value to assign to the unit_shape property of this CreateDedicatedAiClusterDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDedicatedAiClusterDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDedicatedAiClusterDetails.
compartment_id

[Required] Gets the compartment_id of this CreateDedicatedAiClusterDetails. The compartment OCID to create the dedicated AI cluster in.

Returns:The compartment_id of this CreateDedicatedAiClusterDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateDedicatedAiClusterDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateDedicatedAiClusterDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateDedicatedAiClusterDetails. An optional description of the dedicated AI cluster.

Returns:The description of this CreateDedicatedAiClusterDetails.
Return type:str
display_name

Gets the display_name of this CreateDedicatedAiClusterDetails. A user-friendly name. Does not have to be unique, and it’s changeable.

Returns:The display_name of this CreateDedicatedAiClusterDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateDedicatedAiClusterDetails. 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”}

Returns:The freeform_tags of this CreateDedicatedAiClusterDetails.
Return type:dict(str, str)
type

[Required] Gets the type of this CreateDedicatedAiClusterDetails. The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

Allowed values are: - HOSTING - FINE_TUNING

Returns:The type of this CreateDedicatedAiClusterDetails.
Return type:str
unit_count

[Required] Gets the unit_count of this CreateDedicatedAiClusterDetails. The number of dedicated units in this AI cluster.

Returns:The unit_count of this CreateDedicatedAiClusterDetails.
Return type:int
unit_shape

[Required] Gets the unit_shape of this CreateDedicatedAiClusterDetails. 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

Returns:The unit_shape of this CreateDedicatedAiClusterDetails.
Return type:str