DatabaseUpgradeWithDbVersionDetails¶
- class oci.database.models.DatabaseUpgradeWithDbVersionDetails(**kwargs)¶
Bases:
DatabaseUpgradeSourceBaseDetails of the Oracle Database software version number for upgrading a database.
Attributes:
A constant which can be used with the source property of a DatabaseUpgradeSourceBase.
A constant which can be used with the source property of a DatabaseUpgradeSourceBase.
A constant which can be used with the source property of a DatabaseUpgradeSourceBase.
[Required] Gets the db_version of this DatabaseUpgradeWithDbVersionDetails.
Gets the is_older_version_acknowledged of this DatabaseUpgradeSourceBase.
Gets the options of this DatabaseUpgradeSourceBase.
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.
Methods:
__init__(**kwargs)Initializes a new DatabaseUpgradeWithDbVersionDetails 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'¶
A constant which can be used with the source property of a DatabaseUpgradeSourceBase. 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 DatabaseUpgradeSourceBase. 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 DatabaseUpgradeSourceBase. This constant has a value of “DB_VERSION”
- __init__(**kwargs)¶
Initializes a new DatabaseUpgradeWithDbVersionDetails object with values from keyword arguments. The default value of the
sourceattribute of this class isDB_VERSIONand 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 DatabaseUpgradeWithDbVersionDetails. Allowed values for this property are: “DB_HOME”, “DB_VERSION”, “DB_SOFTWARE_IMAGE”
is_older_version_acknowledged (bool) – The value to assign to the is_older_version_acknowledged property of this DatabaseUpgradeWithDbVersionDetails.
options (str) – The value to assign to the options property of this DatabaseUpgradeWithDbVersionDetails.
db_version (str) – The value to assign to the db_version property of this DatabaseUpgradeWithDbVersionDetails.
- property db_version¶
[Required] Gets the db_version of this DatabaseUpgradeWithDbVersionDetails. 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 db_version of this DatabaseUpgradeWithDbVersionDetails.
- 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.
- property is_older_version_acknowledged¶
Gets the is_older_version_acknowledged of this DatabaseUpgradeSourceBase. If true, the caller acknowledges selecting or applying an older DB, Grid Infrastructure, or operating system software version that is outside the latest default version window.
- Returns
The is_older_version_acknowledged of this DatabaseUpgradeSourceBase.
- Return type
bool
- property 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
- property 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