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

CopyAuthorization Class

Definition

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