コード例 #1
0
 /// <summary>
 /// <c>DELETE</c> request to the <c>enrich.delete_policy</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html</a>
 /// </summary>
 public Task <DeleteEnrichPolicyResponse> DeletePolicyAsync(IDeleteEnrichPolicyRequest request, CancellationToken ct = default) => DoRequestAsync <IDeleteEnrichPolicyRequest, DeleteEnrichPolicyResponse>(request, request.RequestParameters, ct);
コード例 #2
0
 /// <summary>
 /// <c>DELETE</c> request to the <c>enrich.delete_policy</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html</a>
 /// </summary>
 public DeleteEnrichPolicyResponse DeletePolicy(IDeleteEnrichPolicyRequest request) => DoRequest <IDeleteEnrichPolicyRequest, DeleteEnrichPolicyResponse>(request, request.RequestParameters);