Freigeben über


AzureAIProjectsModelFactory.CronTrigger Method

Definition

Cron based trigger.

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

Parameters

expression
String

Cron expression that defines the schedule frequency.

timeZone
String

Time zone for the cron schedule.

startTime
String

Start time for the cron schedule in ISO 8601 format.

endTime
String

End time for the cron schedule in ISO 8601 format.

Returns

A new CronTrigger instance for mocking.

Applies to