UpgradeDatabaseDetails¶
- class oci.database.models.UpgradeDatabaseDetails(**kwargs)¶
Bases:
objectDetails for upgrading a database to a specific Oracle Database version.
Attributes:
A constant which can be used with the action property of a UpgradeDatabaseDetails.
A constant which can be used with the action property of a UpgradeDatabaseDetails.
A constant which can be used with the action property of a UpgradeDatabaseDetails.
[Required] Gets the action of this UpgradeDatabaseDetails.
Gets the database_upgrade_source_details of this UpgradeDatabaseDetails.
Methods:
__init__(**kwargs)Initializes a new UpgradeDatabaseDetails object with values from keyword arguments.
- ACTION_PRECHECK = 'PRECHECK'¶
A constant which can be used with the action property of a UpgradeDatabaseDetails. This constant has a value of “PRECHECK”
- ACTION_ROLLBACK = 'ROLLBACK'¶
A constant which can be used with the action property of a UpgradeDatabaseDetails. This constant has a value of “ROLLBACK”
- ACTION_UPGRADE = 'UPGRADE'¶
A constant which can be used with the action property of a UpgradeDatabaseDetails. This constant has a value of “UPGRADE”
- __init__(**kwargs)¶
Initializes a new UpgradeDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
action (str) – The value to assign to the action property of this UpgradeDatabaseDetails. Allowed values for this property are: “PRECHECK”, “UPGRADE”, “ROLLBACK”
database_upgrade_source_details (oci.database.models.DatabaseUpgradeSourceBase) – The value to assign to the database_upgrade_source_details property of this UpgradeDatabaseDetails.
- property action¶
[Required] Gets the action of this UpgradeDatabaseDetails. The database upgrade action.
Allowed values for this property are: “PRECHECK”, “UPGRADE”, “ROLLBACK”
- Returns
The action of this UpgradeDatabaseDetails.
- Return type
str
- property database_upgrade_source_details¶
Gets the database_upgrade_source_details of this UpgradeDatabaseDetails.
- Returns
The database_upgrade_source_details of this UpgradeDatabaseDetails.
- Return type