DbSystemUpgradeHistoryEntry¶
-
class
oci.database.models.
DbSystemUpgradeHistoryEntry
(**kwargs)¶ Bases:
object
The record of an OS upgrade action on a DB system.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes
ACTION_PRECHECK
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntry. ACTION_ROLLBACK
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntry. ACTION_UPDATE_SNAPSHOT_RETENTION_DAYS
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntry. ACTION_UPGRADE
A constant which can be used with the action property of a DbSystemUpgradeHistoryEntry. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntry. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntry. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntry. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntry. action
[Required] Gets the action of this DbSystemUpgradeHistoryEntry. id
[Required] Gets the id of this DbSystemUpgradeHistoryEntry. lifecycle_details
Gets the lifecycle_details of this DbSystemUpgradeHistoryEntry. lifecycle_state
[Required] Gets the lifecycle_state of this DbSystemUpgradeHistoryEntry. new_gi_version
Gets the new_gi_version of this DbSystemUpgradeHistoryEntry. new_os_version
Gets the new_os_version of this DbSystemUpgradeHistoryEntry. old_gi_version
Gets the old_gi_version of this DbSystemUpgradeHistoryEntry. old_os_version
Gets the old_os_version of this DbSystemUpgradeHistoryEntry. snapshot_retention_period_in_days
[Required] Gets the snapshot_retention_period_in_days of this DbSystemUpgradeHistoryEntry. time_ended
Gets the time_ended of this DbSystemUpgradeHistoryEntry. time_started
[Required] Gets the time_started of this DbSystemUpgradeHistoryEntry. Methods
__init__
(**kwargs)Initializes a new DbSystemUpgradeHistoryEntry object with values from keyword arguments. -
ACTION_PRECHECK
= 'PRECHECK'¶ A constant which can be used with the action property of a DbSystemUpgradeHistoryEntry. This constant has a value of “PRECHECK”
-
ACTION_ROLLBACK
= 'ROLLBACK'¶ A constant which can be used with the action property of a DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. This constant has a value of “UPGRADE”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new DbSystemUpgradeHistoryEntry 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 DbSystemUpgradeHistoryEntry.
- action (str) – The value to assign to the action property of this DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry.
- old_gi_version (str) – The value to assign to the old_gi_version property of this DbSystemUpgradeHistoryEntry.
- old_os_version (str) – The value to assign to the old_os_version property of this DbSystemUpgradeHistoryEntry.
- new_os_version (str) – The value to assign to the new_os_version property of this DbSystemUpgradeHistoryEntry.
- snapshot_retention_period_in_days (int) – The value to assign to the snapshot_retention_period_in_days property of this DbSystemUpgradeHistoryEntry.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry.
- time_started (datetime) – The value to assign to the time_started property of this DbSystemUpgradeHistoryEntry.
- time_ended (datetime) – The value to assign to the time_ended property of this DbSystemUpgradeHistoryEntry.
-
action
¶ [Required] Gets the action of this DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. Return type: str
-
id
¶ [Required] Gets the id of this DbSystemUpgradeHistoryEntry. The OCID of the upgrade history entry.
Returns: The id of this DbSystemUpgradeHistoryEntry. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this DbSystemUpgradeHistoryEntry. A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
Returns: The lifecycle_details of this DbSystemUpgradeHistoryEntry. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. Return type: str
-
new_gi_version
¶ Gets the new_gi_version of this DbSystemUpgradeHistoryEntry. A valid Oracle Grid Infrastructure (GI) software version.
Returns: The new_gi_version of this DbSystemUpgradeHistoryEntry. Return type: str
-
new_os_version
¶ Gets the new_os_version of this DbSystemUpgradeHistoryEntry. A valid Oracle Software (OS) version eg. Oracle Linux Server release 8
Returns: The new_os_version of this DbSystemUpgradeHistoryEntry. Return type: str
-
old_gi_version
¶ Gets the old_gi_version of this DbSystemUpgradeHistoryEntry. A valid Oracle Grid Infrastructure (GI) software version.
Returns: The old_gi_version of this DbSystemUpgradeHistoryEntry. Return type: str
-
old_os_version
¶ Gets the old_os_version of this DbSystemUpgradeHistoryEntry. A valid Oracle Software (OS) version eg. Oracle Linux Server release 8
Returns: The old_os_version of this DbSystemUpgradeHistoryEntry. Return type: str
-
snapshot_retention_period_in_days
¶ [Required] Gets the snapshot_retention_period_in_days of this DbSystemUpgradeHistoryEntry. 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 DbSystemUpgradeHistoryEntry. Return type: int
-
time_ended
¶ Gets the time_ended of this DbSystemUpgradeHistoryEntry. The date and time when the upgrade action completed
Returns: The time_ended of this DbSystemUpgradeHistoryEntry. Return type: datetime
-
time_started
¶ [Required] Gets the time_started of this DbSystemUpgradeHistoryEntry. The date and time when the upgrade action started.
Returns: The time_started of this DbSystemUpgradeHistoryEntry. Return type: datetime
-