ManagedSoftwareUpdatePreferenceDetails¶
-
class
oci.database.models.ManagedSoftwareUpdatePreferenceDetails(**kwargs)¶ Bases:
objectOracle Managed Database Software Updates schedule will be created based on the provided update preferences
Attributes
UPDATE_MODE_NONROLLINGA constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails. UPDATE_MODE_ROLLINGA constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails. days_of_week[Required] Gets the days_of_week of this ManagedSoftwareUpdatePreferenceDetails. hour_of_day[Required] Gets the hour_of_day of this ManagedSoftwareUpdatePreferenceDetails. update_modeGets the update_mode of this ManagedSoftwareUpdatePreferenceDetails. version_scheme_details[Required] Gets the version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails. Methods
__init__(**kwargs)Initializes a new ManagedSoftwareUpdatePreferenceDetails object with values from keyword arguments. -
UPDATE_MODE_NONROLLING= 'NONROLLING'¶ A constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails. This constant has a value of “NONROLLING”
-
UPDATE_MODE_ROLLING= 'ROLLING'¶ A constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails. This constant has a value of “ROLLING”
-
__init__(**kwargs)¶ Initializes a new ManagedSoftwareUpdatePreferenceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - days_of_week (list[oci.database.models.ManagedSoftwareUpdateDayOfWeek]) – The value to assign to the days_of_week property of this ManagedSoftwareUpdatePreferenceDetails.
- hour_of_day (int) – The value to assign to the hour_of_day property of this ManagedSoftwareUpdatePreferenceDetails.
- update_mode (str) – The value to assign to the update_mode property of this ManagedSoftwareUpdatePreferenceDetails. Allowed values for this property are: “ROLLING”, “NONROLLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- version_scheme_details (oci.database.models.VersionSchemeDetails) – The value to assign to the version_scheme_details property of this ManagedSoftwareUpdatePreferenceDetails.
-
days_of_week¶ [Required] Gets the days_of_week of this ManagedSoftwareUpdatePreferenceDetails. The update should be applied on the database for the selected days of the week.
Returns: The days_of_week of this ManagedSoftwareUpdatePreferenceDetails. Return type: list[oci.database.models.ManagedSoftwareUpdateDayOfWeek]
-
hour_of_day¶ [Required] Gets the hour_of_day of this ManagedSoftwareUpdatePreferenceDetails. The update should be applied on the database for the selected hour of the day.
Returns: The hour_of_day of this ManagedSoftwareUpdatePreferenceDetails. Return type: int
-
update_mode¶ Gets the update_mode of this ManagedSoftwareUpdatePreferenceDetails. Oracle Managed Database Software update method, either “ROLLING” or “NONROLLING”. Default value is ROLLING. IMPORTANT: Non-rolling Database Software update update involves system down time.
Allowed values for this property are: “ROLLING”, “NONROLLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The update_mode of this ManagedSoftwareUpdatePreferenceDetails. Return type: str
-
version_scheme_details¶ [Required] Gets the version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails.
Returns: The version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails. Return type: oci.database.models.VersionSchemeDetails
-