语言

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

ArmMachineLearningModelFactory.CronTrigger Method

Definition

The CronTrigger.

public static Azure.ResourceManager.MachineLearning.Models.CronTrigger CronTrigger(string endTime = default, string startTime = default, string timeZone = default, string expression = default);
static member CronTrigger : string * string * string * string -> Azure.ResourceManager.MachineLearning.Models.CronTrigger
Public Shared Function CronTrigger (Optional endTime As String = Nothing, Optional startTime As String = Nothing, Optional timeZone As String = Nothing, Optional expression As String = Nothing) As CronTrigger

Parameters

endTime
String

Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely

startTime
String

Specifies start time of schedule in ISO 8601 format, but without a UTC offset.

timeZone
String

Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11

expression
String

[Required] Specifies cron expression of schedule. The expression should follow NCronTab format.

Returns

A new CronTrigger instance for mocking.

Applies to