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

ModelCopyAuthorization Class

Definition

Authorization to copy a document model to the specified target resource and modelId.

public class ModelCopyAuthorization : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.ModelCopyAuthorization>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.ModelCopyAuthorization>
type ModelCopyAuthorization = class
    interface IJsonModel<ModelCopyAuthorization>
    interface IPersistableModel<ModelCopyAuthorization>
Public Class ModelCopyAuthorization
Implements IJsonModel(Of ModelCopyAuthorization), IPersistableModel(Of ModelCopyAuthorization)
Inheritance
ModelCopyAuthorization
Implements

Constructors

ModelCopyAuthorization(String, String, String, Uri, String, DateTimeOffset)

Initializes a new instance of ModelCopyAuthorization.

Properties

AccessToken

Token used to authorize the request.

ExpiresOn

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ModelCopyAuthorization>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ModelCopyAuthorization>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ModelCopyAuthorization>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ModelCopyAuthorization>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ModelCopyAuthorization>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to