/// <summary> /// <c>POST</c> request to the <c>slm.stop</c> API, read more about this API online: /// <para></para> /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html</a> /// </summary> public Task <StopSnapshotLifecycleManagementResponse> StopAsync(IStopSnapshotLifecycleManagementRequest request, CancellationToken ct = default) => DoRequestAsync <IStopSnapshotLifecycleManagementRequest, StopSnapshotLifecycleManagementResponse>(request, request.RequestParameters, ct);
/// <summary> /// <c>POST</c> request to the <c>slm.stop</c> API, read more about this API online: /// <para></para> /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html</a> /// </summary> public StopSnapshotLifecycleManagementResponse Stop(IStopSnapshotLifecycleManagementRequest request) => DoRequest <IStopSnapshotLifecycleManagementRequest, StopSnapshotLifecycleManagementResponse>(request, request.RequestParameters);