Share via


SearchIndexerClient.Resync Method

Definition

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

public virtual Azure.Response Resync(string indexerName, Azure.Search.Documents.Models.IndexerResyncBody indexerResync, System.Threading.CancellationToken cancellationToken = default);
abstract member Resync : string * Azure.Search.Documents.Models.IndexerResyncBody * System.Threading.CancellationToken -> Azure.Response
override this.Resync : string * Azure.Search.Documents.Models.IndexerResyncBody * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Resync (indexerName As String, indexerResync As IndexerResyncBody, Optional cancellationToken As CancellationToken = Nothing) As 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