Exemplo n.º 1
0
 public Task <TResponse> UpdateTransformAsync <TResponse>(string transformId, PostData body, UpdateDataFrameTransformRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(POST, Url($"_data_frame/transforms/{transformId:transformId}/_update"), ctx, body, RequestParams(requestParameters));
Exemplo n.º 2
0
 ///<summary>POST on /_data_frame/transforms/{transform_id}/_update <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html</para></summary>
 ///<param name = "transformId">The id of the transform.</param>
 ///<param name = "body">The update data frame transform definition</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 ///<remarks>Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
 public TResponse UpdateTransform <TResponse>(string transformId, PostData body, UpdateDataFrameTransformRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(POST, Url($"_data_frame/transforms/{transformId:transformId}/_update"), body, RequestParams(requestParameters));