Exemplo n.º 1
0
 public Task <TResponse> DeleteDanglingIndexAsync <TResponse>(string indexUuid, DeleteDanglingIndexRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IOpenSearchResponse, new() => DoRequestAsync <TResponse>(DELETE, Url($"_dangling/{indexUuid:indexUuid}"), ctx, null, RequestParams(requestParameters));
Exemplo n.º 2
0
 ///<summary>DELETE on /_dangling/{index_uuid} <para></para></summary>
 ///<param name = "indexUuid">The UUID of the dangling index</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse DeleteDanglingIndex <TResponse>(string indexUuid, DeleteDanglingIndexRequestParameters requestParameters = null)
     where TResponse : class, IOpenSearchResponse, new() => DoRequest <TResponse>(DELETE, Url($"_dangling/{indexUuid:indexUuid}"), null, RequestParams(requestParameters));