Exemple #1
0
 public Task <TResponse> DeletePolicyAsync <TResponse>(string name, DeleteAutoscalingPolicyRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(DELETE, Url($"_autoscaling/policy/{name:name}"), ctx, null, RequestParams(requestParameters));
Exemple #2
0
 ///<summary>DELETE on /_autoscaling/policy/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html</para></summary>
 ///<param name = "name">the name of the autoscaling policy</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 ///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
 public TResponse DeletePolicy <TResponse>(string name, DeleteAutoscalingPolicyRequestParameters requestParameters = null)
     where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(DELETE, Url($"_autoscaling/policy/{name:name}"), null, RequestParams(requestParameters));