DedicatedAiClusterCapacity

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

Bases: object

The total capacity for a dedicated AI cluster.

Attributes

CAPACITY_TYPE_HOSTING_CAPACITY A constant which can be used with the capacity_type property of a DedicatedAiClusterCapacity.
capacity_type [Required] Gets the capacity_type of this DedicatedAiClusterCapacity.

Methods

__init__(**kwargs) Initializes a new DedicatedAiClusterCapacity object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CAPACITY_TYPE_HOSTING_CAPACITY = 'HOSTING_CAPACITY'

A constant which can be used with the capacity_type property of a DedicatedAiClusterCapacity. This constant has a value of “HOSTING_CAPACITY”

__init__(**kwargs)

Initializes a new DedicatedAiClusterCapacity object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:capacity_type (str) – The value to assign to the capacity_type property of this DedicatedAiClusterCapacity. Allowed values for this property are: “HOSTING_CAPACITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
capacity_type

[Required] Gets the capacity_type of this DedicatedAiClusterCapacity. The type of the dedicated AI cluster capacity.

Allowed values for this property are: “HOSTING_CAPACITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The capacity_type of this DedicatedAiClusterCapacity.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.