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