SearchModelFactory.SearchIndexerStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET