Share via


DevCenterModelFactory.DevBoxSchedule Method

Definition

Initializes a new instance of DevBoxSchedule.

public static Azure.Developer.DevCenter.Models.DevBoxSchedule DevBoxSchedule (string name = default, Azure.Developer.DevCenter.Models.ScheduleType scheduleType = default, Azure.Developer.DevCenter.Models.ScheduleFrequency scheduleFrequency = default, string time = default, string timeZone = default);
static member DevBoxSchedule : string * Azure.Developer.DevCenter.Models.ScheduleType * Azure.Developer.DevCenter.Models.ScheduleFrequency * string * string -> Azure.Developer.DevCenter.Models.DevBoxSchedule
Public Shared Function DevBoxSchedule (Optional name As String = Nothing, Optional scheduleType As ScheduleType = Nothing, Optional scheduleFrequency As ScheduleFrequency = Nothing, Optional time As String = Nothing, Optional timeZone As String = Nothing) As DevBoxSchedule

Parameters

name
String

Display name for the Schedule.

scheduleType
ScheduleType

Supported type this scheduled task represents.

scheduleFrequency
ScheduleFrequency

The frequency of this scheduled task.

time
String

The target time to trigger the action. The format is HH:MM.

timeZone
String

The IANA timezone id at which the schedule should execute.

Returns

A new DevBoxSchedule instance for mocking.

Applies to