FormTrainingClient.StartCopyModel 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.
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
Azure SDK for .NET