AzureAIProjectsModelFactory.CronTrigger 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.
Cron based trigger.
public static Azure.AI.Projects.Evaluation.CronTrigger CronTrigger(string expression = default, string timeZone = default, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default);
static member CronTrigger : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.AI.Projects.Evaluation.CronTrigger
Public Shared Function CronTrigger (Optional expression As String = Nothing, Optional timeZone As String = Nothing, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing) As CronTrigger
Parameters
- expression
- String
Cron expression that defines the schedule frequency.
- timeZone
- String
Time zone for the cron schedule. Defaults to UTC.
- startTime
- Nullable<DateTimeOffset>
Start time for the cron schedule in ISO 8601 format.
- endTime
- Nullable<DateTimeOffset>
End time for the cron schedule in ISO 8601 format.
Returns
A new CronTrigger instance for mocking.