Condividi tramite


PurviewGlossaries.GetImportCsvOperationStatus(String, RequestContext) Method

Definition

Get the status of import csv operation.

public virtual Azure.Response GetImportCsvOperationStatus (string operationGuid, Azure.RequestContext context = default);
abstract member GetImportCsvOperationStatus : string * Azure.RequestContext -> Azure.Response
override this.GetImportCsvOperationStatus : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetImportCsvOperationStatus (operationGuid As String, Optional context As RequestContext = Nothing) As 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