UpgradeDbSystemDetails

class oci.psql.models.UpgradeDbSystemDetails(**kwargs)

Bases: object

Upgrade details for the database system.

Attributes:

OPTIONS_RUN_POST_UPGRADE_VACUUM

A constant which can be used with the options property of a UpgradeDbSystemDetails.

OPTIONS_RUN_POST_UPGRADE_VERIFICATION

A constant which can be used with the options property of a UpgradeDbSystemDetails.

config_id

Gets the config_id of this UpgradeDbSystemDetails.

db_version

[Required] Gets the db_version of this UpgradeDbSystemDetails.

options

Gets the options of this UpgradeDbSystemDetails.

Methods:

__init__(**kwargs)

Initializes a new UpgradeDbSystemDetails object with values from keyword arguments.

OPTIONS_RUN_POST_UPGRADE_VACUUM = 'RUN_POST_UPGRADE_VACUUM'

A constant which can be used with the options property of a UpgradeDbSystemDetails. This constant has a value of “RUN_POST_UPGRADE_VACUUM”

OPTIONS_RUN_POST_UPGRADE_VERIFICATION = 'RUN_POST_UPGRADE_VERIFICATION'

A constant which can be used with the options property of a UpgradeDbSystemDetails. This constant has a value of “RUN_POST_UPGRADE_VERIFICATION”

__init__(**kwargs)

Initializes a new UpgradeDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • db_version (str) – The value to assign to the db_version property of this UpgradeDbSystemDetails.

  • config_id (str) – The value to assign to the config_id property of this UpgradeDbSystemDetails.

  • options (list[str]) – The value to assign to the options property of this UpgradeDbSystemDetails. Allowed values for items in this list are: “RUN_POST_UPGRADE_VERIFICATION”, “RUN_POST_UPGRADE_VACUUM”

property config_id

Gets the config_id of this UpgradeDbSystemDetails. The OCID of the configuration for target database version to be associated with database system. Optional, if database system is currently running with default configuration object. Mandatory, if database system is currently running with custom configuration object.

Returns

The config_id of this UpgradeDbSystemDetails.

Return type

str

property db_version

[Required] Gets the db_version of this UpgradeDbSystemDetails. The target major version of the database system software. Example: “17”

Returns

The db_version of this UpgradeDbSystemDetails.

Return type

str

property options

Gets the options of this UpgradeDbSystemDetails. Optional post-upgrade operations to run. Verification and vacuum are skipped unless their corresponding options are included. If omitted or empty, both operations are skipped.

Allowed values for items in this list are: “RUN_POST_UPGRADE_VERIFICATION”, “RUN_POST_UPGRADE_VACUUM”

Returns

The options of this UpgradeDbSystemDetails.

Return type

list[str]