public static Task <GetPrivilegesResponse> GetPrivilegesAsync(this IElasticClient client, IGetPrivilegesRequest request, CancellationToken ct = default ) => client.Security.GetPrivilegesAsync(request, ct);
public static GetPrivilegesResponse GetPrivileges(this IElasticClient client, IGetPrivilegesRequest request) => client.Security.GetPrivileges(request);
/// <inheritdoc cref="GetPrivileges(System.Func{Nest6.GetPrivilegesDescriptor,Nest6.IGetPrivilegesRequest})" /> public Task <IGetPrivilegesResponse> GetPrivilegesAsync(IGetPrivilegesRequest request, CancellationToken cancellationToken = default(CancellationToken)) => Dispatcher.DispatchAsync <IGetPrivilegesRequest, GetPrivilegesRequestParameters, GetPrivilegesResponse, IGetPrivilegesResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackSecurityGetPrivilegesDispatchAsync <GetPrivilegesResponse>(p, c) );
/// <inheritdoc cref="GetPrivileges(System.Func{Nest6.GetPrivilegesDescriptor,Nest6.IGetPrivilegesRequest})" /> public IGetPrivilegesResponse GetPrivileges(IGetPrivilegesRequest request) => Dispatcher.Dispatch <IGetPrivilegesRequest, GetPrivilegesRequestParameters, GetPrivilegesResponse>( request, (p, d) => LowLevelDispatch.XpackSecurityGetPrivilegesDispatch <GetPrivilegesResponse>(p) );
/// <inheritdoc cref="GetPrivileges(System.Func{Nest.GetPrivilegesDescriptor,Nest.IGetPrivilegesRequest})" /> public Task <GetPrivilegesResponse> GetPrivilegesAsync(IGetPrivilegesRequest request, CancellationToken ct = default) => DoRequestAsync <IGetPrivilegesRequest, GetPrivilegesResponse>(request, request.RequestParameters, ct);
/// <inheritdoc cref="GetPrivileges(System.Func{Nest.GetPrivilegesDescriptor,Nest.IGetPrivilegesRequest})" /> public GetPrivilegesResponse GetPrivileges(IGetPrivilegesRequest request) => DoRequest <IGetPrivilegesRequest, GetPrivilegesResponse>(request, request.RequestParameters);