示例#1
0
 /// <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);
示例#2
0
 /// <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);