/// <summary>
 /// <c>POST</c> request to the <c>ccr.unfollow</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html</a>
 /// </summary>
 public Task <UnfollowIndexResponse> UnfollowIndexAsync(IUnfollowIndexRequest request, CancellationToken ct = default) => DoRequestAsync <IUnfollowIndexRequest, UnfollowIndexResponse>(request, request.RequestParameters, ct);
 /// <summary>
 /// <c>POST</c> request to the <c>ccr.unfollow</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html</a>
 /// </summary>
 public UnfollowIndexResponse UnfollowIndex(IUnfollowIndexRequest request) => DoRequest <IUnfollowIndexRequest, UnfollowIndexResponse>(request, request.RequestParameters);
Ejemplo n.º 3
0
 /// <inheritdoc cref="UnfollowIndex(IndexName, System.Func{Nest6.UnfollowIndexDescriptor,Nest6.IUnfollowIndexRequest})" />
 public Task <IUnfollowIndexResponse> UnfollowIndexAsync(IUnfollowIndexRequest request, CancellationToken cancellationToken = default) =>
 Dispatcher.DispatchAsync <IUnfollowIndexRequest, UnfollowIndexRequestParameters, UnfollowIndexResponse, IUnfollowIndexResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.CcrUnfollowDispatchAsync <UnfollowIndexResponse>(p, c)
     );
Ejemplo n.º 4
0
 /// <inheritdoc cref="UnfollowIndex(IndexName, System.Func{Nest6.UnfollowIndexDescriptor,Nest6.IUnfollowIndexRequest})" />
 public IUnfollowIndexResponse UnfollowIndex(IUnfollowIndexRequest request) =>
 Dispatcher.Dispatch <IUnfollowIndexRequest, UnfollowIndexRequestParameters, UnfollowIndexResponse>(
     request,
     (p, d) => LowLevelDispatch.CcrUnfollowDispatch <UnfollowIndexResponse>(p)
     );
Ejemplo n.º 5
0
 public static Task <UnfollowIndexResponse> UnfollowIndexAsync(this IElasticClient client, IUnfollowIndexRequest request,
                                                               CancellationToken ct = default
                                                               )
 => client.CrossClusterReplication.UnfollowIndexAsync(request, ct);
Ejemplo n.º 6
0
 public static UnfollowIndexResponse UnfollowIndex(this IElasticClient client, IUnfollowIndexRequest request)
 => client.CrossClusterReplication.UnfollowIndex(request);