DbSystemOsPatchHistoryEntrySummary

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

Bases: object

The summary of an OS patch action history on a DB system.

Attributes

ACTION_APPLY A constant which can be used with the action property of a DbSystemOsPatchHistoryEntrySummary.
ACTION_PRECHECK A constant which can be used with the action property of a DbSystemOsPatchHistoryEntrySummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntrySummary.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntrySummary.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntrySummary.
action [Required] Gets the action of this DbSystemOsPatchHistoryEntrySummary.
db_system_id [Required] Gets the db_system_id of this DbSystemOsPatchHistoryEntrySummary.
id [Required] Gets the id of this DbSystemOsPatchHistoryEntrySummary.
lifecycle_details Gets the lifecycle_details of this DbSystemOsPatchHistoryEntrySummary.
lifecycle_state [Required] Gets the lifecycle_state of this DbSystemOsPatchHistoryEntrySummary.
os_patch_details [Required] Gets the os_patch_details of this DbSystemOsPatchHistoryEntrySummary.
time_ended Gets the time_ended of this DbSystemOsPatchHistoryEntrySummary.
time_started [Required] Gets the time_started of this DbSystemOsPatchHistoryEntrySummary.

Methods

__init__(**kwargs) Initializes a new DbSystemOsPatchHistoryEntrySummary object with values from keyword arguments.
ACTION_APPLY = 'APPLY'

A constant which can be used with the action property of a DbSystemOsPatchHistoryEntrySummary. This constant has a value of “APPLY”

ACTION_PRECHECK = 'PRECHECK'

A constant which can be used with the action property of a DbSystemOsPatchHistoryEntrySummary. This constant has a value of “PRECHECK”

LIFECYCLE_STATE_FAILED = 'FAILED'

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

__init__(**kwargs)

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

Parameters:
  • action (str) – The value to assign to the action property of this DbSystemOsPatchHistoryEntrySummary. Allowed values for this property are: “PRECHECK”, “APPLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • db_system_id (str) – The value to assign to the db_system_id property of this DbSystemOsPatchHistoryEntrySummary.
  • id (str) – The value to assign to the id property of this DbSystemOsPatchHistoryEntrySummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbSystemOsPatchHistoryEntrySummary. 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 DbSystemOsPatchHistoryEntrySummary.
  • os_patch_details (oci.database.models.DbSystemOsPatchDetailsCollection) – The value to assign to the os_patch_details property of this DbSystemOsPatchHistoryEntrySummary.
  • time_started (datetime) – The value to assign to the time_started property of this DbSystemOsPatchHistoryEntrySummary.
  • time_ended (datetime) – The value to assign to the time_ended property of this DbSystemOsPatchHistoryEntrySummary.
action

[Required] Gets the action of this DbSystemOsPatchHistoryEntrySummary. The action being performed or was completed.

Allowed values for this property are: “PRECHECK”, “APPLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The action of this DbSystemOsPatchHistoryEntrySummary.
Return type:str
db_system_id

[Required] Gets the db_system_id of this DbSystemOsPatchHistoryEntrySummary. The OCID of the DB system.

Returns:The db_system_id of this DbSystemOsPatchHistoryEntrySummary.
Return type:str
id

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

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

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

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

[Required] Gets the lifecycle_state of this DbSystemOsPatchHistoryEntrySummary. 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 DbSystemOsPatchHistoryEntrySummary.
Return type:str
os_patch_details

[Required] Gets the os_patch_details of this DbSystemOsPatchHistoryEntrySummary.

Returns:The os_patch_details of this DbSystemOsPatchHistoryEntrySummary.
Return type:oci.database.models.DbSystemOsPatchDetailsCollection
time_ended

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

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

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

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