WindowPreferenceDetail

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

Bases: object

The Single Scheduling Window details.

Methods

__init__(**kwargs) Initializes a new WindowPreferenceDetail object with values from keyword arguments.

Attributes

days_of_week [Required] Gets the days_of_week of this WindowPreferenceDetail.
duration [Required] Gets the duration of this WindowPreferenceDetail.
is_enforced_duration [Required] Gets the is_enforced_duration of this WindowPreferenceDetail.
months Gets the months of this WindowPreferenceDetail.
start_time [Required] Gets the start_time of this WindowPreferenceDetail.
weeks_of_month [Required] Gets the weeks_of_month of this WindowPreferenceDetail.
__init__(**kwargs)

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

Parameters:
  • months (list[oci.database.models.Month]) – The value to assign to the months property of this WindowPreferenceDetail.
  • weeks_of_month (list[int]) – The value to assign to the weeks_of_month property of this WindowPreferenceDetail.
  • days_of_week (list[oci.database.models.DayOfWeek]) – The value to assign to the days_of_week property of this WindowPreferenceDetail.
  • start_time (str) – The value to assign to the start_time property of this WindowPreferenceDetail.
  • duration (int) – The value to assign to the duration property of this WindowPreferenceDetail.
  • is_enforced_duration (bool) – The value to assign to the is_enforced_duration property of this WindowPreferenceDetail.
days_of_week

[Required] Gets the days_of_week of this WindowPreferenceDetail. Days during the week when scheduling window should be performed.

Returns:The days_of_week of this WindowPreferenceDetail.
Return type:list[oci.database.models.DayOfWeek]
duration

[Required] Gets the duration of this WindowPreferenceDetail. Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.

Returns:The duration of this WindowPreferenceDetail.
Return type:int
is_enforced_duration

[Required] Gets the is_enforced_duration of this WindowPreferenceDetail. Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.

Returns:The is_enforced_duration of this WindowPreferenceDetail.
Return type:bool
months

Gets the months of this WindowPreferenceDetail. Months during the year when scheduled window should be performed.

Returns:The months of this WindowPreferenceDetail.
Return type:list[oci.database.models.Month]
start_time

[Required] Gets the start_time of this WindowPreferenceDetail. The scheduling window start time. The value must use the ISO-8601 format “hh:mm”.

Returns:The start_time of this WindowPreferenceDetail.
Return type:str
weeks_of_month

[Required] Gets the weeks_of_month of this WindowPreferenceDetail. Weeks during the month when scheduled window should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow scheduling window during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Scheduling window cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and startTime parameters to allow you to specify specific days of the week and hours that scheduled window will be performed.

Returns:The weeks_of_month of this WindowPreferenceDetail.
Return type:list[int]