DedicatedAiClusterSummary

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

Bases: object

Summary information about a dedicated AI cluster.

Methods:

__init__(**kwargs)

Initializes a new DedicatedAiClusterSummary object with values from keyword arguments.

Attributes:

capacity

Gets the capacity of this DedicatedAiClusterSummary.

capacity_reservation_id

Gets the capacity_reservation_id of this DedicatedAiClusterSummary.

compartment_id

[Required] Gets the compartment_id of this DedicatedAiClusterSummary.

defined_tags

Gets the defined_tags of this DedicatedAiClusterSummary.

description

Gets the description of this DedicatedAiClusterSummary.

display_name

Gets the display_name of this DedicatedAiClusterSummary.

freeform_tags

Gets the freeform_tags of this DedicatedAiClusterSummary.

id

[Required] Gets the id of this DedicatedAiClusterSummary.

lifecycle_details

Gets the lifecycle_details of this DedicatedAiClusterSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this DedicatedAiClusterSummary.

system_tags

Gets the system_tags of this DedicatedAiClusterSummary.

time_created

[Required] Gets the time_created of this DedicatedAiClusterSummary.

time_updated

Gets the time_updated of this DedicatedAiClusterSummary.

type

[Required] Gets the type of this DedicatedAiClusterSummary.

unit_count

[Required] Gets the unit_count of this DedicatedAiClusterSummary.

unit_shape

[Required] Gets the unit_shape of this DedicatedAiClusterSummary.

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this DedicatedAiClusterSummary.

  • display_name (str) – The value to assign to the display_name property of this DedicatedAiClusterSummary.

  • description (str) – The value to assign to the description property of this DedicatedAiClusterSummary.

  • type (str) – The value to assign to the type property of this DedicatedAiClusterSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this DedicatedAiClusterSummary.

  • time_created (datetime) – The value to assign to the time_created property of this DedicatedAiClusterSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this DedicatedAiClusterSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DedicatedAiClusterSummary.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this DedicatedAiClusterSummary.

  • unit_count (int) – The value to assign to the unit_count property of this DedicatedAiClusterSummary.

  • unit_shape (str) – The value to assign to the unit_shape property of this DedicatedAiClusterSummary.

  • capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this DedicatedAiClusterSummary.

  • capacity (oci.generative_ai.models.DedicatedAiClusterCapacity) – The value to assign to the capacity property of this DedicatedAiClusterSummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DedicatedAiClusterSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DedicatedAiClusterSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DedicatedAiClusterSummary.

property capacity

Gets the capacity of this DedicatedAiClusterSummary.

Returns

The capacity of this DedicatedAiClusterSummary.

Return type

oci.generative_ai.models.DedicatedAiClusterCapacity

property capacity_reservation_id

Gets the capacity_reservation_id of this DedicatedAiClusterSummary. The OCID of the capacity reservation.

Returns

The capacity_reservation_id of this DedicatedAiClusterSummary.

Return type

str

property compartment_id

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

Returns

The compartment_id of this DedicatedAiClusterSummary.

Return type

str

property defined_tags

Gets the defined_tags of this DedicatedAiClusterSummary. 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 DedicatedAiClusterSummary.

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this DedicatedAiClusterSummary.

Return type

str

property display_name

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

Returns

The display_name of this DedicatedAiClusterSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this DedicatedAiClusterSummary. 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 DedicatedAiClusterSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this DedicatedAiClusterSummary. The OCID of the dedicated AI cluster.

Returns

The id of this DedicatedAiClusterSummary.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this DedicatedAiClusterSummary. A message describing the current state of the dedicated AI cluster in more detail that can provide actionable information.

Returns

The lifecycle_details of this DedicatedAiClusterSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this DedicatedAiClusterSummary. The current state of the dedicated AI cluster.

Allowed values are: - CREATING - ACTIVE - UPDATING - DELETING - DELETED - FAILED - NEEDS_ATTENTION

Returns

The lifecycle_state of this DedicatedAiClusterSummary.

Return type

str

property system_tags

Gets the system_tags of this DedicatedAiClusterSummary. System tags for this resource. Each key is predefined and scoped to a namespace.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this DedicatedAiClusterSummary.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this DedicatedAiClusterSummary. The date and time the dedicated AI cluster was created, in the format defined by RFC 3339.

Returns

The time_created of this DedicatedAiClusterSummary.

Return type

datetime

property time_updated

Gets the time_updated of this DedicatedAiClusterSummary. The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339.

Returns

The time_updated of this DedicatedAiClusterSummary.

Return type

datetime

property type

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

Return type

str

property unit_count

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

Returns

The unit_count of this DedicatedAiClusterSummary.

Return type

int

property unit_shape

[Required] Gets the unit_shape of this DedicatedAiClusterSummary. The shape of dedicated unit in this AI cluster.

Returns

The unit_shape of this DedicatedAiClusterSummary.

Return type

str