DatabaseUpgradeHistoryEntrySummary

class oci.database.models.DatabaseUpgradeHistoryEntrySummary(**kwargs)

Bases: object

The Database service supports the upgrade history of databases.

To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.

For information about access control and compartments, see Overview of the Identity Service.

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 DatabaseUpgradeHistoryEntrySummary.
ACTION_ROLLBACK A constant which can be used with the action property of a DatabaseUpgradeHistoryEntrySummary.
ACTION_UPGRADE A constant which can be used with the action property of a DatabaseUpgradeHistoryEntrySummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntrySummary.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntrySummary.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntrySummary.
SOURCE_DB_HOME A constant which can be used with the source property of a DatabaseUpgradeHistoryEntrySummary.
SOURCE_DB_SOFTWARE_IMAGE A constant which can be used with the source property of a DatabaseUpgradeHistoryEntrySummary.
SOURCE_DB_VERSION A constant which can be used with the source property of a DatabaseUpgradeHistoryEntrySummary.
action [Required] Gets the action of this DatabaseUpgradeHistoryEntrySummary.
id [Required] Gets the id of this DatabaseUpgradeHistoryEntrySummary.
lifecycle_details Gets the lifecycle_details of this DatabaseUpgradeHistoryEntrySummary.
lifecycle_state [Required] Gets the lifecycle_state of this DatabaseUpgradeHistoryEntrySummary.
options Gets the options of this DatabaseUpgradeHistoryEntrySummary.
source Gets the source of this DatabaseUpgradeHistoryEntrySummary.
source_db_home_id Gets the source_db_home_id of this DatabaseUpgradeHistoryEntrySummary.
target_database_software_image_id Gets the target_database_software_image_id of this DatabaseUpgradeHistoryEntrySummary.
target_db_home_id Gets the target_db_home_id of this DatabaseUpgradeHistoryEntrySummary.
target_db_version Gets the target_db_version of this DatabaseUpgradeHistoryEntrySummary.
time_ended Gets the time_ended of this DatabaseUpgradeHistoryEntrySummary.
time_started [Required] Gets the time_started of this DatabaseUpgradeHistoryEntrySummary.

Methods

__init__(**kwargs) Initializes a new DatabaseUpgradeHistoryEntrySummary object with values from keyword arguments.
ACTION_PRECHECK = 'PRECHECK'

A constant which can be used with the action property of a DatabaseUpgradeHistoryEntrySummary. This constant has a value of “PRECHECK”

ACTION_ROLLBACK = 'ROLLBACK'

A constant which can be used with the action property of a DatabaseUpgradeHistoryEntrySummary. This constant has a value of “ROLLBACK”

ACTION_UPGRADE = 'UPGRADE'

A constant which can be used with the action property of a DatabaseUpgradeHistoryEntrySummary. This constant has a value of “UPGRADE”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntrySummary. 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 DatabaseUpgradeHistoryEntrySummary. 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 DatabaseUpgradeHistoryEntrySummary. This constant has a value of “SUCCEEDED”

SOURCE_DB_HOME = 'DB_HOME'

A constant which can be used with the source property of a DatabaseUpgradeHistoryEntrySummary. This constant has a value of “DB_HOME”

SOURCE_DB_SOFTWARE_IMAGE = 'DB_SOFTWARE_IMAGE'

A constant which can be used with the source property of a DatabaseUpgradeHistoryEntrySummary. This constant has a value of “DB_SOFTWARE_IMAGE”

SOURCE_DB_VERSION = 'DB_VERSION'

A constant which can be used with the source property of a DatabaseUpgradeHistoryEntrySummary. This constant has a value of “DB_VERSION”

__init__(**kwargs)

Initializes a new DatabaseUpgradeHistoryEntrySummary 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 DatabaseUpgradeHistoryEntrySummary.
  • action (str) – The value to assign to the action property of this DatabaseUpgradeHistoryEntrySummary. Allowed values for this property are: “PRECHECK”, “UPGRADE”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • source (str) – The value to assign to the source property of this DatabaseUpgradeHistoryEntrySummary. Allowed values for this property are: “DB_HOME”, “DB_VERSION”, “DB_SOFTWARE_IMAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DatabaseUpgradeHistoryEntrySummary. Allowed values for this property are: “SUCCEEDED”, “FAILED”, “IN_PROGRESS”, ‘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 DatabaseUpgradeHistoryEntrySummary.
  • target_db_version (str) – The value to assign to the target_db_version property of this DatabaseUpgradeHistoryEntrySummary.
  • target_database_software_image_id (str) – The value to assign to the target_database_software_image_id property of this DatabaseUpgradeHistoryEntrySummary.
  • target_db_home_id (str) – The value to assign to the target_db_home_id property of this DatabaseUpgradeHistoryEntrySummary.
  • source_db_home_id (str) – The value to assign to the source_db_home_id property of this DatabaseUpgradeHistoryEntrySummary.
  • time_started (datetime) – The value to assign to the time_started property of this DatabaseUpgradeHistoryEntrySummary.
  • time_ended (datetime) – The value to assign to the time_ended property of this DatabaseUpgradeHistoryEntrySummary.
  • options (str) – The value to assign to the options property of this DatabaseUpgradeHistoryEntrySummary.
action

[Required] Gets the action of this DatabaseUpgradeHistoryEntrySummary. The database upgrade action.

Allowed values for this property are: “PRECHECK”, “UPGRADE”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The action of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
id

[Required] Gets the id of this DatabaseUpgradeHistoryEntrySummary. The OCID of the database upgrade history.

Returns:The id of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this DatabaseUpgradeHistoryEntrySummary. Additional information about the current lifecycle state.

Returns:The lifecycle_details of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this DatabaseUpgradeHistoryEntrySummary. Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.

Allowed values for this property are: “SUCCEEDED”, “FAILED”, “IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
options

Gets the options of this DatabaseUpgradeHistoryEntrySummary. Additional upgrade options supported by DBUA(Database Upgrade Assistant). Example: “-upgradeTimezone false -keepEvents”

Returns:The options of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
source

Gets the source of this DatabaseUpgradeHistoryEntrySummary. The source of the Oracle Database software to be used for the upgrade.

  • Use DB_HOME to specify an existing Database Home to upgrade the database. The database is moved to the target Database Home and makes use of the Oracle Database software version of the target Database Home.
  • 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.

Allowed values for this property are: “DB_HOME”, “DB_VERSION”, “DB_SOFTWARE_IMAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
source_db_home_id

Gets the source_db_home_id of this DatabaseUpgradeHistoryEntrySummary. The OCID of the Database Home.

Returns:The source_db_home_id of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
target_database_software_image_id

Gets the target_database_software_image_id of this DatabaseUpgradeHistoryEntrySummary. the database software image used for upgrading database.

Returns:The target_database_software_image_id of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
target_db_home_id

Gets the target_db_home_id of this DatabaseUpgradeHistoryEntrySummary. The OCID of the Database Home.

Returns:The target_db_home_id of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
target_db_version

Gets the target_db_version of this DatabaseUpgradeHistoryEntrySummary. 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.

Returns:The target_db_version of this DatabaseUpgradeHistoryEntrySummary.
Return type:str
time_ended

Gets the time_ended of this DatabaseUpgradeHistoryEntrySummary. The date and time when the database upgrade ended.

Returns:The time_ended of this DatabaseUpgradeHistoryEntrySummary.
Return type:datetime
time_started

[Required] Gets the time_started of this DatabaseUpgradeHistoryEntrySummary. The date and time when the database upgrade started.

Returns:The time_started of this DatabaseUpgradeHistoryEntrySummary.
Return type:datetime