Package version:

Interface QueuePeekMessagesOptions

Options to configure QueueClient.peekMessages operation

interface QueuePeekMessagesOptions {
    abortSignal?: any;
    numberOfMessages?: number;
    requestId?: string;
    timeoutInSeconds?: number;
    tracingOptions?: any;
}

Hierarchy (view full)

Properties

abortSignal?: any

An implementation of the AbortSignalLike interface to signal the request to cancel the operation. For example, use the @azure/abort-controller to create an AbortSignal.

numberOfMessages?: number

Optional. A nonzero integer value that specifies the number of messages to retrieve from the queue, up to a maximum of 32. If fewer are visible, the visible messages are returned. By default, a single message is retrieved from the queue with this operation.

requestId?: string

Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.

timeoutInSeconds?: number

The The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Queue Service Operations.

tracingOptions?: any

Options to configure spans created when tracing is enabled.