Condividi tramite


PurviewGlossaries.GetImportCsvOperationStatusAsync Method

Definition

Get the status of import csv operation.

public virtual System.Threading.Tasks.Task<Azure.Response> GetImportCsvOperationStatusAsync (string operationGuid, Azure.RequestContext context = default);
abstract member GetImportCsvOperationStatusAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetImportCsvOperationStatusAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetImportCsvOperationStatusAsync (operationGuid As String, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

operationGuid
String

The globally unique identifier for async operation/job.

context
RequestContext

The request context, which can override default behaviors on the request on a per-call basis.

Returns

Exceptions

operationGuid is null.

operationGuid is an empty string, and was expected to be non-empty.

Remarks

Schema for Response Body:

{
              id: string,
              status: "NotStarted" | "Succeeded" | "Failed" | "Running",
              createTime: string,
              lastUpdateTime: string,
              properties: {
                importedTerms: string,
                totalTermsDetected: string
              },
              error: {
                errorCode: number,
                errorMessage: string
              }
            }

Schema for Response Error:

{
              requestId: string,
              errorCode: string,
              errorMessage: string
            }

Applies to