Interface UploadToFileSearchStoreConfig

Optional parameters for uploading a file to a FileSearchStore.

interface UploadToFileSearchStoreConfig {
    abortSignal?: AbortSignal;
    chunkingConfig?: ChunkingConfig;
    customMetadata?: CustomMetadata[];
    displayName?: string;
    httpOptions?: HttpOptions;
    mimeType?: string;
}

Properties

abortSignal?: AbortSignal

Abort signal which can be used to cancel the request.

NOTE: AbortSignal is a client-only operation. Using it to cancel an operation will not cancel the request in the service. You will still be charged usage for any applicable operations.

chunkingConfig?: ChunkingConfig

Config for telling the service how to chunk the file.

customMetadata?: CustomMetadata[]

User provided custom metadata stored as key-value pairs used for querying.

displayName?: string

Display name of the created document.

httpOptions?: HttpOptions

Used to override HTTP request options.

mimeType?: string

MIME type of the file to be uploaded. If not provided, it will be inferred from the file extension.