DocumentIntelligenceModelFactory.DocumentClassifierBuildOperationDetails 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 DocumentClassifierBuildOperationDetails.
public static Azure.AI.DocumentIntelligence.DocumentClassifierBuildOperationDetails DocumentClassifierBuildOperationDetails (string operationId = default, Azure.AI.DocumentIntelligence.OperationStatus status = default, int? percentCompleted = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, Uri resourceLocation = default, string apiVersion = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.AI.DocumentIntelligence.DocumentIntelligenceError error = default, Azure.AI.DocumentIntelligence.DocumentClassifierDetails result = default);
static member DocumentClassifierBuildOperationDetails : string * Azure.AI.DocumentIntelligence.OperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Uri * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.AI.DocumentIntelligence.DocumentIntelligenceError * Azure.AI.DocumentIntelligence.DocumentClassifierDetails -> Azure.AI.DocumentIntelligence.DocumentClassifierBuildOperationDetails
Public Shared Function DocumentClassifierBuildOperationDetails (Optional operationId As String = Nothing, Optional status As OperationStatus = Nothing, Optional percentCompleted As Nullable(Of Integer) = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, Optional resourceLocation As Uri = Nothing, Optional apiVersion As String = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional error As DocumentIntelligenceError = Nothing, Optional result As DocumentClassifierDetails = Nothing) As DocumentClassifierBuildOperationDetails
Parameters
- operationId
- String
Operation ID.
- status
- OperationStatus
Operation status. notStarted, running, completed, or failed.
- 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.
- apiVersion
- String
API version used to create this operation.
- tags
- IReadOnlyDictionary<String,String>
List of key-value tag attributes associated with the document model.
Encountered error.
- result
- DocumentClassifierDetails
Operation result upon success.
Returns
A new DocumentClassifierBuildOperationDetails instance for mocking.
Applies to
Azure SDK for .NET