OperationDetails Class

Definition

Operation info. Please note OperationDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DocumentModelBuildOperationDetails, DocumentModelComposeOperationDetails, DocumentModelCopyToOperationDetails and DocumentClassifierBuildOperationDetails.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.DocumentIntelligence.UnknownOperationDetails))]
public abstract class OperationDetails : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.OperationDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.OperationDetails>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.DocumentIntelligence.UnknownOperationDetails))>]
type OperationDetails = class
    interface IJsonModel<OperationDetails>
    interface IPersistableModel<OperationDetails>
Public MustInherit Class OperationDetails
Implements IJsonModel(Of OperationDetails), IPersistableModel(Of OperationDetails)
Inheritance
OperationDetails
Derived
Attributes
Implements

Constructors

OperationDetails(String, OperationStatus, DateTimeOffset, DateTimeOffset, Uri)

Initializes a new instance of OperationDetails.

Properties

ApiVersion

API version used to create this operation.

CreatedOn

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

Error

Encountered error.

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. notStarted, running, completed, or failed.

Tags

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

Explicit Interface Implementations

IJsonModel<OperationDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<OperationDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OperationDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OperationDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<OperationDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to