DiscoveryToolsClient.GetOperationsAsync 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 |
|---|---|
| GetOperationsAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext) |
[Protocol Method] List tool runs.
|
| GetOperationsAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken) |
List tool runs. |
GetOperationsAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext)
- Source:
- DiscoveryToolsClient.cs
[Protocol Method] List tool runs.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> GetOperationsAsync(string projectName, int? top, int? skip, int? maxpagesize, Azure.RequestContext context);
abstract member GetOperationsAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetOperationsAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetOperationsAsync (projectName As String, top As Nullable(Of Integer), skip As Nullable(Of Integer), maxpagesize As Nullable(Of Integer), context As RequestContext) As Task(Of Response)
Parameters
- projectName
- String
Name of the associated Project.
- 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 is null.
projectName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
GetOperationsAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)
- Source:
- DiscoveryToolsClient.cs
List tool runs.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Discovery.PagedOperation>> GetOperationsAsync(string projectName, int? top = default, int? skip = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationsAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Discovery.PagedOperation>>
override this.GetOperationsAsync : string * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Discovery.PagedOperation>>
Public Overridable Function GetOperationsAsync (projectName As String, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PagedOperation))
Parameters
- projectName
- String
Name of the associated Project.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
projectName is null.
projectName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.