CopyAuthorization Class
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.
Authorization to copy a document model to the specified target resource and modelId.
public class CopyAuthorization : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.CopyAuthorization>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.CopyAuthorization>
type CopyAuthorization = class
interface IJsonModel<CopyAuthorization>
interface IPersistableModel<CopyAuthorization>
Public Class CopyAuthorization
Implements IJsonModel(Of CopyAuthorization), IPersistableModel(Of CopyAuthorization)
- Inheritance
-
CopyAuthorization
- Implements
Constructors
CopyAuthorization(String, String, String, Uri, String, DateTimeOffset) |
Initializes a new instance of CopyAuthorization. |
Properties
AccessToken |
Token used to authorize the request. |
ExpirationDateTime |
Date/time when the access token expires. |
TargetModelId |
Identifier of the target document model. |
TargetModelLocation |
URL of the copied document model in the target account. |
TargetResourceId |
ID of the target Azure resource where the document model should be copied to. |
TargetResourceRegion |
Location of the target Azure resource where the document model should be copied to. |
Explicit Interface Implementations
IJsonModel<CopyAuthorization>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CopyAuthorization>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CopyAuthorization>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CopyAuthorization>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CopyAuthorization>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기