DedicatedAiClusterHostingCapacity

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

Bases: oci.generative_ai.models.dedicated_ai_cluster_capacity.DedicatedAiClusterCapacity

The capacity of a hosting type dedicated AI cluster.

Attributes

CAPACITY_TYPE_HOSTING_CAPACITY str(object=’’) -> str
capacity_type [Required] Gets the capacity_type of this DedicatedAiClusterCapacity.
total_endpoint_capacity Gets the total_endpoint_capacity of this DedicatedAiClusterHostingCapacity.
used_endpoint_capacity Gets the used_endpoint_capacity of this DedicatedAiClusterHostingCapacity.

Methods

__init__(**kwargs) Initializes a new DedicatedAiClusterHostingCapacity 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'
__init__(**kwargs)

Initializes a new DedicatedAiClusterHostingCapacity object with values from keyword arguments. The default value of the capacity_type attribute of this class is HOSTING_CAPACITY and it should not be changed. 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 DedicatedAiClusterHostingCapacity. Allowed values for this property are: “HOSTING_CAPACITY”
  • total_endpoint_capacity (int) – The value to assign to the total_endpoint_capacity property of this DedicatedAiClusterHostingCapacity.
  • used_endpoint_capacity (int) – The value to assign to the used_endpoint_capacity property of this DedicatedAiClusterHostingCapacity.
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.

total_endpoint_capacity

Gets the total_endpoint_capacity of this DedicatedAiClusterHostingCapacity. The total number of endpoints that can be hosted on this dedicated AI cluster.

Returns:The total_endpoint_capacity of this DedicatedAiClusterHostingCapacity.
Return type:int
used_endpoint_capacity

Gets the used_endpoint_capacity of this DedicatedAiClusterHostingCapacity. The number of endpoints hosted on this dedicated AI cluster.

Returns:The used_endpoint_capacity of this DedicatedAiClusterHostingCapacity.
Return type:int