DbSystemOsPatchHistoryEntrySummary¶
- class oci.database.models.DbSystemOsPatchHistoryEntrySummary(**kwargs)¶
Bases:
objectThe summary of an OS patch action history on a DB system.
Attributes:
A constant which can be used with the action property of a DbSystemOsPatchHistoryEntrySummary.
A constant which can be used with the action property of a DbSystemOsPatchHistoryEntrySummary.
A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntrySummary.
A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntrySummary.
A constant which can be used with the lifecycle_state property of a DbSystemOsPatchHistoryEntrySummary.
[Required] Gets the action of this DbSystemOsPatchHistoryEntrySummary.
[Required] Gets the db_system_id of this DbSystemOsPatchHistoryEntrySummary.
[Required] Gets the id of this DbSystemOsPatchHistoryEntrySummary.
Gets the lifecycle_details of this DbSystemOsPatchHistoryEntrySummary.
[Required] Gets the lifecycle_state of this DbSystemOsPatchHistoryEntrySummary.
[Required] Gets the os_patch_details of this DbSystemOsPatchHistoryEntrySummary.
Gets the time_ended of this DbSystemOsPatchHistoryEntrySummary.
[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.
- property 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
- property 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
- property 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
- property 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
- property 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
- property os_patch_details¶
[Required] Gets the os_patch_details of this DbSystemOsPatchHistoryEntrySummary.
- Returns
The os_patch_details of this DbSystemOsPatchHistoryEntrySummary.
- Return type
- property 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
- property 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