Ejemplo n.º 1
0
 ///<summary>GET on /_ssl/certificates <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html</para></summary>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse GetCertificates <TResponse>(GetCertificatesRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, "_ssl/certificates", null, RequestParams(requestParameters));
Ejemplo n.º 2
0
 ///<summary>GET on /_ssl/certificates <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html</para></summary>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public Task <TResponse> GetCertificatesAsync <TResponse>(GetCertificatesRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(GET, "_ssl/certificates", ctx, null, RequestParams(requestParameters));
Ejemplo n.º 3
0
 protected sealed override void RequestDefaults(GetCertificatesRequestParameters parameters) =>
 parameters.CustomResponseBuilder = GetCertificatesResponseBuilder.Instance;