DiscoveryTasksClient.GetAllAsync Method

Definition

Overloads

Name Description
GetAllAsync(String, String, String, RequestContext)

[Protocol Method] List tasks with optional OData filters.

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

List tasks with optional OData filters.

GetAllAsync(String, String, String, RequestContext)

Source:
DiscoveryTasksClient.cs

[Protocol Method] List tasks with optional OData filters.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.AsyncPageable<BinaryData> GetAllAsync(string projectName, string investigationName, string filter, Azure.RequestContext context);
abstract member GetAllAsync : string * string * string * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetAllAsync : string * string * string * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetAllAsync (projectName As String, investigationName As String, filter As String, context As RequestContext) As AsyncPageable(Of BinaryData)

Parameters

projectName
String

The project name.

investigationName
String

The investigation name.

filter
String

OData filter expression. Supported fields: investigationId, status, createdByType, priority, createdAt, lastModifiedAt. Example: status eq 'new' or status eq 'executing'.

context
RequestContext

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

projectName or investigationName is null.

projectName or investigationName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

GetAllAsync(String, String, String, CancellationToken)

Source:
DiscoveryTasksClient.cs

List tasks with optional OData filters.

public virtual Azure.AsyncPageable<Azure.AI.Discovery.DiscoveryTask> GetAllAsync(string projectName, string investigationName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Discovery.DiscoveryTask>
override this.GetAllAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Discovery.DiscoveryTask>
Public Overridable Function GetAllAsync (projectName As String, investigationName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DiscoveryTask)

Parameters

projectName
String

The project name.

investigationName
String

The investigation name.

filter
String

OData filter expression. Supported fields: investigationId, status, createdByType, priority, createdAt, lastModifiedAt. Example: status eq 'new' or status eq 'executing'.

cancellationToken
CancellationToken

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

Returns

Exceptions

projectName or investigationName is null.

projectName or investigationName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to