Data Source: oci_database_database_upgrade_history_entry
This data source provides details about a specific Database Upgrade History Entry resource in Oracle Cloud Infrastructure Database service.
gets the upgrade history for a specified database.
Example Usage
data "oci_database_database_upgrade_history_entry" "test_database_upgrade_history_entry" {
#Required
database_id = oci_database_database.test_database.id
upgrade_history_entry_id = oci_database_upgrade_history_entry.test_upgrade_history_entry.id
}
Argument Reference
The following arguments are supported:
database_id
- (Required) The database OCID.upgrade_history_entry_id
- (Required) The database/db system upgrade History OCID.
Attributes Reference
The following attributes are exported:
action
- The database upgrade action.id
- The OCID of the database upgrade history.lifecycle_details
- Additional information about the current lifecycle state.options
- Additional upgrade options supported by DBUA(Database Upgrade Assistant). Example: “-upgradeTimezone false -keepEvents”source
- The source of the Oracle Database software to be used for the upgrade.- Use
DB_VERSION
to specify a generally-available Oracle Database software version to upgrade the database. - Use
DB_SOFTWARE_IMAGE
to specify a database software image to upgrade the database.
- Use
source_db_home_id
- The OCID of the Database Home.state
- Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.target_db_version
- A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
target_database_software_image_id
- the database software image used for upgrading database.target_db_home_id
- The OCID of the Database Home.time_ended
- The date and time when the database upgrade ended.time_started
- The date and time when the database upgrade started.