DiscoveryModelFactory.LastIndexingRun Method

Definition

The details of the last indexing run.

public static Azure.AI.Discovery.LastIndexingRun LastIndexingRun(string runId = default, Azure.AI.Discovery.IndexingStatus? status = default, Azure.ResponseError error = default, Azure.AI.Discovery.IndexingMetrics indexingMetrics = default);
static member LastIndexingRun : string * Nullable<Azure.AI.Discovery.IndexingStatus> * Azure.ResponseError * Azure.AI.Discovery.IndexingMetrics -> Azure.AI.Discovery.LastIndexingRun
Public Shared Function LastIndexingRun (Optional runId As String = Nothing, Optional status As Nullable(Of IndexingStatus) = Nothing, Optional error As ResponseError = Nothing, Optional indexingMetrics As IndexingMetrics = Nothing) As LastIndexingRun

Parameters

runId
String

The operation run identifier.

status
Nullable<IndexingStatus>

The status of the indexing run.

error
ResponseError

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

indexingMetrics
IndexingMetrics

Indexing metrics for the run.

Returns

A new LastIndexingRun instance for mocking.

Applies to