ClassifierCopyAuthorization Constructor
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.
Initializes a new instance of ClassifierCopyAuthorization.
public ClassifierCopyAuthorization (string targetResourceId, string targetResourceRegion, string targetClassifierId, Uri targetClassifierLocation, string accessToken, DateTimeOffset expirationDateTime);
new Azure.AI.DocumentIntelligence.ClassifierCopyAuthorization : string * string * string * Uri * string * DateTimeOffset -> Azure.AI.DocumentIntelligence.ClassifierCopyAuthorization
Public Sub New (targetResourceId As String, targetResourceRegion As String, targetClassifierId As String, targetClassifierLocation As Uri, accessToken As String, expirationDateTime As DateTimeOffset)
Parameters
- targetResourceId
- String
ID of the target Azure resource where the document classifier should be copied to.
- targetResourceRegion
- String
Location of the target Azure resource where the document classifier should be copied to.
- targetClassifierId
- String
Identifier of the target document classifier.
- targetClassifierLocation
- Uri
URL of the copied document classifier in the target account.
- accessToken
- String
Token used to authorize the request.
- expirationDateTime
- DateTimeOffset
Date/time when the access token expires.
Exceptions
targetResourceId
, targetResourceRegion
, targetClassifierId
, targetClassifierLocation
or accessToken
is null.