ProjectSchedules.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetAllAsync(Nullable<ScheduleTaskType>, Nullable<Boolean>, CancellationToken) |
List all schedules. |
| GetAllAsync(String, Nullable<Boolean>, RequestOptions) |
[Protocol Method] List all schedules.
|
GetAllAsync(Nullable<ScheduleTaskType>, Nullable<Boolean>, CancellationToken)
- Source:
- ProjectSchedules.cs
- Source:
- ProjectSchedules.cs
List all schedules.
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.Evaluation.ProjectsSchedule> GetAllAsync(Azure.AI.Projects.Evaluation.ScheduleTaskType? type = default, bool? enabled = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<Azure.AI.Projects.Evaluation.ScheduleTaskType> * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.Evaluation.ProjectsSchedule>
override this.GetAllAsync : Nullable<Azure.AI.Projects.Evaluation.ScheduleTaskType> * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.Evaluation.ProjectsSchedule>
Public Overridable Function GetAllAsync (Optional type As Nullable(Of ScheduleTaskType) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of ProjectsSchedule)
Parameters
- type
- Nullable<ScheduleTaskType>
Filter by the type of schedule.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.
Applies to
GetAllAsync(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.AsyncCollectionResult GetAllAsync(string type, bool? enabled, System.ClientModel.Primitives.RequestOptions options);
abstract member GetAllAsync : string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetAllAsync : string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetAllAsync (type As String, enabled As Nullable(Of Boolean), options As RequestOptions) As AsyncCollectionResult
Parameters
- type
- String
Filter by the type of schedule.
- 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.