PatchHistoryEntrySummary

class oci.database.models.PatchHistoryEntrySummary(**kwargs)

Bases: object

The record of a patch action on a specified target.

ACTION_APPLY = 'APPLY'

A constant which can be used with the action property of a PatchHistoryEntrySummary. This constant has a value of "APPLY"

ACTION_PRECHECK = 'PRECHECK'

A constant which can be used with the action property of a PatchHistoryEntrySummary. This constant has a value of "PRECHECK"

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a PatchHistoryEntrySummary. This constant has a value of "FAILED"

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a PatchHistoryEntrySummary. This constant has a value of "IN_PROGRESS"

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a PatchHistoryEntrySummary. This constant has a value of "SUCCEEDED"

__init__(**kwargs)

Initializes a new PatchHistoryEntrySummary 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 PatchHistoryEntrySummary.
  • patch_id (str) -- The value to assign to the patch_id property of this PatchHistoryEntrySummary.
  • action (str) -- The value to assign to the action property of this PatchHistoryEntrySummary. Allowed values for this property are: "APPLY", "PRECHECK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this PatchHistoryEntrySummary. Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • lifecycle_details (str) -- The value to assign to the lifecycle_details property of this PatchHistoryEntrySummary.
  • time_started (datetime) -- The value to assign to the time_started property of this PatchHistoryEntrySummary.
  • time_ended (datetime) -- The value to assign to the time_ended property of this PatchHistoryEntrySummary.
action

Gets the action of this PatchHistoryEntrySummary. The action being performed or was completed.

Allowed values for this property are: "APPLY", "PRECHECK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The action of this PatchHistoryEntrySummary.
Return type:str
id

[Required] Gets the id of this PatchHistoryEntrySummary. The OCID of the patch history entry.

Returns:The id of this PatchHistoryEntrySummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this PatchHistoryEntrySummary. A descriptive text associated with the lifecycleState. Typically contains additional displayable text.

Returns:The lifecycle_details of this PatchHistoryEntrySummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this PatchHistoryEntrySummary. The current state of the action.

Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The lifecycle_state of this PatchHistoryEntrySummary.
Return type:str
patch_id

[Required] Gets the patch_id of this PatchHistoryEntrySummary. The OCID of the patch.

Returns:The patch_id of this PatchHistoryEntrySummary.
Return type:str
time_ended

Gets the time_ended of this PatchHistoryEntrySummary. The date and time when the patch action completed.

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

[Required] Gets the time_started of this PatchHistoryEntrySummary. The date and time when the patch action started.

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