ProjectSchedules.GetRun Method

Definition

Overloads

Name Description
GetRun(String, String, RequestOptions)

[Protocol Method] Get a schedule run by id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetRun(String, String, CancellationToken)

Get a schedule run by id.

GetRun(String, String, RequestOptions)

Source:
ProjectSchedules.cs
Source:
ProjectSchedules.cs

[Protocol Method] Get a schedule run by id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.ClientResult GetRun(string scheduleId, string runId, System.ClientModel.Primitives.RequestOptions options);
abstract member GetRun : string * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.GetRun : string * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function GetRun (scheduleId As String, runId As String, options As RequestOptions) As ClientResult

Parameters

scheduleId
String

The unique identifier of the schedule.

runId
String

The unique identifier of the schedule run.

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

scheduleId or runId is null.

scheduleId or runId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

GetRun(String, String, CancellationToken)

Source:
ProjectSchedules.cs
Source:
ProjectSchedules.cs

Get a schedule run by id.

public virtual System.ClientModel.ClientResult<Azure.AI.Projects.Evaluation.ScheduleRun> GetRun(string scheduleId, string runId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRun : string * string * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Evaluation.ScheduleRun>
override this.GetRun : string * string * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Evaluation.ScheduleRun>
Public Overridable Function GetRun (scheduleId As String, runId As String, Optional cancellationToken As CancellationToken = Nothing) As ClientResult(Of ScheduleRun)

Parameters

scheduleId
String

The unique identifier of the schedule.

runId
String

The unique identifier of the schedule run.

cancellationToken
CancellationToken

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

Returns

Exceptions

scheduleId or runId is null.

scheduleId or runId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to