你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DocumentModelAdministrationClient.GetCopyAuthorization 方法

定义

生成将自定义模型复制到目标表单识别器资源的授权。

public virtual Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelCopyAuthorization> GetCopyAuthorization (string modelId = default, string description = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCopyAuthorization : string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelCopyAuthorization>
override this.GetCopyAuthorization : string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelCopyAuthorization>
Public Overridable Function GetCopyAuthorization (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DocumentModelCopyAuthorization)

参数

modelId
String

复制的模型的唯一 ID。 如果未指定,将为你创建一个模型 ID。

description
String

要添加到模型的可选说明。

tags
IDictionary<String,String>

与模型关联的用户定义的键值标记属性的列表。

cancellationToken
CancellationToken

控制 CancellationToken 请求生存期的 。

返回

表示 Response<T> 操作结果的 。 它可以强制转换为DocumentModelCopyAuthorization包含将自定义模型复制到目标表单识别器资源所需的授权信息。

适用于