Condividi tramite


AzureAIProjectsModelFactory.Schedule Method

Definition

Schedule model.

public static Azure.AI.Projects.Schedule Schedule(string id = default, string displayName = default, string description = default, bool enabled = false, Azure.AI.Projects.ScheduleProvisioningStatus? provisioningStatus = default, Azure.AI.Projects.Trigger trigger = default, Azure.AI.Projects.ScheduleTask task = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IReadOnlyDictionary<string,string> systemData = default);
static member Schedule : string * string * string * bool * Nullable<Azure.AI.Projects.ScheduleProvisioningStatus> * Azure.AI.Projects.Trigger * Azure.AI.Projects.ScheduleTask * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.AI.Projects.Schedule
Public Shared Function Schedule (Optional id As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional enabled As Boolean = false, Optional provisioningStatus As Nullable(Of ScheduleProvisioningStatus) = Nothing, Optional trigger As Trigger = Nothing, Optional task As ScheduleTask = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional systemData As IReadOnlyDictionary(Of String, String) = Nothing) As Schedule

Parameters

id
String

Identifier of the schedule.

displayName
String

Name of the schedule.

description
String

Description of the schedule.

enabled
Boolean

Enabled status of the schedule.

provisioningStatus
Nullable<ScheduleProvisioningStatus>

Provisioning status of the schedule.

trigger
Trigger

Trigger for the schedule.

task
ScheduleTask

Task for the schedule.

tags
IDictionary<String,String>

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

properties
IDictionary<String,String>

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

systemData
IReadOnlyDictionary<String,String>

System metadata for the resource.

Returns

A new Schedule instance for mocking.

Applies to