ProjectSchedules.GetRunsAsync Method

Definition

Overloads

Name Description
GetRunsAsync(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.
GetRunsAsync(String, Nullable<ScheduleTaskType>, Nullable<Boolean>, CancellationToken)

List all schedule runs.

GetRunsAsync(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.AsyncCollectionResult GetRunsAsync(string id, string type, bool? enabled, System.ClientModel.Primitives.RequestOptions options);
abstract member GetRunsAsync : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetRunsAsync : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetRunsAsync (id As String, type As String, enabled As Nullable(Of Boolean), options As RequestOptions) As AsyncCollectionResult

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

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

Source:
ProjectSchedules.cs
Source:
ProjectSchedules.cs

List all schedule runs.

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