VersionSchemeFromVersionSeriesDetails¶
-
class
oci.database.models.VersionSchemeFromVersionSeriesDetails(**kwargs)¶ Bases:
oci.database.models.version_scheme_details.VersionSchemeDetailsThe update should be applied on the database for the selected version series and preference.
Attributes
SOURCE_VERSION_SERIESstr(object=’’) -> str VERSION_PREFERENCE_ORACLE_DB_NA constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails. VERSION_PREFERENCE_ORACLE_DB_N_1A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails. VERSION_PREFERENCE_ORACLE_DB_N_2A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails. VERSION_PREFERENCE_ORACLE_DB_N_3A constant which can be used with the version_preference property of a 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. 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'¶
-
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
sourceattribute of this class isVERSION_SERIESand 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’.
-
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.
-
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
-
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
-
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
-