Share via


SearchIndexerClient.ResyncAsync Method

Definition

Resync selective options from the datasource to be re-ingested by the indexer.

public virtual System.Threading.Tasks.Task<Azure.Response> ResyncAsync(string indexerName, Azure.Search.Documents.Models.IndexerResyncBody indexerResync, System.Threading.CancellationToken cancellationToken = default);
abstract member ResyncAsync : string * Azure.Search.Documents.Models.IndexerResyncBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ResyncAsync : string * Azure.Search.Documents.Models.IndexerResyncBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResyncAsync (indexerName As String, indexerResync As IndexerResyncBody, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

indexerName
String

The name of the indexer to resync for.

indexerResync
IndexerResyncBody

The IndexerResyncBody to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

indexerName or indexerResync is null.

Applies to