FormTrainingClient.StartCopyModel Method

Definition

Copy a custom model stored in this resource (the source) to the user specified target Form Recognizer resource.

public virtual Azure.AI.FormRecognizer.Training.CopyModelOperation StartCopyModel (string modelId, Azure.AI.FormRecognizer.Training.CopyAuthorization target, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCopyModel : string * Azure.AI.FormRecognizer.Training.CopyAuthorization * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Training.CopyModelOperation
override this.StartCopyModel : string * Azure.AI.FormRecognizer.Training.CopyAuthorization * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Training.CopyModelOperation
Public Overridable Function StartCopyModel (modelId As String, target As CopyAuthorization, Optional cancellationToken As CancellationToken = Nothing) As CopyModelOperation

Parameters

modelId
System.String

Model identifier of the model to copy to the target Form Recognizer resource.

target
CopyAuthorization

A CopyAuthorization with the copy authorization to the target Form Recognizer resource.

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

CopyModelOperation

A CopyModelOperation to wait on this long-running operation. Its Value upon successful completion will contain meta-data about the model copied.

Applies to