ProjectSchedules.GetRuns Method

Definition

Overloads

Name Description
GetRuns(String, Nullable<ScheduleTaskType>, Nullable<Boolean>, CancellationToken)

List all schedule runs.

GetRuns(String, String, Nullable<Boolean>, RequestOptions)

[Protocol Method] List all schedule runs.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetRuns(String, Nullable<ScheduleTaskType>, Nullable<Boolean>, CancellationToken)

Source:
ProjectSchedules.cs
Source:
ProjectSchedules.cs

List all schedule runs.

public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.Evaluation.ScheduleRun> GetRuns(string id, Azure.AI.Projects.Evaluation.ScheduleTaskType? type = default, bool? enabled = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRuns : string * Nullable<Azure.AI.Projects.Evaluation.ScheduleTaskType> * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.Evaluation.ScheduleRun>
override this.GetRuns : string * Nullable<Azure.AI.Projects.Evaluation.ScheduleTaskType> * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.Evaluation.ScheduleRun>
Public Overridable Function GetRuns (id As String, Optional type As Nullable(Of ScheduleTaskType) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(Of ScheduleRun)

Parameters

id
String

Identifier of the schedule.

type
Nullable<ScheduleTaskType>

Filter by the type of schedule.

enabled
Nullable<Boolean>

Filter by the enabled status.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

id is null.

id is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

GetRuns(String, String, Nullable<Boolean>, RequestOptions)

Source:
ProjectSchedules.cs
Source:
ProjectSchedules.cs

[Protocol Method] List all schedule runs.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.CollectionResult GetRuns(string id, string type, bool? enabled, System.ClientModel.Primitives.RequestOptions options);
abstract member GetRuns : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetRuns : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetRuns (id As String, type As String, enabled As Nullable(Of Boolean), options As RequestOptions) As CollectionResult

Parameters

id
String

Identifier of the schedule.

type
String

Filter by the type of schedule.

enabled
Nullable<Boolean>

Filter by the enabled status.

options
RequestOptions

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

id is null.

id is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to