Compartilhar via


AIProjectsModelFactory.EvaluationSchedule Method

Definition

Initializes a new instance of EvaluationSchedule.

public static Azure.AI.Projects.EvaluationSchedule EvaluationSchedule (string name = default, Azure.AI.Projects.ApplicationInsightsConfiguration data = default, string description = default, Azure.AI.Projects.SystemData systemData = default, string provisioningStatus = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,Azure.AI.Projects.EvaluatorConfiguration> evaluators = default, Azure.AI.Projects.Trigger trigger = default);
static member EvaluationSchedule : string * Azure.AI.Projects.ApplicationInsightsConfiguration * string * Azure.AI.Projects.SystemData * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, Azure.AI.Projects.EvaluatorConfiguration> * Azure.AI.Projects.Trigger -> Azure.AI.Projects.EvaluationSchedule
Public Shared Function EvaluationSchedule (Optional name As String = Nothing, Optional data As ApplicationInsightsConfiguration = Nothing, Optional description As String = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningStatus As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional evaluators As IDictionary(Of String, EvaluatorConfiguration) = Nothing, Optional trigger As Trigger = Nothing) As EvaluationSchedule

Parameters

name
String

Name of the schedule, which also serves as the unique identifier for the evaluation.

data
ApplicationInsightsConfiguration

Data for evaluation.

description
String

Description of the evaluation. It can be used to store additional information about the evaluation and is mutable.

systemData
SystemData

Metadata containing createdBy and modifiedBy information.

provisioningStatus
String

Status of the evaluation. It is set by service and is read-only.

tags
IDictionary<String,String>

Evaluation's tags. Unlike properties, tags are fully mutable.

properties
IDictionary<String,String>

Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed.

evaluators
IDictionary<String,EvaluatorConfiguration>

Evaluators to be used for the evaluation.

trigger
Trigger

Trigger for the evaluation. Please note Trigger is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CronTrigger and RecurrenceTrigger.

Returns

A new EvaluationSchedule instance for mocking.

Applies to