DiscoveryToolsClient.GetOperations 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 |
|---|---|
| GetOperations(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken) |
List tool runs. |
| GetOperations(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext) |
[Protocol Method] List tool runs.
|
GetOperations(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)
- Source:
- DiscoveryToolsClient.cs
List tool runs.
public virtual Azure.Response<Azure.AI.Discovery.PagedOperation> GetOperations(string projectName, int? top = default, int? skip = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperations : string * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Discovery.PagedOperation>
override this.GetOperations : string * Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Discovery.PagedOperation>
Public Overridable Function GetOperations (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 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.
Applies to
GetOperations(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 Azure.Response GetOperations(string projectName, int? top, int? skip, int? maxpagesize, Azure.RequestContext context);
abstract member GetOperations : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.Response
override this.GetOperations : string * Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.Response
Public Overridable Function GetOperations (projectName As String, top As Nullable(Of Integer), skip As Nullable(Of Integer), maxpagesize As Nullable(Of Integer), context As RequestContext) As 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.