DbSystemOsPatchHistoryEntry

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

Bases: object

The record of an OS patch action on a DB system.

Attributes:

ACTION_APPLY

A constant which can be used with the action property of a DbSystemOsPatchHistoryEntry.

ACTION_PRECHECK

A constant which can be used with the action property of a DbSystemOsPatchHistoryEntry.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntry.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntry.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntry.

action

[Required] Gets the action of this DbSystemOsPatchHistoryEntry.

db_system_id

[Required] Gets the db_system_id of this DbSystemOsPatchHistoryEntry.

id

[Required] Gets the id of this DbSystemOsPatchHistoryEntry.

lifecycle_details

Gets the lifecycle_details of this DbSystemOsPatchHistoryEntry.

lifecycle_state

[Required] Gets the lifecycle_state of this DbSystemOsPatchHistoryEntry.

os_patch_details

[Required] Gets the os_patch_details of this DbSystemOsPatchHistoryEntry.

time_ended

Gets the time_ended of this DbSystemOsPatchHistoryEntry.

time_started

[Required] Gets the time_started of this DbSystemOsPatchHistoryEntry.

Methods:

__init__(**kwargs)

Initializes a new DbSystemOsPatchHistoryEntry object with values from keyword arguments.

ACTION_APPLY = 'APPLY'

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

ACTION_PRECHECK = 'PRECHECK'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

__init__(**kwargs)

Initializes a new DbSystemOsPatchHistoryEntry 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 DbSystemOsPatchHistoryEntry. 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 DbSystemOsPatchHistoryEntry.

  • id (str) – The value to assign to the id property of this DbSystemOsPatchHistoryEntry.

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

  • os_patch_details (oci.database.models.DbSystemOsPatchDetailsCollection) – The value to assign to the os_patch_details property of this DbSystemOsPatchHistoryEntry.

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

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

property action

[Required] Gets the action of this DbSystemOsPatchHistoryEntry. 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 DbSystemOsPatchHistoryEntry.

Return type

str

property db_system_id

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

Returns

The db_system_id of this DbSystemOsPatchHistoryEntry.

Return type

str

property id

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

Returns

The id of this DbSystemOsPatchHistoryEntry.

Return type

str

property lifecycle_details

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

Returns

The lifecycle_details of this DbSystemOsPatchHistoryEntry.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this DbSystemOsPatchHistoryEntry. 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 DbSystemOsPatchHistoryEntry.

Return type

str

property os_patch_details

[Required] Gets the os_patch_details of this DbSystemOsPatchHistoryEntry.

Returns

The os_patch_details of this DbSystemOsPatchHistoryEntry.

Return type

oci.database.models.DbSystemOsPatchDetailsCollection

property time_ended

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

Returns

The time_ended of this DbSystemOsPatchHistoryEntry.

Return type

datetime

property time_started

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

Returns

The time_started of this DbSystemOsPatchHistoryEntry.

Return type

datetime