Share via


DocumentAnalysisModelFactory.DocumentModelComposeOperationDetails Method

Definition

Initializes a new instance of DocumentModelComposeOperationDetails.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelComposeOperationDetails DocumentModelComposeOperationDetails (string operationId = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus status = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus.NotStarted, int? percentCompleted = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, Uri resourceLocation = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.ResponseError error = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelDetails result = default, string serviceVersion = default);
static member DocumentModelComposeOperationDetails : string * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Uri * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResponseError * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelDetails * string -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelComposeOperationDetails
Public Shared Function DocumentModelComposeOperationDetails (Optional operationId As String = Nothing, Optional status As DocumentOperationStatus = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus.NotStarted, Optional percentCompleted As Nullable(Of Integer) = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, Optional resourceLocation As Uri = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional error As ResponseError = Nothing, Optional result As DocumentModelDetails = Nothing, Optional serviceVersion As String = Nothing) As DocumentModelComposeOperationDetails

Parameters

operationId
String

Operation ID.

status
DocumentOperationStatus

Operation status.

percentCompleted
Nullable<Int32>

Operation progress (0-100).

createdOn
DateTimeOffset

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

lastUpdatedOn
DateTimeOffset

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

resourceLocation
Uri

URL of the resource targeted by this operation.

tags
IReadOnlyDictionary<String,String>

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

error
ResponseError

Encountered error.

result
DocumentModelDetails

Operation result upon success.

serviceVersion
String

Service version used to create this operation.

Returns

A new DocumentModelComposeOperationDetails instance for mocking.

Applies to