ExecutionSummary

class oci.fleet_apps_management.models.ExecutionSummary(**kwargs)

Bases: object

A task associated with the Job.

Attributes:

STATUS_ABORTED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_ACCEPTED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_CANCELED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_FAILED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_IGNORED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_IN_PROGRESS

A constant which can be used with the status property of a ExecutionSummary.

STATUS_NOT_APPLICABLE

A constant which can be used with the status property of a ExecutionSummary.

STATUS_PAUSED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_SKIPPED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_SUCCEEDED

A constant which can be used with the status property of a ExecutionSummary.

STATUS_TIMED_OUT

A constant which can be used with the status property of a ExecutionSummary.

STATUS_WAITING

A constant which can be used with the status property of a ExecutionSummary.

description

Gets the description of this ExecutionSummary.

id

[Required] Gets the id of this ExecutionSummary.

is_retry_exceeded

Gets the is_retry_exceeded of this ExecutionSummary.

is_rollback_task

Gets the is_rollback_task of this ExecutionSummary.

process_reference_id

Gets the process_reference_id of this ExecutionSummary.

resource_id

Gets the resource_id of this ExecutionSummary.

sequence

Gets the sequence of this ExecutionSummary.

status

[Required] Gets the status of this ExecutionSummary.

step_name

Gets the step_name of this ExecutionSummary.

system_tags

Gets the system_tags of this ExecutionSummary.

target_id

Gets the target_id of this ExecutionSummary.

task_record_id

Gets the task_record_id of this ExecutionSummary.

time_ended

Gets the time_ended of this ExecutionSummary.

time_started

Gets the time_started of this ExecutionSummary.

Methods:

__init__(**kwargs)

Initializes a new ExecutionSummary object with values from keyword arguments.

STATUS_ABORTED = 'ABORTED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “ABORTED”

STATUS_ACCEPTED = 'ACCEPTED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “ACCEPTED”

STATUS_CANCELED = 'CANCELED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “CANCELED”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “FAILED”

STATUS_IGNORED = 'IGNORED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “IGNORED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “IN_PROGRESS”

STATUS_NOT_APPLICABLE = 'NOT_APPLICABLE'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “NOT_APPLICABLE”

STATUS_PAUSED = 'PAUSED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “PAUSED”

STATUS_SKIPPED = 'SKIPPED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “SKIPPED”

STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “SUCCEEDED”

STATUS_TIMED_OUT = 'TIMED_OUT'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “TIMED_OUT”

STATUS_WAITING = 'WAITING'

A constant which can be used with the status property of a ExecutionSummary. This constant has a value of “WAITING”

__init__(**kwargs)

Initializes a new ExecutionSummary object with values from keyword arguments. 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 ExecutionSummary.

  • task_record_id (str) – The value to assign to the task_record_id property of this ExecutionSummary.

  • step_name (str) – The value to assign to the step_name property of this ExecutionSummary.

  • process_reference_id (str) – The value to assign to the process_reference_id property of this ExecutionSummary.

  • sequence (str) – The value to assign to the sequence property of this ExecutionSummary.

  • status (str) – The value to assign to the status property of this ExecutionSummary. Allowed values for this property are: “ACCEPTED”, “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, “SKIPPED”, “IGNORED”, “NOT_APPLICABLE”, “ABORTED”, “TIMED_OUT”, “PAUSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • target_id (str) – The value to assign to the target_id property of this ExecutionSummary.

  • time_started (datetime) – The value to assign to the time_started property of this ExecutionSummary.

  • time_ended (datetime) – The value to assign to the time_ended property of this ExecutionSummary.

  • is_rollback_task (bool) – The value to assign to the is_rollback_task property of this ExecutionSummary.

  • description (str) – The value to assign to the description property of this ExecutionSummary.

  • resource_id (str) – The value to assign to the resource_id property of this ExecutionSummary.

  • is_retry_exceeded (bool) – The value to assign to the is_retry_exceeded property of this ExecutionSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ExecutionSummary.

property description

Gets the description of this ExecutionSummary. Description of the Execution status. If there are any errors, this can also include a short error message.

Returns

The description of this ExecutionSummary.

Return type

str

property id

[Required] Gets the id of this ExecutionSummary. Unique Id associated with the task execution.

Returns

The id of this ExecutionSummary.

Return type

str

property is_retry_exceeded

Gets the is_retry_exceeded of this ExecutionSummary. An attribute which tells if further retries are allowed for the task on failure.

Returns

The is_retry_exceeded of this ExecutionSummary.

Return type

bool

property is_rollback_task

Gets the is_rollback_task of this ExecutionSummary. Is this a rollback task?

Returns

The is_rollback_task of this ExecutionSummary.

Return type

bool

property process_reference_id

Gets the process_reference_id of this ExecutionSummary. Unique process-reference identifier returned by the execution client. In some cases, this can be a runcommand OCID.

Returns

The process_reference_id of this ExecutionSummary.

Return type

str

property resource_id

Gets the resource_id of this ExecutionSummary. Resource Identifier associated with the Work Request.

Returns

The resource_id of this ExecutionSummary.

Return type

str

property sequence

Gets the sequence of this ExecutionSummary. The sequence of the task.

Returns

The sequence of this ExecutionSummary.

Return type

str

property status

[Required] Gets the status of this ExecutionSummary. Status of the Task.

Allowed values for this property are: “ACCEPTED”, “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, “SKIPPED”, “IGNORED”, “NOT_APPLICABLE”, “ABORTED”, “TIMED_OUT”, “PAUSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this ExecutionSummary.

Return type

str

property step_name

Gets the step_name of this ExecutionSummary. Name of the Step.

Returns

The step_name of this ExecutionSummary.

Return type

str

property system_tags

Gets the system_tags of this ExecutionSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this ExecutionSummary.

Return type

dict(str, dict(str, object))

property target_id

Gets the target_id of this ExecutionSummary. Target associated with the execution.

Returns

The target_id of this ExecutionSummary.

Return type

str

property task_record_id

Gets the task_record_id of this ExecutionSummary. The OCID of taskRecord.

Returns

The task_record_id of this ExecutionSummary.

Return type

str

property time_ended

Gets the time_ended of this ExecutionSummary. The time the task ended. An RFC3339 formatted datetime string.

Returns

The time_ended of this ExecutionSummary.

Return type

datetime

property time_started

Gets the time_started of this ExecutionSummary. The time the task started. An RFC3339 formatted datetime string.

Returns

The time_started of this ExecutionSummary.

Return type

datetime