ComputeTaskSummary¶
-
class
oci.batch.models.ComputeTaskSummary(**kwargs)¶ Bases:
oci.batch.models.batch_task_summary.BatchTaskSummarySummary information about a compute task.
Methods
__init__(**kwargs)Initializes a new ComputeTaskSummary 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. Attributes
descriptionGets the description of this BatchTaskSummary. id[Required] Gets the id of this BatchTaskSummary. job_id[Required] Gets the job_id of this BatchTaskSummary. lifecycle_detailsGets the lifecycle_details of this BatchTaskSummary. lifecycle_stateGets the lifecycle_state of this BatchTaskSummary. name[Required] Gets the name of this BatchTaskSummary. type[Required] Gets the type of this BatchTaskSummary. -
__init__(**kwargs)¶ Initializes a new ComputeTaskSummary object with values from keyword arguments. The default value of the
typeattribute of this class isCOMPUTEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - id (str) – The value to assign to the id property of this ComputeTaskSummary.
- job_id (str) – The value to assign to the job_id property of this ComputeTaskSummary.
- name (str) – The value to assign to the name property of this ComputeTaskSummary.
- description (str) – The value to assign to the description property of this ComputeTaskSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeTaskSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this ComputeTaskSummary.
- type (str) – The value to assign to the type property of this ComputeTaskSummary.
-
description¶ Gets the description of this BatchTaskSummary. An optional description that provides additional context next to the displayName.
Returns: The description of this BatchTaskSummary. 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.
-
id¶ [Required] Gets the id of this BatchTaskSummary. The UUID of batch task.
Returns: The id of this BatchTaskSummary. Return type: str
-
job_id¶ [Required] Gets the job_id of this BatchTaskSummary. The OCID of the batch job to which this task belongs.
Returns: The job_id of this BatchTaskSummary. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this BatchTaskSummary. A message that describes the current state of the batch task in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
Returns: The lifecycle_details of this BatchTaskSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this BatchTaskSummary. The current state of the batch task.
Returns: The lifecycle_state of this BatchTaskSummary. Return type: str
-
name¶ [Required] Gets the name of this BatchTaskSummary. The name of the batch task. It must be unique within its parent batch job.
Returns: The name of this BatchTaskSummary. Return type: str
-
type¶ [Required] Gets the type of this BatchTaskSummary. Type of the batch task. Also serves as a discriminator for sub-entities.
Returns: The type of this BatchTaskSummary. Return type: str
-