DbSystemUpgradeHistoryEntrySummary¶
-
class
oci.database.models.
DbSystemUpgradeHistoryEntrySummary
(**kwargs)¶ Bases:
object
The summary for the record of an OS upgrade action on a DB system.
Attributes
ACTION_PRECHECK
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. ACTION_ROLLBACK
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. ACTION_UPDATE_SNAPSHOT_RETENTION_DAYS
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. ACTION_UPGRADE
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntrySummary. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntrySummary. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntrySummary. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntrySummary. action
[Required] Gets the action of this DbSystemUpgradeHistoryEntrySummary. id
[Required] Gets the id of this DbSystemUpgradeHistoryEntrySummary. lifecycle_details
Gets the lifecycle_details of this DbSystemUpgradeHistoryEntrySummary. lifecycle_state
[Required] Gets the lifecycle_state of this DbSystemUpgradeHistoryEntrySummary. new_gi_version
Gets the new_gi_version of this DbSystemUpgradeHistoryEntrySummary. new_os_version
Gets the new_os_version of this DbSystemUpgradeHistoryEntrySummary. old_gi_version
Gets the old_gi_version of this DbSystemUpgradeHistoryEntrySummary. old_os_version
Gets the old_os_version of this DbSystemUpgradeHistoryEntrySummary. snapshot_retention_period_in_days
[Required] Gets the snapshot_retention_period_in_days of this DbSystemUpgradeHistoryEntrySummary. time_ended
Gets the time_ended of this DbSystemUpgradeHistoryEntrySummary. time_started
[Required] Gets the time_started of this DbSystemUpgradeHistoryEntrySummary. Methods
__init__
(**kwargs)Initializes a new DbSystemUpgradeHistoryEntrySummary object with values from keyword arguments. -
ACTION_PRECHECK
= 'PRECHECK'¶ A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. This constant has a value of “PRECHECK”
-
ACTION_ROLLBACK
= 'ROLLBACK'¶ A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. This constant has a value of “ROLLBACK”
-
ACTION_UPDATE_SNAPSHOT_RETENTION_DAYS
= 'UPDATE_SNAPSHOT_RETENTION_DAYS'¶ A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. This constant has a value of “UPDATE_SNAPSHOT_RETENTION_DAYS”
-
ACTION_UPGRADE
= 'UPGRADE'¶ A constant which can be used with the action property of a DbSystemUpgradeHistoryEntrySummary. This constant has a value of “UPGRADE”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntrySummary. 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 DbSystemUpgradeHistoryEntrySummary. This constant has a value of “IN_PROGRESS”
-
LIFECYCLE_STATE_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntrySummary. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntrySummary. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new DbSystemUpgradeHistoryEntrySummary 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 DbSystemUpgradeHistoryEntrySummary.
- action (str) – The value to assign to the action property of this DbSystemUpgradeHistoryEntrySummary. Allowed values for this property are: “PRECHECK”, “ROLLBACK”, “UPDATE_SNAPSHOT_RETENTION_DAYS”, “UPGRADE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- new_gi_version (str) – The value to assign to the new_gi_version property of this DbSystemUpgradeHistoryEntrySummary.
- old_gi_version (str) – The value to assign to the old_gi_version property of this DbSystemUpgradeHistoryEntrySummary.
- old_os_version (str) – The value to assign to the old_os_version property of this DbSystemUpgradeHistoryEntrySummary.
- new_os_version (str) – The value to assign to the new_os_version property of this DbSystemUpgradeHistoryEntrySummary.
- snapshot_retention_period_in_days (int) – The value to assign to the snapshot_retention_period_in_days property of this DbSystemUpgradeHistoryEntrySummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbSystemUpgradeHistoryEntrySummary. Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “NEEDS_ATTENTION”, ‘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 DbSystemUpgradeHistoryEntrySummary.
- time_started (datetime) – The value to assign to the time_started property of this DbSystemUpgradeHistoryEntrySummary.
- time_ended (datetime) – The value to assign to the time_ended property of this DbSystemUpgradeHistoryEntrySummary.
-
action
¶ [Required] Gets the action of this DbSystemUpgradeHistoryEntrySummary. The operating system upgrade action.
Allowed values for this property are: “PRECHECK”, “ROLLBACK”, “UPDATE_SNAPSHOT_RETENTION_DAYS”, “UPGRADE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
id
¶ [Required] Gets the id of this DbSystemUpgradeHistoryEntrySummary. The OCID of the upgrade history entry.
Returns: The id of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this DbSystemUpgradeHistoryEntrySummary. A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
Returns: The lifecycle_details of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this DbSystemUpgradeHistoryEntrySummary. The current state of the action.
Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
new_gi_version
¶ Gets the new_gi_version of this DbSystemUpgradeHistoryEntrySummary. A valid Oracle Grid Infrastructure (GI) software version.
Returns: The new_gi_version of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
new_os_version
¶ Gets the new_os_version of this DbSystemUpgradeHistoryEntrySummary. A valid Oracle Software (OS) version eg. Oracle Linux Server release 8
Returns: The new_os_version of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
old_gi_version
¶ Gets the old_gi_version of this DbSystemUpgradeHistoryEntrySummary. A valid Oracle Grid Infrastructure (GI) software version.
Returns: The old_gi_version of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
old_os_version
¶ Gets the old_os_version of this DbSystemUpgradeHistoryEntrySummary. A valid Oracle Software (OS) version eg. Oracle Linux Server release 8
Returns: The old_os_version of this DbSystemUpgradeHistoryEntrySummary. Return type: str
-
snapshot_retention_period_in_days
¶ [Required] Gets the snapshot_retention_period_in_days of this DbSystemUpgradeHistoryEntrySummary. The retention period, in days, for the snapshot that allows you to perform a rollback of the upgrade operation. After this number of days passes, you cannot roll back the upgrade.
Returns: The snapshot_retention_period_in_days of this DbSystemUpgradeHistoryEntrySummary. Return type: int
-
time_ended
¶ Gets the time_ended of this DbSystemUpgradeHistoryEntrySummary. The date and time when the upgrade action completed
Returns: The time_ended of this DbSystemUpgradeHistoryEntrySummary. Return type: datetime
-
time_started
¶ [Required] Gets the time_started of this DbSystemUpgradeHistoryEntrySummary. The date and time when the upgrade action started.
Returns: The time_started of this DbSystemUpgradeHistoryEntrySummary. Return type: datetime
-