Class WindowPreferenceDetail
The Single Scheduling Window details.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class WindowPreferenceDetail
Properties
DaysOfWeek
Declaration
[Required(ErrorMessage = "DaysOfWeek is required.")]
[JsonProperty(PropertyName = "daysOfWeek")]
public List<DayOfWeek> DaysOfWeek { get; set; }
Property Value
Type | Description |
---|---|
List<DayOfWeek> | Days during the week when scheduling window should be performed. |
Remarks
Required
Duration
Declaration
[Required(ErrorMessage = "Duration is required.")]
[JsonProperty(PropertyName = "duration")]
public int? Duration { get; set; }
Property Value
Type | Description |
---|---|
int? | Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. |
Remarks
Required
IsEnforcedDuration
Declaration
[Required(ErrorMessage = "IsEnforcedDuration is required.")]
[JsonProperty(PropertyName = "isEnforcedDuration")]
public bool? IsEnforcedDuration { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is |
Remarks
Required
Months
Declaration
[JsonProperty(PropertyName = "months")]
public List<Month> Months { get; set; }
Property Value
Type | Description |
---|---|
List<Month> | Months during the year when scheduled window should be performed. |
StartTime
Declaration
[Required(ErrorMessage = "StartTime is required.")]
[JsonProperty(PropertyName = "startTime")]
public string StartTime { get; set; }
Property Value
Type | Description |
---|---|
string | The scheduling window start time. The value must use the ISO-8601 format "hh:mm". |
Remarks
Required
WeeksOfMonth
Declaration
[Required(ErrorMessage = "WeeksOfMonth is required.")]
[JsonProperty(PropertyName = "weeksOfMonth")]
public List<int> WeeksOfMonth { get; set; }
Property Value
Type | Description |
---|---|
List<int> | 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. |
Remarks
Required