/// <inheritdoc cref="DeletePrivileges(Nest6.Name,Nest6.Name,System.Func{Nest6.DeletePrivilegesDescriptor,Nest6.IDeletePrivilegesRequest})" /> public Task <IDeletePrivilegesResponse> DeletePrivilegesAsync(IDeletePrivilegesRequest request, CancellationToken cancellationToken = default ) => Dispatcher.DispatchAsync <IDeletePrivilegesRequest, DeletePrivilegesRequestParameters, DeletePrivilegesResponse, IDeletePrivilegesResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackSecurityDeletePrivilegesDispatchAsync <DeletePrivilegesResponse>(p, c) );
public static Task <DeletePrivilegesResponse> DeletePrivilegesAsync(this IElasticClient client, IDeletePrivilegesRequest request, CancellationToken ct = default ) => client.Security.DeletePrivilegesAsync(request, ct);
public static DeletePrivilegesResponse DeletePrivileges(this IElasticClient client, IDeletePrivilegesRequest request) => client.Security.DeletePrivileges(request);
/// <inheritdoc cref="DeletePrivileges(Nest6.Name,Nest6.Name,System.Func{Nest6.DeletePrivilegesDescriptor,Nest6.IDeletePrivilegesRequest})" /> public IDeletePrivilegesResponse DeletePrivileges(IDeletePrivilegesRequest request) => Dispatcher.Dispatch <IDeletePrivilegesRequest, DeletePrivilegesRequestParameters, DeletePrivilegesResponse>( request, (p, d) => LowLevelDispatch.XpackSecurityDeletePrivilegesDispatch <DeletePrivilegesResponse>(p) );
/// <inheritdoc cref="DeletePrivileges(Nest.Name,Nest.Name,System.Func{Nest.DeletePrivilegesDescriptor,Nest.IDeletePrivilegesRequest})" /> public Task <DeletePrivilegesResponse> DeletePrivilegesAsync(IDeletePrivilegesRequest request, CancellationToken ct = default) => DoRequestAsync <IDeletePrivilegesRequest, DeletePrivilegesResponse>(request, request.RequestParameters, ct);
/// <inheritdoc cref="DeletePrivileges(Nest.Name,Nest.Name,System.Func{Nest.DeletePrivilegesDescriptor,Nest.IDeletePrivilegesRequest})" /> public DeletePrivilegesResponse DeletePrivileges(IDeletePrivilegesRequest request) => DoRequest <IDeletePrivilegesRequest, DeletePrivilegesResponse>(request, request.RequestParameters);