Exemplo n.º 1
0
 /// <inheritdoc />
 public Task <IGetAnomalyRecordsResponse> GetAnomalyRecordsAsync(IGetAnomalyRecordsRequest request,
                                                                 CancellationToken cancellationToken = default(CancellationToken)
                                                                 ) =>
 Dispatcher
 .DispatchAsync <IGetAnomalyRecordsRequest, GetAnomalyRecordsRequestParameters, GetAnomalyRecordsResponse, IGetAnomalyRecordsResponse>(
     request,
     cancellationToken,
     LowLevelDispatch.XpackMlGetRecordsDispatchAsync <GetAnomalyRecordsResponse>
     );
 /// <inheritdoc />
 public Task <GetAnomalyRecordsResponse> GetAnomalyRecordsAsync(IGetAnomalyRecordsRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IGetAnomalyRecordsRequest, GetAnomalyRecordsResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc />
 public GetAnomalyRecordsResponse GetAnomalyRecords(IGetAnomalyRecordsRequest request) =>
 DoRequest <IGetAnomalyRecordsRequest, GetAnomalyRecordsResponse>(request, request.RequestParameters);
Exemplo n.º 4
0
 /// <inheritdoc />
 public IGetAnomalyRecordsResponse GetAnomalyRecords(IGetAnomalyRecordsRequest request) =>
 Dispatcher.Dispatch <IGetAnomalyRecordsRequest, GetAnomalyRecordsRequestParameters, GetAnomalyRecordsResponse>(
     request,
     LowLevelDispatch.XpackMlGetRecordsDispatch <GetAnomalyRecordsResponse>
     );
 public static Task <GetAnomalyRecordsResponse> GetAnomalyRecordsAsync(this IElasticClient client, IGetAnomalyRecordsRequest request,
                                                                       CancellationToken ct = default
                                                                       )
 => client.MachineLearning.GetAnomalyRecordsAsync(request, ct);
 public static GetAnomalyRecordsResponse GetAnomalyRecords(this IElasticClient client, IGetAnomalyRecordsRequest request)
 => client.MachineLearning.GetAnomalyRecords(request);