ArmDevCenterModelFactory.DevCenterActiveHoursConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Active hours configuration.
public static Azure.ResourceManager.DevCenter.Models.DevCenterActiveHoursConfiguration DevCenterActiveHoursConfiguration(Azure.ResourceManager.DevCenter.Models.DevCenterKeepAwakeEnableStatus? keepAwakeEnableStatus = default, Azure.ResourceManager.DevCenter.Models.DevCenterAutoStartEnableStatus? autoStartEnableStatus = default, string defaultTimeZone = default, int? defaultStartTimeHour = default, int? defaultEndTimeHour = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevCenter.Models.DayOfWeek> defaultDaysOfWeek = default, int? daysOfWeekLimit = default);
static member DevCenterActiveHoursConfiguration : Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterKeepAwakeEnableStatus> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterAutoStartEnableStatus> * string * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.DevCenter.Models.DayOfWeek> * Nullable<int> -> Azure.ResourceManager.DevCenter.Models.DevCenterActiveHoursConfiguration
Public Shared Function DevCenterActiveHoursConfiguration (Optional keepAwakeEnableStatus As Nullable(Of DevCenterKeepAwakeEnableStatus) = Nothing, Optional autoStartEnableStatus As Nullable(Of DevCenterAutoStartEnableStatus) = Nothing, Optional defaultTimeZone As String = Nothing, Optional defaultStartTimeHour As Nullable(Of Integer) = Nothing, Optional defaultEndTimeHour As Nullable(Of Integer) = Nothing, Optional defaultDaysOfWeek As IEnumerable(Of DayOfWeek) = Nothing, Optional daysOfWeekLimit As Nullable(Of Integer) = Nothing) As DevCenterActiveHoursConfiguration
Parameters
- keepAwakeEnableStatus
- Nullable<DevCenterKeepAwakeEnableStatus>
Enables or disables whether the Dev Box should be kept awake during active hours.
- autoStartEnableStatus
- Nullable<DevCenterAutoStartEnableStatus>
Enables or disables whether the Dev Box should be automatically started at commencement of active hours.
- defaultTimeZone
- String
The default IANA timezone id of the active hours.
- defaultDaysOfWeek
- IEnumerable<DayOfWeek>
The days of the week that active hours features will be enabled. This serves as a default that can be updated by each individual user.
The maximum amount of days per week that a user can enable active hours related features.
Returns
A new DevCenterActiveHoursConfiguration instance for mocking.