Exemplo n.º 1
0
 /// <inheritdoc cref="GetIlmStatus(System.Func{Nest6.GetIlmStatusDescriptor,Nest6.IGetIlmStatusRequest})" />
 public Task <IGetIlmStatusResponse> GetIlmStatusAsync(IGetIlmStatusRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IGetIlmStatusRequest, GetIlmStatusRequestParameters, GetIlmStatusResponse, IGetIlmStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackIlmGetStatusDispatchAsync <GetIlmStatusResponse>(p, c)
     );
 /// <summary>
 /// <c>GET</c> request to the <c>ilm.get_status</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html</a>
 /// </summary>
 public Task <GetIlmStatusResponse> GetStatusAsync(IGetIlmStatusRequest request, CancellationToken ct = default) => DoRequestAsync <IGetIlmStatusRequest, GetIlmStatusResponse>(request, request.RequestParameters, ct);
Exemplo n.º 3
0
 /// <inheritdoc cref="GetIlmStatus(System.Func{Nest6.GetIlmStatusDescriptor,Nest6.IGetIlmStatusRequest})" />
 public IGetIlmStatusResponse GetIlmStatus(IGetIlmStatusRequest request) =>
 Dispatcher.Dispatch <IGetIlmStatusRequest, GetIlmStatusRequestParameters, GetIlmStatusResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackIlmGetStatusDispatch <GetIlmStatusResponse>(p)
     );
 /// <summary>
 /// <c>GET</c> request to the <c>ilm.get_status</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html</a>
 /// </summary>
 public GetIlmStatusResponse GetStatus(IGetIlmStatusRequest request) => DoRequest <IGetIlmStatusRequest, GetIlmStatusResponse>(request, request.RequestParameters);