UpgradeDatabaseDetails

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

Bases: object

Details for upgrading a database to a specific Oracle Database version.

Attributes:

ACTION_PRECHECK

A constant which can be used with the action property of a UpgradeDatabaseDetails.

ACTION_ROLLBACK

A constant which can be used with the action property of a UpgradeDatabaseDetails.

ACTION_UPGRADE

A constant which can be used with the action property of a UpgradeDatabaseDetails.

action

[Required] Gets the action of this UpgradeDatabaseDetails.

database_upgrade_source_details

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

oci.database.models.DatabaseUpgradeSourceBase