Udostępnij za pośrednictwem


DataTransferDataSourceSink Class

Definition

Base class for all DataTransfer source/sink Please note DataTransferDataSourceSink is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureBlobDataTransferDataSourceSink, BaseCosmosDataTransferDataSourceSink, CosmosCassandraDataTransferDataSourceSink, CosmosMongoDataTransferDataSourceSink, CosmosMongoVCoreDataTransferDataSourceSink and CosmosSqlDataTransferDataSourceSink.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.CosmosDB.Models.UnknownDataTransferDataSourceSink))]
public abstract class DataTransferDataSourceSink : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.CosmosDB.Models.UnknownDataTransferDataSourceSink))>]
type DataTransferDataSourceSink = class
    interface IJsonModel<DataTransferDataSourceSink>
    interface IPersistableModel<DataTransferDataSourceSink>
Public MustInherit Class DataTransferDataSourceSink
Implements IJsonModel(Of DataTransferDataSourceSink), IPersistableModel(Of DataTransferDataSourceSink)
Inheritance
DataTransferDataSourceSink
Derived
Attributes
Implements

Constructors

DataTransferDataSourceSink()

Initializes a new instance of DataTransferDataSourceSink.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataTransferDataSourceSink>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataTransferDataSourceSink>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataTransferDataSourceSink>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataTransferDataSourceSink>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataTransferDataSourceSink>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to