DatabaseUpgradeWithDbHomeDetails

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

Bases: oci.database.models.database_upgrade_source_base.DatabaseUpgradeSourceBase

Details of Database Home to be used to upgrade a database.

Attributes

SOURCE_DB_HOME str(object=’’) -> str
SOURCE_DB_SOFTWARE_IMAGE str(object=’’) -> str
SOURCE_DB_VERSION str(object=’’) -> str
db_home_id [Required] Gets the db_home_id of this DatabaseUpgradeWithDbHomeDetails.
options Gets the options of this DatabaseUpgradeSourceBase.
source Gets the source of this DatabaseUpgradeSourceBase.

Methods

__init__(**kwargs) Initializes a new DatabaseUpgradeWithDbHomeDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
SOURCE_DB_HOME = 'DB_HOME'
SOURCE_DB_SOFTWARE_IMAGE = 'DB_SOFTWARE_IMAGE'
SOURCE_DB_VERSION = 'DB_VERSION'
__init__(**kwargs)

Initializes a new DatabaseUpgradeWithDbHomeDetails object with values from keyword arguments. The default value of the source attribute of this class is DB_HOME and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • source (str) – The value to assign to the source property of this DatabaseUpgradeWithDbHomeDetails. Allowed values for this property are: “DB_HOME”, “DB_VERSION”, “DB_SOFTWARE_IMAGE”
  • options (str) – The value to assign to the options property of this DatabaseUpgradeWithDbHomeDetails.
  • db_home_id (str) – The value to assign to the db_home_id property of this DatabaseUpgradeWithDbHomeDetails.
db_home_id

[Required] Gets the db_home_id of this DatabaseUpgradeWithDbHomeDetails. The OCID of the Database Home.

Returns:The db_home_id of this DatabaseUpgradeWithDbHomeDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

options

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

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

Gets the source of this DatabaseUpgradeSourceBase. 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”

Returns:The source of this DatabaseUpgradeSourceBase.
Return type:str