你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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