DiscoveryToolsClient.GetRunStatus Method

Definition

Overloads

Name Description
GetRunStatus(String, String, Nullable<Int32>, RequestContext)

[Protocol Method] Used for to poll status of a Tool run.

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

Used for to poll status of a Tool run.

GetRunStatus(String, String, Nullable<Int32>, RequestContext)

Source:
DiscoveryToolsClient.cs

[Protocol Method] Used for to poll status of a Tool run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response GetRunStatus(string projectName, string operationId, int? logCount, Azure.RequestContext context);
abstract member GetRunStatus : string * string * Nullable<int> * Azure.RequestContext -> Azure.Response
override this.GetRunStatus : string * string * Nullable<int> * Azure.RequestContext -> Azure.Response
Public Overridable Function GetRunStatus (projectName As String, operationId As String, logCount As Nullable(Of Integer), context As RequestContext) As Response

Parameters

projectName
String

Name of the associated Project.

operationId
String

The unique ID of the operation.

logCount
Nullable<Int32>

Number of log lines to return (0-2500).

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 operationId is null.

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

Service returned a non-success status code.

Applies to

GetRunStatus(String, String, Nullable<Int32>, CancellationToken)

Source:
DiscoveryToolsClient.cs

Used for to poll status of a Tool run.

public virtual Azure.Response<Azure.AI.Discovery.RunOperationStatus> GetRunStatus(string projectName, string operationId, int? logCount = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRunStatus : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Discovery.RunOperationStatus>
override this.GetRunStatus : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Discovery.RunOperationStatus>
Public Overridable Function GetRunStatus (projectName As String, operationId As String, Optional logCount As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RunOperationStatus)

Parameters

projectName
String

Name of the associated Project.

operationId
String

The unique ID of the operation.

logCount
Nullable<Int32>

Number of log lines to return (0-2500).

cancellationToken
CancellationToken

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

Returns

Exceptions

projectName or operationId is null.

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

Service returned a non-success status code.

Applies to