DiscoveryModelFactory.KnowledgeBaseIndexingOperationResponse Method

Definition

Response for indexing operations.

public static Azure.AI.Discovery.KnowledgeBaseIndexingOperationResponse KnowledgeBaseIndexingOperationResponse(string id = default, Azure.AI.Discovery.OperationState status = default, Azure.ResponseError error = default, Azure.AI.Discovery.IndexingOperationResult indexingResult = default);
static member KnowledgeBaseIndexingOperationResponse : string * Azure.AI.Discovery.OperationState * Azure.ResponseError * Azure.AI.Discovery.IndexingOperationResult -> Azure.AI.Discovery.KnowledgeBaseIndexingOperationResponse
Public Shared Function KnowledgeBaseIndexingOperationResponse (Optional id As String = Nothing, Optional status As OperationState = Nothing, Optional error As ResponseError = Nothing, Optional indexingResult As IndexingOperationResult = Nothing) As KnowledgeBaseIndexingOperationResponse

Parameters

id
String

The unique ID of the operation.

status
OperationState

The status of the operation.

error
ResponseError

Error object that describes the error when status is 'Failed'.

indexingResult
IndexingOperationResult

Result details for indexing operations.

Returns

A new KnowledgeBaseIndexingOperationResponse instance for mocking.

Applies to