DocumentAnalysisModelFactory.OperationSummary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- createdOn
- DateTimeOffset
Date and time (UTC) when the operation was created.
- lastUpdatedOn
- DateTimeOffset
Date and time (UTC) when the status was last updated.
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
Azure SDK for .NET