Share via


DocumentAnalysisModelFactory.DocumentClassifierBuildOperationDetails Method

Definition

Initializes a new instance of DocumentClassifierBuildOperationDetails.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierBuildOperationDetails DocumentClassifierBuildOperationDetails (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.DocumentClassifierDetails result = default, string serviceVersion = default);
static member DocumentClassifierBuildOperationDetails : string * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Uri * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResponseError * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierDetails * string -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentClassifierBuildOperationDetails
Public Shared Function DocumentClassifierBuildOperationDetails (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 DocumentClassifierDetails = Nothing, Optional serviceVersion As String = Nothing) As DocumentClassifierBuildOperationDetails

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 classifier.

error
ResponseError

Encountered error.

result
DocumentClassifierDetails

Operation result upon success.

serviceVersion
String

Service version used to create this operation.

Returns

A new DocumentClassifierBuildOperationDetails instance for mocking.

Applies to