Share via


DocumentAnalysisModelFactory.OperationSummary Method

Definition

Initializes a new instance of OperationSummary.

public static Azure.AI.FormRecognizer.DocumentAnalysis.OperationSummary OperationSummary (string operationId = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus status = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus.NotStarted, int? percentCompleted = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationKind kind = default, Uri resourceLocation = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, string serviceVersion = default);
static member OperationSummary : string * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationKind * Uri * System.Collections.Generic.IReadOnlyDictionary<string, string> * string -> Azure.AI.FormRecognizer.DocumentAnalysis.OperationSummary
Public Shared Function OperationSummary (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 kind As DocumentOperationKind = Nothing, Optional resourceLocation As Uri = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional serviceVersion As String = Nothing) As OperationSummary

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.

kind
DocumentOperationKind

Type of operation.

resourceLocation
Uri

URI of the resource targeted by this operation.

tags
IReadOnlyDictionary<String,String>

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

serviceVersion
String

Service version used to create this operation.

Returns

A new OperationSummary instance for mocking.

Applies to