Share via


DocumentAnalysisModelFactory.DocumentModelBuildOperationDetails Method

Definition

Initializes a new instance of DocumentModelBuildOperationDetails.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelBuildOperationDetails DocumentModelBuildOperationDetails (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 DocumentModelBuildOperationDetails : 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.DocumentModelBuildOperationDetails
Public Shared Function DocumentModelBuildOperationDetails (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 DocumentModelBuildOperationDetails

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 DocumentModelBuildOperationDetails instance for mocking.

Applies to