Dela via


OperationDetails interface

Get Operation response object.

Properties

apiVersion

API version used to create this operation.

createdOn

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

error

Encountered error.

kind

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

lastUpdatedOn

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

operationId

Operation ID

percentCompleted

Operation progress (0-100).

resourceLocation

URL of the resource targeted by this operation.

status

Operation status.

tags

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

Property Details

apiVersion

API version used to create this operation.

apiVersion?: string

Property Value

string

createdOn

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

createdOn: Date

Property Value

Date

error

Encountered error.

error?: ErrorModel

Property Value

kind

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

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

Property Value

"documentClassifierBuild" | "documentModelBuild" | "documentModelCompose" | "documentModelCopyTo"

lastUpdatedOn

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

lastUpdatedOn: Date

Property Value

Date

operationId

Operation ID

operationId: string

Property Value

string

percentCompleted

Operation progress (0-100).

percentCompleted?: number

Property Value

number

resourceLocation

URL of the resource targeted by this operation.

resourceLocation: string

Property Value

string

status

Operation status.

status: OperationStatus

Property Value

tags

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

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}