This data source provides details about a specific Db Systems Upgrade History Entry resource in Oracle Cloud Infrastructure Database service.
Gets the details of the specified operating system upgrade operation for the specified DB system.
data "oci_database_db_systems_upgrade_history_entry" "test_db_systems_upgrade_history_entry" {
#Required
db_system_id = oci_database_db_system.test_db_system.id
upgrade_history_entry_id = oci_database_upgrade_history_entry.test_upgrade_history_entry.id
}
The following arguments are supported:
db_system_id
- (Required) The DB system OCID.upgrade_history_entry_id
- (Required) The database/db system upgrade History OCID.The following attributes are exported:
action
- The operating system upgrade action.id
- The OCID of the upgrade history entry.lifecycle_details
- A descriptive text associated with the lifecycleState. Typically contains additional displayable text. new_gi_version
- A valid Oracle Grid Infrastructure (GI) software version.new_os_version
- A valid Oracle Software (OS) version eg. Oracle Linux Server release 8old_gi_version
- A valid Oracle Grid Infrastructure (GI) software version.old_os_version
- A valid Oracle Software (OS) version eg. Oracle Linux Server release 8snapshot_retention_period_in_days
- 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.state
- The current state of the action.time_ended
- The date and time when the upgrade action completedtime_started
- The date and time when the upgrade action started.