AzureAIProjectsModelFactory.ScheduleRun Method

Definition

Schedule run model.

public static Azure.AI.Projects.Evaluation.ScheduleRun ScheduleRun(string runId = default, string scheduleId = default, bool success = false, DateTimeOffset? triggerTime = default, string error = default, System.Collections.Generic.IReadOnlyDictionary<string,string> properties = default);
static member ScheduleRun : string * string * bool * Nullable<DateTimeOffset> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.AI.Projects.Evaluation.ScheduleRun
Public Shared Function ScheduleRun (Optional runId As String = Nothing, Optional scheduleId As String = Nothing, Optional success As Boolean = false, Optional triggerTime As Nullable(Of DateTimeOffset) = Nothing, Optional error As String = Nothing, Optional properties As IReadOnlyDictionary(Of String, String) = Nothing) As ScheduleRun

Parameters

runId
String

Identifier of the schedule run.

scheduleId
String

Identifier of the schedule.

success
Boolean

Trigger success status of the schedule run.

triggerTime
Nullable<DateTimeOffset>

Trigger time of the schedule run.

error
String

Error information for the schedule run.

properties
IReadOnlyDictionary<String,String>

Properties of the schedule run.

Returns

A new ScheduleRun instance for mocking.

Applies to