SearchModelFactory.SearchIndexerStatus Method

Definition

Initializes a new instance of SearchIndexerStatus.

public static Azure.Search.Documents.Indexes.Models.SearchIndexerStatus SearchIndexerStatus (Azure.Search.Documents.Indexes.Models.IndexerStatus status = Azure.Search.Documents.Indexes.Models.IndexerStatus.Unknown, Azure.Search.Documents.Indexes.Models.IndexerExecutionResult lastResult = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.IndexerExecutionResult> executionHistory = default, Azure.Search.Documents.Indexes.Models.SearchIndexerLimits limits = default);
static member SearchIndexerStatus : Azure.Search.Documents.Indexes.Models.IndexerStatus * Azure.Search.Documents.Indexes.Models.IndexerExecutionResult * seq<Azure.Search.Documents.Indexes.Models.IndexerExecutionResult> * Azure.Search.Documents.Indexes.Models.SearchIndexerLimits -> Azure.Search.Documents.Indexes.Models.SearchIndexerStatus
Public Shared Function SearchIndexerStatus (Optional status As IndexerStatus = Azure.Search.Documents.Indexes.Models.IndexerStatus.Unknown, Optional lastResult As IndexerExecutionResult = Nothing, Optional executionHistory As IEnumerable(Of IndexerExecutionResult) = Nothing, Optional limits As SearchIndexerLimits = Nothing) As SearchIndexerStatus

Parameters

status
IndexerStatus

Overall indexer status.

lastResult
IndexerExecutionResult

The result of the most recent or an in-progress indexer execution.

executionHistory
IEnumerable<IndexerExecutionResult>

History of the recent indexer executions, sorted in reverse chronological order.

limits
SearchIndexerLimits

The execution limits for the indexer.

Returns

A new SearchIndexerStatus instance for mocking.

Applies to