Availability

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

Bases: object

Describes where and how a model is deployed

Methods

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

Attributes

realm Gets the realm of this Availability.
region Gets the region of this Availability.
serving_modes Gets the serving_modes of this Availability.
supported_replacements Gets the supported_replacements of this Availability.
time_dedicated_retired Gets the time_dedicated_retired of this Availability.
time_deprecated Gets the time_deprecated of this Availability.
time_on_demand_retired Gets the time_on_demand_retired of this Availability.
__init__(**kwargs)

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

Parameters:
  • realm (str) – The value to assign to the realm property of this Availability.
  • region (str) – The value to assign to the region property of this Availability.
  • serving_modes (list[oci.generative_ai.models.ServingMode]) – The value to assign to the serving_modes property of this Availability.
  • time_deprecated (datetime) – The value to assign to the time_deprecated property of this Availability.
  • time_on_demand_retired (datetime) – The value to assign to the time_on_demand_retired property of this Availability.
  • time_dedicated_retired (datetime) – The value to assign to the time_dedicated_retired property of this Availability.
  • supported_replacements (list[str]) – The value to assign to the supported_replacements property of this Availability.
realm

Gets the realm of this Availability. The cloud realm in which the model exists.

Returns:The realm of this Availability.
Return type:str
region

Gets the region of this Availability. The specific geographic region where the model is deployed.

Returns:The region of this Availability.
Return type:str
serving_modes

Gets the serving_modes of this Availability. The supported deployment modes for the model in this region (e.g., on-demand or dedicated).

Returns:The serving_modes of this Availability.
Return type:list[oci.generative_ai.models.ServingMode]
supported_replacements

Gets the supported_replacements of this Availability. A list of model identifiers that are recommended as replacements after this model is retired.

Returns:The supported_replacements of this Availability.
Return type:list[str]
time_dedicated_retired

Gets the time_dedicated_retired of this Availability. The timestamp when dedicated deployments of the model will be fully retired.

Returns:The time_dedicated_retired of this Availability.
Return type:datetime
time_deprecated

Gets the time_deprecated of this Availability. The timestamp when the model is marked as deprecated and is no longer recommended for use.

Returns:The time_deprecated of this Availability.
Return type:datetime
time_on_demand_retired

Gets the time_on_demand_retired of this Availability. The timestamp when the model will no longer be available for on-demand (shared) usage.

Returns:The time_on_demand_retired of this Availability.
Return type:datetime