DatabaseUpgradeHistoryEntry¶
-
class
oci.database.models.
DatabaseUpgradeHistoryEntry
(**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 DatabaseUpgradeHistoryEntry. ACTION_ROLLBACK
A constant which can be used with the action property of a DatabaseUpgradeHistoryEntry. ACTION_UPGRADE
A constant which can be used with the action property of a DatabaseUpgradeHistoryEntry. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntry. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntry. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntry. SOURCE_DB_HOME
A constant which can be used with the source property of a DatabaseUpgradeHistoryEntry. SOURCE_DB_SOFTWARE_IMAGE
A constant which can be used with the source property of a DatabaseUpgradeHistoryEntry. SOURCE_DB_VERSION
A constant which can be used with the source property of a DatabaseUpgradeHistoryEntry. action
[Required] Gets the action of this DatabaseUpgradeHistoryEntry. id
[Required] Gets the id of this DatabaseUpgradeHistoryEntry. lifecycle_details
Gets the lifecycle_details of this DatabaseUpgradeHistoryEntry. lifecycle_state
[Required] Gets the lifecycle_state of this DatabaseUpgradeHistoryEntry. options
Gets the options of this DatabaseUpgradeHistoryEntry. source
Gets the source of this DatabaseUpgradeHistoryEntry. source_db_home_id
Gets the source_db_home_id of this DatabaseUpgradeHistoryEntry. target_database_software_image_id
Gets the target_database_software_image_id of this DatabaseUpgradeHistoryEntry. target_db_home_id
Gets the target_db_home_id of this DatabaseUpgradeHistoryEntry. target_db_version
Gets the target_db_version of this DatabaseUpgradeHistoryEntry. time_ended
Gets the time_ended of this DatabaseUpgradeHistoryEntry. time_started
[Required] Gets the time_started of this DatabaseUpgradeHistoryEntry. Methods
__init__
(**kwargs)Initializes a new DatabaseUpgradeHistoryEntry object with values from keyword arguments. -
ACTION_PRECHECK
= 'PRECHECK'¶ A constant which can be used with the action property of a DatabaseUpgradeHistoryEntry. This constant has a value of “PRECHECK”
-
ACTION_ROLLBACK
= 'ROLLBACK'¶ A constant which can be used with the action property of a DatabaseUpgradeHistoryEntry. This constant has a value of “ROLLBACK”
-
ACTION_UPGRADE
= 'UPGRADE'¶ A constant which can be used with the action property of a DatabaseUpgradeHistoryEntry. This constant has a value of “UPGRADE”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. This constant has a value of “SUCCEEDED”
-
SOURCE_DB_HOME
= 'DB_HOME'¶ A constant which can be used with the source property of a DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. This constant has a value of “DB_VERSION”
-
__init__
(**kwargs)¶ Initializes a new DatabaseUpgradeHistoryEntry 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 DatabaseUpgradeHistoryEntry.
- action (str) – The value to assign to the action property of this DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry.
- target_db_version (str) – The value to assign to the target_db_version property of this DatabaseUpgradeHistoryEntry.
- target_database_software_image_id (str) – The value to assign to the target_database_software_image_id property of this DatabaseUpgradeHistoryEntry.
- target_db_home_id (str) – The value to assign to the target_db_home_id property of this DatabaseUpgradeHistoryEntry.
- source_db_home_id (str) – The value to assign to the source_db_home_id property of this DatabaseUpgradeHistoryEntry.
- time_started (datetime) – The value to assign to the time_started property of this DatabaseUpgradeHistoryEntry.
- time_ended (datetime) – The value to assign to the time_ended property of this DatabaseUpgradeHistoryEntry.
- options (str) – The value to assign to the options property of this DatabaseUpgradeHistoryEntry.
-
action
¶ [Required] Gets the action of this DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. Return type: str
-
id
¶ [Required] Gets the id of this DatabaseUpgradeHistoryEntry. The OCID of the database upgrade history.
Returns: The id of this DatabaseUpgradeHistoryEntry. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this DatabaseUpgradeHistoryEntry. Additional information about the current lifecycle state.
Returns: The lifecycle_details of this DatabaseUpgradeHistoryEntry. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. Return type: str
-
options
¶ Gets the options of this DatabaseUpgradeHistoryEntry. Additional upgrade options supported by DBUA(Database Upgrade Assistant). Example: “-upgradeTimezone false -keepEvents”
Returns: The options of this DatabaseUpgradeHistoryEntry. Return type: str
-
source
¶ Gets the source of this DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. Return type: str
-
source_db_home_id
¶ Gets the source_db_home_id of this DatabaseUpgradeHistoryEntry. The OCID of the Database Home.
Returns: The source_db_home_id of this DatabaseUpgradeHistoryEntry. Return type: str
-
target_database_software_image_id
¶ Gets the target_database_software_image_id of this DatabaseUpgradeHistoryEntry. the database software image used for upgrading database.
Returns: The target_database_software_image_id of this DatabaseUpgradeHistoryEntry. Return type: str
-
target_db_home_id
¶ Gets the target_db_home_id of this DatabaseUpgradeHistoryEntry. The OCID of the Database Home.
Returns: The target_db_home_id of this DatabaseUpgradeHistoryEntry. Return type: str
-
target_db_version
¶ Gets the target_db_version of this DatabaseUpgradeHistoryEntry. 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 DatabaseUpgradeHistoryEntry. Return type: str
-
time_ended
¶ Gets the time_ended of this DatabaseUpgradeHistoryEntry. The date and time when the database upgrade ended.
Returns: The time_ended of this DatabaseUpgradeHistoryEntry. Return type: datetime
-
time_started
¶ [Required] Gets the time_started of this DatabaseUpgradeHistoryEntry. The date and time when the database upgrade started.
Returns: The time_started of this DatabaseUpgradeHistoryEntry. Return type: datetime
-