예제 #1
0
 public Task <TResponse> GetSnapshotLifecycleStatsAsync <TResponse>(GetSnapshotLifecycleStatsRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(GET, "_slm/stats", ctx, null, RequestParams(requestParameters));
예제 #2
0
 ///<summary>GET on /_slm/stats <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html</para></summary>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse GetSnapshotLifecycleStats <TResponse>(GetSnapshotLifecycleStatsRequestParameters requestParameters = null)
     where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(GET, "_slm/stats", null, RequestParams(requestParameters));