示例#1
0
 /// <summary>
 /// <c>PUT</c> request to the <c>transform.put_transform</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html</a>
 /// </summary>
 public Task <PutTransformResponse> PutAsync(IPutTransformRequest request, CancellationToken ct = default) => DoRequestAsync <IPutTransformRequest, PutTransformResponse>(request, request.RequestParameters, ct);
示例#2
0
 /// <summary>
 /// <c>PUT</c> request to the <c>transform.put_transform</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html</a>
 /// </summary>
 public PutTransformResponse Put(IPutTransformRequest request) => DoRequest <IPutTransformRequest, PutTransformResponse>(request, request.RequestParameters);