ResourceSummary

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

Bases: object

Execution Resource Summary

Attributes

STATUS_ABORTED A constant which can be used with the status property of a ResourceSummary.
STATUS_ACCEPTED A constant which can be used with the status property of a ResourceSummary.
STATUS_CANCELED A constant which can be used with the status property of a ResourceSummary.
STATUS_FAILED A constant which can be used with the status property of a ResourceSummary.
STATUS_IGNORED A constant which can be used with the status property of a ResourceSummary.
STATUS_IN_PROGRESS A constant which can be used with the status property of a ResourceSummary.
STATUS_NOT_APPLICABLE A constant which can be used with the status property of a ResourceSummary.
STATUS_PAUSED A constant which can be used with the status property of a ResourceSummary.
STATUS_SKIPPED A constant which can be used with the status property of a ResourceSummary.
STATUS_SUCCEEDED A constant which can be used with the status property of a ResourceSummary.
STATUS_TIMED_OUT A constant which can be used with the status property of a ResourceSummary.
STATUS_WAITING A constant which can be used with the status property of a ResourceSummary.
description Gets the description of this ResourceSummary.
resource_display_name Gets the resource_display_name of this ResourceSummary.
resource_id [Required] Gets the resource_id of this ResourceSummary.
sequence Gets the sequence of this ResourceSummary.
status [Required] Gets the status of this ResourceSummary.
targets Gets the targets of this ResourceSummary.
time_ended Gets the time_ended of this ResourceSummary.
time_started Gets the time_started of this ResourceSummary.

Methods

__init__(**kwargs) Initializes a new ResourceSummary object with values from keyword arguments.
STATUS_ABORTED = 'ABORTED'

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

STATUS_ACCEPTED = 'ACCEPTED'

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

STATUS_CANCELED = 'CANCELED'

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

STATUS_FAILED = 'FAILED'

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

STATUS_IGNORED = 'IGNORED'

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

STATUS_IN_PROGRESS = 'IN_PROGRESS'

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

STATUS_PAUSED = 'PAUSED'

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

STATUS_SKIPPED = 'SKIPPED'

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

STATUS_SUCCEEDED = 'SUCCEEDED'

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

STATUS_TIMED_OUT = 'TIMED_OUT'

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

STATUS_WAITING = 'WAITING'

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

__init__(**kwargs)

Initializes a new ResourceSummary 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 ResourceSummary.
  • resource_display_name (str) – The value to assign to the resource_display_name property of this ResourceSummary.
  • description (str) – The value to assign to the description property of this ResourceSummary.
  • sequence (str) – The value to assign to the sequence property of this ResourceSummary.
  • targets (list[oci.fleet_apps_management.models.ActivityResourceTarget]) – The value to assign to the targets property of this ResourceSummary.
  • status (str) – The value to assign to the status property of this ResourceSummary. 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 ResourceSummary.
  • time_ended (datetime) – The value to assign to the time_ended property of this ResourceSummary.
description

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

Returns:The description of this ResourceSummary.
Return type:str
resource_display_name

Gets the resource_display_name of this ResourceSummary. Resource Display Name.

Returns:The resource_display_name of this ResourceSummary.
Return type:str
resource_id

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

Returns:The resource_id of this ResourceSummary.
Return type:str
sequence

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

Returns:The sequence of this ResourceSummary.
Return type:str
status

[Required] Gets the status of this ResourceSummary. 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 ResourceSummary.
Return type:str
targets

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

Returns:The targets of this ResourceSummary.
Return type:list[oci.fleet_apps_management.models.ActivityResourceTarget]
time_ended

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

Returns:The time_ended of this ResourceSummary.
Return type:datetime
time_started

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

Returns:The time_started of this ResourceSummary.
Return type:datetime