ProjectSchedules.GetAll Method

Definition

Overloads

Name Description
GetAll(String, Nullable<Boolean>, RequestOptions)

[Protocol Method] List all schedules.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetAll(Nullable<ScheduleTaskType>, Nullable<Boolean>, CancellationToken)

List all schedules.

GetAll(String, Nullable<Boolean>, RequestOptions)

Source:
ProjectSchedules.cs
Source:
ProjectSchedules.cs

[Protocol Method] List all schedules.

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

Parameters

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

Service returned a non-success status code.

Applies to

GetAll(Nullable<ScheduleTaskType>, Nullable<Boolean>, CancellationToken)

Source:
ProjectSchedules.cs
Source:
ProjectSchedules.cs

List all schedules.

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

Parameters

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

Service returned a non-success status code.

Applies to