ClassifyDocumentOptions interface

Options for the document classification operation.

Extends

Inherited Properties

abortSignal

The signal which can be used to abort requests.

onProgress

An optional initial progress handler that will be called when the poller state updates. This handler will be called once immediately after the poller state is initialized.

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

requestOptions

Options used when creating and sending HTTP requests for this operation.

resumeFrom

A serialized poller state. If provided, the polling operation will be resumed from the given state instead of started as if it were a new operation.

serializerOptions

Options to override serialization/de-serialization behavior.

tracingOptions

Options used when tracing is enabled.

updateIntervalInMs

The amount of time to wait (in milliseconds) between subsequent requests relating to the same operation.

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

Inherited From PollerOptions.abortSignal

onProgress

An optional initial progress handler that will be called when the poller state updates. This handler will be called once immediately after the poller state is initialized.

onProgress?: (state: DocumentAnalysisPollOperationState<AnalyzeResult<AnalyzedDocument>>) => void

Property Value

(state: DocumentAnalysisPollOperationState<AnalyzeResult<AnalyzedDocument>>) => void

Inherited From PollerOptions.onProgress

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

onResponse?: RawResponseCallback

Property Value

Inherited From PollerOptions.onResponse

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

Inherited From PollerOptions.requestOptions

resumeFrom

A serialized poller state. If provided, the polling operation will be resumed from the given state instead of started as if it were a new operation.

resumeFrom?: string

Property Value

string

Inherited From PollerOptions.resumeFrom

serializerOptions

Options to override serialization/de-serialization behavior.

serializerOptions?: SerializerOptions

Property Value

Inherited From PollerOptions.serializerOptions

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

Inherited From PollerOptions.tracingOptions

updateIntervalInMs

The amount of time to wait (in milliseconds) between subsequent requests relating to the same operation.

updateIntervalInMs?: number

Property Value

number

Inherited From PollerOptions.updateIntervalInMs