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

CopyAuthorization(String, String, String, Uri, String, DateTimeOffset) Constructor

Definition

Initializes a new instance of CopyAuthorization.

public CopyAuthorization (string targetResourceId, string targetResourceRegion, string targetModelId, Uri targetModelLocation, string accessToken, DateTimeOffset expirationDateTime);
new Azure.AI.DocumentIntelligence.CopyAuthorization : string * string * string * Uri * string * DateTimeOffset -> Azure.AI.DocumentIntelligence.CopyAuthorization
Public Sub New (targetResourceId As String, targetResourceRegion As String, targetModelId As String, targetModelLocation As Uri, accessToken As String, expirationDateTime As DateTimeOffset)

Parameters

targetResourceId
String

ID of the target Azure resource where the document model should be copied to.

targetResourceRegion
String

Location of the target Azure resource where the document model should be copied to.

targetModelId
String

Identifier of the target document model.

targetModelLocation
Uri

URL of the copied document model in the target account.

accessToken
String

Token used to authorize the request.

expirationDateTime
DateTimeOffset

Date/time when the access token expires.

Exceptions

targetResourceId, targetResourceRegion, targetModelId, targetModelLocation or accessToken is null.

Applies to