VersionSchemeFromVersionSeriesDetails

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

Bases: VersionSchemeDetails

The update should be applied on the database for the selected version series and preference.

Attributes:

SOURCE_VERSION_SERIES

A constant which can be used with the source property of a VersionSchemeDetails.

VERSION_PREFERENCE_ORACLE_DB_N

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.

VERSION_PREFERENCE_ORACLE_DB_N_1

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.

VERSION_PREFERENCE_ORACLE_DB_N_2

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.

VERSION_PREFERENCE_ORACLE_DB_N_3

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.

is_older_version_acknowledged

Gets the is_older_version_acknowledged of this VersionSchemeFromVersionSeriesDetails.

major_version

[Required] Gets the major_version of this VersionSchemeFromVersionSeriesDetails.

source

[Required] Gets the source of this VersionSchemeDetails.

version_preference

[Required] Gets the version_preference of this VersionSchemeFromVersionSeriesDetails. The update should be applied on the database for the selected version preference. *_N represents the LATEST version.

Methods:

__init__(**kwargs)

Initializes a new VersionSchemeFromVersionSeriesDetails 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_VERSION_SERIES = 'VERSION_SERIES'

A constant which can be used with the source property of a VersionSchemeDetails. This constant has a value of “VERSION_SERIES”

VERSION_PREFERENCE_ORACLE_DB_N = 'ORACLE_DB_N'

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails. This constant has a value of “ORACLE_DB_N”

VERSION_PREFERENCE_ORACLE_DB_N_1 = 'ORACLE_DB_N_1'

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails. This constant has a value of “ORACLE_DB_N_1”

VERSION_PREFERENCE_ORACLE_DB_N_2 = 'ORACLE_DB_N_2'

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails. This constant has a value of “ORACLE_DB_N_2”

VERSION_PREFERENCE_ORACLE_DB_N_3 = 'ORACLE_DB_N_3'

A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails. This constant has a value of “ORACLE_DB_N_3”

__init__(**kwargs)

Initializes a new VersionSchemeFromVersionSeriesDetails object with values from keyword arguments. The default value of the source attribute of this class is VERSION_SERIES 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 VersionSchemeFromVersionSeriesDetails. Allowed values for this property are: “VERSION_SERIES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • major_version (str) – The value to assign to the major_version property of this VersionSchemeFromVersionSeriesDetails.

  • version_preference (str) – The value to assign to the version_preference property of this VersionSchemeFromVersionSeriesDetails. Allowed values for this property are: “ORACLE_DB_N”, “ORACLE_DB_N_1”, “ORACLE_DB_N_2”, “ORACLE_DB_N_3”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • is_older_version_acknowledged (bool) – The value to assign to the is_older_version_acknowledged property of this VersionSchemeFromVersionSeriesDetails.

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 VersionSchemeFromVersionSeriesDetails. 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 VersionSchemeFromVersionSeriesDetails.

Return type

bool

property major_version

[Required] Gets the major_version of this VersionSchemeFromVersionSeriesDetails. The update should be applied on the database for the selected major version series. The value can be provided as 23.X.X.X then 23 major version series will be considered.

The list of supported versions can be obtained using the API for the provided shape /20160918/dbVersions?compartmentId=<compartmentId>&dbSystemShape=ExaDbXS

Returns

The major_version of this VersionSchemeFromVersionSeriesDetails.

Return type

str

property source

[Required] Gets the source of this VersionSchemeDetails. The update should be applied on the database for the selected version scheme.

Allowed values for this property are: “VERSION_SERIES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The source of this VersionSchemeDetails.

Return type

str

property version_preference

[Required] Gets the version_preference of this VersionSchemeFromVersionSeriesDetails. The update should be applied on the database for the selected version preference. *_N represents the LATEST version

For Ex: The current latest version is 23.7.0.0.0, If versionPreference selects option as ORACLE_DB_N then oracle applies the db update with LATEST version (i.e. 23.7.0.0.0) If versionPreference selects option as ORACLE_DB_N_1 then oracle applies the db update with LATEST-1 version (i.e. 23.6.0.0.0) If versionPreference selects option as ORACLE_DB_N_2 then oracle applies the db update with LATEST-2 version (i.e. 23.5.0.0.0)

Allowed values for this property are: “ORACLE_DB_N”, “ORACLE_DB_N_1”, “ORACLE_DB_N_2”, “ORACLE_DB_N_3”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The version_preference of this VersionSchemeFromVersionSeriesDetails.

Return type

str