Share via


ImageModerationEvaluateUrlInputOptionalParams interface

Optional Parameters.

Extends

Properties

cacheImage

Whether to retain the submitted image for future use; defaults to false if omitted.

Inherited Properties

abortSignal

The signal which can be used to abort requests.

customHeaders

User defined custom request headers that will be applied before the request is sent.

onDownloadProgress

Callback which fires upon download progress.

onUploadProgress

Callback which fires upon upload progress.

timeout

The number of milliseconds a request can take before automatically being terminated.

Property Details

cacheImage

Whether to retain the submitted image for future use; defaults to false if omitted.

TypeScript
cacheImage?: boolean

Property Value

boolean

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

TypeScript
abortSignal?: AbortSignalLike

Property Value

Inherited From msRest.RequestOptionsBase.abortSignal

customHeaders

User defined custom request headers that will be applied before the request is sent.

TypeScript
customHeaders?: {[key: string]: string}

Property Value

{[key: string]: string}

Inherited From msRest.RequestOptionsBase.customHeaders

onDownloadProgress

Callback which fires upon download progress.

TypeScript
onDownloadProgress?: (progress: TransferProgressEvent) => void

Property Value

(progress: TransferProgressEvent) => void

Inherited From msRest.RequestOptionsBase.onDownloadProgress

onUploadProgress

Callback which fires upon upload progress.

TypeScript
onUploadProgress?: (progress: TransferProgressEvent) => void

Property Value

(progress: TransferProgressEvent) => void

Inherited From msRest.RequestOptionsBase.onUploadProgress

timeout

The number of milliseconds a request can take before automatically being terminated.

TypeScript
timeout?: number

Property Value

number

Inherited From msRest.RequestOptionsBase.timeout