EntityExecutionDetails

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

Bases: object

Resource level execution status and target associations.

Attributes:

STATUS_ABORTED

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

STATUS_ACCEPTED

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

STATUS_CANCELED

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

STATUS_FAILED

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

STATUS_IGNORED

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

STATUS_IN_PROGRESS

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

STATUS_NOT_APPLICABLE

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

STATUS_PAUSED

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

STATUS_SKIPPED

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

STATUS_SUCCEEDED

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

STATUS_TIMED_OUT

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

STATUS_WAITING

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

description

Gets the description of this EntityExecutionDetails.

resource_display_name

Gets the resource_display_name of this EntityExecutionDetails.

resource_id

[Required] Gets the resource_id of this EntityExecutionDetails.

sequence

Gets the sequence of this EntityExecutionDetails.

status

[Required] Gets the status of this EntityExecutionDetails.

targets

Gets the targets of this EntityExecutionDetails.

time_ended

Gets the time_ended of this EntityExecutionDetails.

time_started

Gets the time_started of this EntityExecutionDetails.

Methods:

__init__(**kwargs)

Initializes a new EntityExecutionDetails object with values from keyword arguments.

STATUS_ABORTED = 'ABORTED'

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

STATUS_ACCEPTED = 'ACCEPTED'

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

STATUS_CANCELED = 'CANCELED'

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

STATUS_FAILED = 'FAILED'

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

STATUS_IGNORED = 'IGNORED'

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

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a EntityExecutionDetails. 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 EntityExecutionDetails. This constant has a value of “NOT_APPLICABLE”

STATUS_PAUSED = 'PAUSED'

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

STATUS_SKIPPED = 'SKIPPED'

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

STATUS_SUCCEEDED = 'SUCCEEDED'

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

STATUS_TIMED_OUT = 'TIMED_OUT'

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

STATUS_WAITING = 'WAITING'

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

__init__(**kwargs)

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

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

  • resource_display_name (str) – The value to assign to the resource_display_name property of this EntityExecutionDetails.

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

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

  • targets (list[oci.fleet_apps_management.models.ActivityResourceTarget]) – The value to assign to the targets property of this EntityExecutionDetails.

  • status (str) – The value to assign to the status property of this EntityExecutionDetails. 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’.

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

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

property description

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

Returns

The description of this EntityExecutionDetails.

Return type

str

property resource_display_name

Gets the resource_display_name of this EntityExecutionDetails. Resource Display Name.

Returns

The resource_display_name of this EntityExecutionDetails.

Return type

str

property resource_id

[Required] Gets the resource_id of this EntityExecutionDetails. Resource Identifier associated with the Work Request.

Returns

The resource_id of this EntityExecutionDetails.

Return type

str

property sequence

Gets the sequence of this EntityExecutionDetails. The sequence of the Resource.

Returns

The sequence of this EntityExecutionDetails.

Return type

str

property status

[Required] Gets the status of this EntityExecutionDetails. Status of the Job at Resource Level.

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 EntityExecutionDetails.

Return type

str

property targets

Gets the targets of this EntityExecutionDetails. Targets associated with the resource.

Returns

The targets of this EntityExecutionDetails.

Return type

list[oci.fleet_apps_management.models.ActivityResourceTarget]

property time_ended

Gets the time_ended of this EntityExecutionDetails. The time the task ended for the resource. An RFC3339 formatted datetime string

Returns

The time_ended of this EntityExecutionDetails.

Return type

datetime

property time_started

Gets the time_started of this EntityExecutionDetails. The time the task started for the resource. An RFC3339 formatted datetime string

Returns

The time_started of this EntityExecutionDetails.

Return type

datetime