SearchIndexerClient.ResyncAsync Method

Definition

Overloads

Name Description
ResyncAsync(String, RequestContent, RequestContext)

[Protocol Method] Resync selective options from the datasource to be re-ingested by the indexer."

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
ResyncAsync(String, IndexerResyncBody, CancellationToken)

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

ResyncAsync(String, RequestContent, RequestContext)

Source:
SearchIndexerClient.cs

[Protocol Method] Resync selective options from the datasource to be re-ingested by the indexer."

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> ResyncAsync(string indexerName, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member ResyncAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.ResyncAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResyncAsync (indexerName As String, content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

indexerName
String

The name of the indexer.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

indexerName or content is null.

indexerName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

ResyncAsync(String, IndexerResyncBody, CancellationToken)

Source:
SearchIndexerClient.cs

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.Indexes.Models.IndexerResyncBody indexerResync, System.Threading.CancellationToken cancellationToken = default);
abstract member ResyncAsync : string * Azure.Search.Documents.Indexes.Models.IndexerResyncBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ResyncAsync : string * Azure.Search.Documents.Indexes.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.

indexerResync
IndexerResyncBody

The definition of the indexer resync options.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

indexerName or indexerResync is null.

indexerName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to