次の方法で共有


DocumentIntelligenceModelFactory.DocumentModelBuildOperationDetails Method

Definition

Overloads

DocumentModelBuildOperationDetails(String, DocumentIntelligenceOperationStatus, Nullable<Int32>, DateTimeOffset, DateTimeOffset, Uri, String, IReadOnlyDictionary<String,String>, DocumentIntelligenceError, DocumentModelDetails)

Initializes a new instance of DocumentModelBuildOperationDetails.

DocumentModelBuildOperationDetails(String, OperationStatus, Nullable<Int32>, DateTimeOffset, DateTimeOffset, Uri, String, IReadOnlyDictionary<String, String>, DocumentIntelligenceError, DocumentModelDetails)

Initializes a new instance of DocumentModelBuildOperationDetails.

DocumentModelBuildOperationDetails(String, DocumentIntelligenceOperationStatus, Nullable<Int32>, DateTimeOffset, DateTimeOffset, Uri, String, IReadOnlyDictionary<String,String>, DocumentIntelligenceError, DocumentModelDetails)

Source:
DocumentIntelligenceModelFactory.cs

Initializes a new instance of DocumentModelBuildOperationDetails.

public static Azure.AI.DocumentIntelligence.DocumentModelBuildOperationDetails DocumentModelBuildOperationDetails (string operationId = default, Azure.AI.DocumentIntelligence.DocumentIntelligenceOperationStatus 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.DocumentModelDetails result = default);
static member DocumentModelBuildOperationDetails : string * Azure.AI.DocumentIntelligence.DocumentIntelligenceOperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Uri * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.AI.DocumentIntelligence.DocumentIntelligenceError * Azure.AI.DocumentIntelligence.DocumentModelDetails -> Azure.AI.DocumentIntelligence.DocumentModelBuildOperationDetails
Public Shared Function DocumentModelBuildOperationDetails (Optional operationId As String = Nothing, Optional status As DocumentIntelligenceOperationStatus = 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 DocumentModelDetails = Nothing) As DocumentModelBuildOperationDetails

Parameters

operationId
String

Operation ID.

status
DocumentIntelligenceOperationStatus

Operation status. notStarted, running, completed, or failed.

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.

apiVersion
String

API version used to create this operation.

tags
IReadOnlyDictionary<String,String>

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

error
DocumentIntelligenceError

Encountered error.

result
DocumentModelDetails

Operation result upon success.

Returns

A new DocumentModelBuildOperationDetails instance for mocking.

Applies to

DocumentModelBuildOperationDetails(String, OperationStatus, Nullable<Int32>, DateTimeOffset, DateTimeOffset, Uri, String, IReadOnlyDictionary<String, String>, DocumentIntelligenceError, DocumentModelDetails)

Source:
DocumentIntelligenceModelFactory.cs

Initializes a new instance of DocumentModelBuildOperationDetails.

public static Azure.AI.DocumentIntelligence.DocumentModelBuildOperationDetails DocumentModelBuildOperationDetails (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.DocumentModelDetails result = default);
static member DocumentModelBuildOperationDetails : string * Azure.AI.DocumentIntelligence.OperationStatus * Nullable<int> * DateTimeOffset * DateTimeOffset * Uri * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.AI.DocumentIntelligence.DocumentIntelligenceError * Azure.AI.DocumentIntelligence.DocumentModelDetails -> Azure.AI.DocumentIntelligence.DocumentModelBuildOperationDetails
Public Shared Function DocumentModelBuildOperationDetails (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 DocumentModelDetails = Nothing) As DocumentModelBuildOperationDetails

Parameters

operationId
String

Operation ID.

status
OperationStatus

Operation status. notStarted, running, completed, or failed.

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.

apiVersion
String

API version used to create this operation.

tags
IReadOnlyDictionary<String,String>

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

error
DocumentIntelligenceError

Encountered error.

result
DocumentModelDetails

Operation result upon success.

Returns

A new DocumentModelBuildOperationDetails instance for mocking.

Applies to