DocumentTranslationInput 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.
Input for a translation operation. This requires that you have your source document or documents in an Azure Blob Storage container. The source document(s) are translated and written to the location provided in the TranslationTarget.
public class DocumentTranslationInput
public class DocumentTranslationInput : System.ClientModel.Primitives.IJsonModel<Azure.AI.Translation.Document.DocumentTranslationInput>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Translation.Document.DocumentTranslationInput>
type DocumentTranslationInput = class
type DocumentTranslationInput = class
interface IJsonModel<DocumentTranslationInput>
interface IPersistableModel<DocumentTranslationInput>
Public Class DocumentTranslationInput
Public Class DocumentTranslationInput
Implements IJsonModel(Of DocumentTranslationInput), IPersistableModel(Of DocumentTranslationInput)
- Inheritance
-
DocumentTranslationInput
- Implements
Constructors
DocumentTranslationInput(TranslationSource, IEnumerable<TranslationTarget>) |
Initializes a new instance of DocumentTranslationInput. |
DocumentTranslationInput(Uri, Uri, String, TranslationGlossary) |
Initializes a new instance of DocumentTranslationInput. |
Properties
Source |
Source of the input documents. |
StorageUriKind |
Storage URI kind of the input documents source string. |
Targets |
Location of the destination for the output. |
Methods
AddTarget(Uri, String, TranslationGlossary, String) |
Add a TranslationTarget to the translation input. |
Explicit Interface Implementations
IJsonModel<DocumentTranslationInput>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DocumentTranslationInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DocumentTranslationInput>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DocumentTranslationInput>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DocumentTranslationInput>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET