ManagedSoftwareUpdatePreferenceDetails¶
- class oci.database.models.ManagedSoftwareUpdatePreferenceDetails(**kwargs)¶
Bases:
objectOracle Managed Database Software Updates schedule will be created based on the provided update preferences
Attributes:
A constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails.
A constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails.
[Required] Gets the days_of_week of this ManagedSoftwareUpdatePreferenceDetails.
[Required] Gets the hour_of_day of this ManagedSoftwareUpdatePreferenceDetails.
Gets the update_mode of this ManagedSoftwareUpdatePreferenceDetails.
[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.
- property 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
- property 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
- property 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
- property version_scheme_details¶
[Required] Gets the version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails.
- Returns
The version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails.
- Return type