Skip to main content
interface OperationDetails
import { type OperationDetails } from "https://deno.land/x/aiformrecognizer@v1.1.0/src/mod.ts";

Get Operation response object.

Properties

kind: "documentModelBuild" | "documentModelCompose" | "documentModelCopyTo"

Polymorphic discriminator, which specifies the different types this object can be

operationId: string

Operation ID

Operation status.

optional
percentCompleted: number

Operation progress (0-100).

createdOn: Date

Date and time (UTC) when the operation was created.

lastUpdatedOn: Date

Date and time (UTC) when the status was last updated.

resourceLocation: string

URL of the resource targeted by this operation.

optional
apiVersion: string

API version used to create this operation.

optional
tags: { [propertyName: string]: string; }

List of key-value tag attributes associated with the document model.

optional
error: ErrorModel

Encountered error.