Interface ILogStreamsClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
public interface ILogStreamsClient
Methods
CreateAsync(LogStreamCreateRequest, CancellationToken)
Creates a new log stream
Task<LogStream> CreateAsync(LogStreamCreateRequest request, CancellationToken cancellationToken = default)
Parameters
requestLogStreamCreateRequestThe LogStreamCreateRequest containing the information needed to create the log stream
cancellationTokenCancellationTokenThe cancellation token to cancel operation.
Returns
DeleteAsync(string, CancellationToken)
Deletes a log stream
Task DeleteAsync(string id, CancellationToken cancellationToken = default)
Parameters
idstringThe id of the log stream to delete
cancellationTokenCancellationTokenThe cancellation token to cancel operation.
Returns
GetAllAsync(CancellationToken)
Gets all of the log streams
Task<IList<LogStream>> GetAllAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
GetAsync(string, CancellationToken)
Gets a log stream
Task<LogStream> GetAsync(string id, CancellationToken cancellationToken = default)
Parameters
idstringThe id of the log stream to get
cancellationTokenCancellationTokenThe cancellation token to cancel operation.
Returns
UpdateAsync(string, LogStreamUpdateRequest, CancellationToken)
Updates a log stream
Task<LogStream> UpdateAsync(string id, LogStreamUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
idstringThe id of the log stream to update
requestLogStreamUpdateRequestThe information required to update the log stream
cancellationTokenCancellationTokenThe cancellation token to cancel operation.