DocumentAnalysisModelFactory.OperationDetails 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 OperationDetails.
public static Azure.AI.FormRecognizer.DocumentAnalysis.OperationDetails OperationDetails (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, Azure.ResponseError error = default, string serviceVersion = default);
static member OperationDetails : string * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentOperationKind * Uri * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResponseError * string -> Azure.AI.FormRecognizer.DocumentAnalysis.OperationDetails
Public Shared Function OperationDetails (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 error As ResponseError = Nothing, Optional serviceVersion As String = Nothing) As OperationDetails
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.
- error
- ResponseError
Encountered error.
- serviceVersion
- String
Service version used to create this operation.
Returns
A new OperationDetails instance for mocking.
Applies to
Azure SDK for .NET