ComputeTaskExecutionDetails

class oci.batch.models.ComputeTaskExecutionDetails(**kwargs)

Bases: oci.batch.models.batch_task_execution_details.BatchTaskExecutionDetails

Execution details for a compute task.

Attributes

TYPE_COMPUTE_TASK_EXECUTION_DETAILS str(object=’’) -> str
completion_lifecycle_state Gets the completion_lifecycle_state of this ComputeTaskExecutionDetails.
errors Gets the errors of this ComputeTaskExecutionDetails.
execution_id Gets the execution_id of this ComputeTaskExecutionDetails.
fleet_shape Gets the fleet_shape of this ComputeTaskExecutionDetails.
time_completed Gets the time_completed of this ComputeTaskExecutionDetails.
time_started Gets the time_started of this ComputeTaskExecutionDetails.
time_transitioned_to_waiting_dependencies Gets the time_transitioned_to_waiting_dependencies of this ComputeTaskExecutionDetails.
time_transitioned_to_waiting_queued Gets the time_transitioned_to_waiting_queued of this ComputeTaskExecutionDetails.
type [Required] Gets the type of this BatchTaskExecutionDetails.

Methods

__init__(**kwargs) Initializes a new ComputeTaskExecutionDetails 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.
TYPE_COMPUTE_TASK_EXECUTION_DETAILS = 'COMPUTE_TASK_EXECUTION_DETAILS'
__init__(**kwargs)

Initializes a new ComputeTaskExecutionDetails object with values from keyword arguments. The default value of the type attribute of this class is COMPUTE_TASK_EXECUTION_DETAILS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this ComputeTaskExecutionDetails. Allowed values for this property are: “COMPUTE_TASK_EXECUTION_DETAILS”
  • execution_id (str) – The value to assign to the execution_id property of this ComputeTaskExecutionDetails.
  • time_transitioned_to_waiting_dependencies (datetime) – The value to assign to the time_transitioned_to_waiting_dependencies property of this ComputeTaskExecutionDetails.
  • time_transitioned_to_waiting_queued (datetime) – The value to assign to the time_transitioned_to_waiting_queued property of this ComputeTaskExecutionDetails.
  • time_started (datetime) – The value to assign to the time_started property of this ComputeTaskExecutionDetails.
  • time_completed (datetime) – The value to assign to the time_completed property of this ComputeTaskExecutionDetails.
  • fleet_shape (oci.batch.models.FleetShapeExecutionDetails) – The value to assign to the fleet_shape property of this ComputeTaskExecutionDetails.
  • completion_lifecycle_state (str) – The value to assign to the completion_lifecycle_state property of this ComputeTaskExecutionDetails.
  • errors (list[str]) – The value to assign to the errors property of this ComputeTaskExecutionDetails.
completion_lifecycle_state

Gets the completion_lifecycle_state of this ComputeTaskExecutionDetails. The terminal lifecycle state of the task for this execution. Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.

Returns:The completion_lifecycle_state of this ComputeTaskExecutionDetails.
Return type:str
errors

Gets the errors of this ComputeTaskExecutionDetails. List of error messages related to this task execution. Be aware that the maximum number of items returned may change in the future.

Returns:The errors of this ComputeTaskExecutionDetails.
Return type:list[str]
execution_id

Gets the execution_id of this ComputeTaskExecutionDetails. A unique identifier for the task execution. Created as “taskId:taskVersion:runNumber”.

Returns:The execution_id of this ComputeTaskExecutionDetails.
Return type:str
fleet_shape

Gets the fleet_shape of this ComputeTaskExecutionDetails.

Returns:The fleet_shape of this ComputeTaskExecutionDetails.
Return type:oci.batch.models.FleetShapeExecutionDetails
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.

time_completed

Gets the time_completed of this ComputeTaskExecutionDetails. The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

Returns:The time_completed of this ComputeTaskExecutionDetails.
Return type:datetime
time_started

Gets the time_started of this ComputeTaskExecutionDetails. The date and time when the lifecycleState was changed to In_Progress, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

Returns:The time_started of this ComputeTaskExecutionDetails.
Return type:datetime
time_transitioned_to_waiting_dependencies

Gets the time_transitioned_to_waiting_dependencies of this ComputeTaskExecutionDetails. The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

Returns:The time_transitioned_to_waiting_dependencies of this ComputeTaskExecutionDetails.
Return type:datetime
time_transitioned_to_waiting_queued

Gets the time_transitioned_to_waiting_queued of this ComputeTaskExecutionDetails. The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

Returns:The time_transitioned_to_waiting_queued of this ComputeTaskExecutionDetails.
Return type:datetime
type

[Required] Gets the type of this BatchTaskExecutionDetails. Type of the execution details.

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

Returns:The type of this BatchTaskExecutionDetails.
Return type:str