/// <inheritdoc cref="PauseFollowIndex(IndexName, System.Func{Nest.PauseFollowIndexDescriptor,Nest.IPauseFollowIndexRequest})" />
 public Task <PauseFollowIndexResponse> PauseFollowIndexAsync(IPauseFollowIndexRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IPauseFollowIndexRequest, PauseFollowIndexResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc cref="PauseFollowIndex(IndexName, System.Func{Nest.PauseFollowIndexDescriptor,Nest.IPauseFollowIndexRequest})" />
 public PauseFollowIndexResponse PauseFollowIndex(IPauseFollowIndexRequest request) =>
 DoRequest <IPauseFollowIndexRequest, PauseFollowIndexResponse>(request, request.RequestParameters);
 /// <inheritdoc cref="PauseFollowIndex(IndexName, System.Func{Nest.PauseFollowIndexDescriptor,Nest.IPauseFollowIndexRequest})" />
 public Task <IPauseFollowIndexResponse> PauseFollowIndexAsync(IPauseFollowIndexRequest request, CancellationToken cancellationToken = default) =>
 Dispatcher.DispatchAsync <IPauseFollowIndexRequest, PauseFollowIndexRequestParameters, PauseFollowIndexResponse, IPauseFollowIndexResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.CcrPauseFollowDispatchAsync <PauseFollowIndexResponse>(p, c)
     );
 /// <inheritdoc cref="PauseFollowIndex(IndexName, System.Func{Nest.PauseFollowIndexDescriptor,Nest.IPauseFollowIndexRequest})" />
 public IPauseFollowIndexResponse PauseFollowIndex(IPauseFollowIndexRequest request) =>
 Dispatcher.Dispatch <IPauseFollowIndexRequest, PauseFollowIndexRequestParameters, PauseFollowIndexResponse>(
     request,
     (p, d) => LowLevelDispatch.CcrPauseFollowDispatch <PauseFollowIndexResponse>(p)
     );
Example #5
0
 public static Task <PauseFollowIndexResponse> PauseFollowIndexAsync(this IElasticClient client, IPauseFollowIndexRequest request,
                                                                     CancellationToken ct = default
                                                                     )
 => client.CrossClusterReplication.PauseFollowIndexAsync(request, ct);
Example #6
0
 public static PauseFollowIndexResponse PauseFollowIndex(this IElasticClient client, IPauseFollowIndexRequest request)
 => client.CrossClusterReplication.PauseFollowIndex(request);