コード例 #1
0
 /// <inheritdoc cref="StartIlm(System.Func{Nest6.StartIlmDescriptor,Nest6.IStartIlmRequest})" />
 public Task <IStartIlmResponse> StartIlmAsync(IStartIlmRequest request,
                                               CancellationToken cancellationToken = default(CancellationToken)
                                               ) =>
 Dispatcher.DispatchAsync <IStartIlmRequest, StartIlmRequestParameters, StartIlmResponse, IStartIlmResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackIlmStartDispatchAsync <StartIlmResponse>(p, c)
     );
 /// <summary>
 /// <c>POST</c> request to the <c>ilm.start</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html</a>
 /// </summary>
 public Task <StartIlmResponse> StartAsync(IStartIlmRequest request, CancellationToken ct = default) => DoRequestAsync <IStartIlmRequest, StartIlmResponse>(request, request.RequestParameters, ct);
 /// <summary>
 /// <c>POST</c> request to the <c>ilm.start</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html</a>
 /// </summary>
 public StartIlmResponse Start(IStartIlmRequest request) => DoRequest <IStartIlmRequest, StartIlmResponse>(request, request.RequestParameters);
コード例 #4
0
 /// <inheritdoc cref="StartIlm(System.Func{Nest6.StartIlmDescriptor,Nest6.IStartIlmRequest})" />
 public IStartIlmResponse StartIlm(IStartIlmRequest request) =>
 Dispatcher.Dispatch <IStartIlmRequest, StartIlmRequestParameters, StartIlmResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackIlmStartDispatch <StartIlmResponse>(p)
     );