/// <inheritdoc />
 public Task <IDeleteModelSnapshotResponse> DeleteModelSnapshotAsync(IDeleteModelSnapshotRequest request,
                                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                                     ) =>
 Dispatcher
 .DispatchAsync <IDeleteModelSnapshotRequest, DeleteModelSnapshotRequestParameters, DeleteModelSnapshotResponse,
                 IDeleteModelSnapshotResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMlDeleteModelSnapshotDispatchAsync <DeleteModelSnapshotResponse>(p, c)
     );
Exemple #2
0
 /// <inheritdoc />
 public Task <DeleteModelSnapshotResponse> DeleteModelSnapshotAsync(IDeleteModelSnapshotRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IDeleteModelSnapshotRequest, DeleteModelSnapshotResponse>(request, request.RequestParameters, ct);
Exemple #3
0
 /// <inheritdoc />
 public DeleteModelSnapshotResponse DeleteModelSnapshot(IDeleteModelSnapshotRequest request) =>
 DoRequest <IDeleteModelSnapshotRequest, DeleteModelSnapshotResponse>(request, request.RequestParameters);
 /// <inheritdoc />
 public IDeleteModelSnapshotResponse DeleteModelSnapshot(IDeleteModelSnapshotRequest request) =>
 Dispatcher.Dispatch <IDeleteModelSnapshotRequest, DeleteModelSnapshotRequestParameters, DeleteModelSnapshotResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackMlDeleteModelSnapshotDispatch <DeleteModelSnapshotResponse>(p)
     );
Exemple #5
0
 public static Task <DeleteModelSnapshotResponse> DeleteModelSnapshotAsync(this IElasticClient client, IDeleteModelSnapshotRequest request,
                                                                           CancellationToken ct = default
                                                                           )
 => client.MachineLearning.DeleteModelSnapshotAsync(request, ct);
Exemple #6
0
 public static DeleteModelSnapshotResponse DeleteModelSnapshot(this IElasticClient client, IDeleteModelSnapshotRequest request)
 => client.MachineLearning.DeleteModelSnapshot(request);