SandboxWarmPoolRuntimeStatus¶
-
class
oci.generative_ai.models.SandboxWarmPoolRuntimeStatus(**kwargs)¶ Bases:
objectBest-effort runtime observations returned by GetSandboxWarmPool. Runtime read failure does not fail an otherwise successful configuration read or change the pool lifecycle.
Attributes
OBSERVATION_STATUS_OBSERVEDA constant which can be used with the observation_status property of a SandboxWarmPoolRuntimeStatus. OBSERVATION_STATUS_UNAVAILABLEA constant which can be used with the observation_status property of a SandboxWarmPoolRuntimeStatus. observation_status[Required] Gets the observation_status of this SandboxWarmPoolRuntimeStatus. ready_capacityGets the ready_capacity of this SandboxWarmPoolRuntimeStatus. reasonGets the reason of this SandboxWarmPoolRuntimeStatus. time_readGets the time_read of this SandboxWarmPoolRuntimeStatus. Methods
__init__(**kwargs)Initializes a new SandboxWarmPoolRuntimeStatus object with values from keyword arguments. -
OBSERVATION_STATUS_OBSERVED= 'OBSERVED'¶ A constant which can be used with the observation_status property of a SandboxWarmPoolRuntimeStatus. This constant has a value of “OBSERVED”
-
OBSERVATION_STATUS_UNAVAILABLE= 'UNAVAILABLE'¶ A constant which can be used with the observation_status property of a SandboxWarmPoolRuntimeStatus. This constant has a value of “UNAVAILABLE”
-
__init__(**kwargs)¶ Initializes a new SandboxWarmPoolRuntimeStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - ready_capacity (int) – The value to assign to the ready_capacity property of this SandboxWarmPoolRuntimeStatus.
- observation_status (str) – The value to assign to the observation_status property of this SandboxWarmPoolRuntimeStatus. Allowed values for this property are: “OBSERVED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_read (datetime) – The value to assign to the time_read property of this SandboxWarmPoolRuntimeStatus.
- reason (str) – The value to assign to the reason property of this SandboxWarmPoolRuntimeStatus.
-
observation_status¶ [Required] Gets the observation_status of this SandboxWarmPoolRuntimeStatus. OBSERVED means the runtime status was read. UNAVAILABLE means no usable observation is available; configuration and management lifecycle are still returned.
Allowed values for this property are: “OBSERVED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The observation_status of this SandboxWarmPoolRuntimeStatus. Return type: str
-
ready_capacity¶ Gets the ready_capacity of this SandboxWarmPoolRuntimeStatus. Controller-reported ready idle Sandbox members, excluding adopted customer Sandboxes. Omitted when unavailable; a known zero is returned as zero. This eventually consistent count is not a reservation or a guarantee of current allocation readiness.
Returns: The ready_capacity of this SandboxWarmPoolRuntimeStatus. Return type: int
-
reason¶ Gets the reason of this SandboxWarmPoolRuntimeStatus. Concise explanation when runtime observations are unavailable.
Returns: The reason of this SandboxWarmPoolRuntimeStatus. Return type: str
-
time_read¶ Gets the time_read of this SandboxWarmPoolRuntimeStatus. Time the runtime status was fetched, not the controller’s last reconciliation time. A successful Kubernetes read can still contain an older controller observation.
Returns: The time_read of this SandboxWarmPoolRuntimeStatus. Return type: datetime
-