public Task <TResponse> AllocationExplainAsync <TResponse>(PostData body, ClusterAllocationExplainRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(POST, "_cluster/allocation/explain", ctx, body, RequestParams(requestParameters));
///<summary>POST on /_cluster/allocation/explain <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html</para></summary> ///<param name = "body">The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard'</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> public TResponse AllocationExplain <TResponse>(PostData body, ClusterAllocationExplainRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(POST, "_cluster/allocation/explain", body, RequestParams(requestParameters));