示例#1
0
 public Task <TResponse> ExecuteRetentionAsync <TResponse>(ExecuteRetentionRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(POST, "_slm/_execute_retention", ctx, null, RequestParams(requestParameters));
示例#2
0
 ///<summary>POST on /_slm/_execute_retention <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html</para></summary>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse ExecuteRetention <TResponse>(ExecuteRetentionRequestParameters requestParameters = null)
     where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(POST, "_slm/_execute_retention", null, RequestParams(requestParameters));