Share via


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
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
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

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

Applies to