Partilhar via


BaseCosmosDataTransferDataSourceSink Class

Definition

A base CosmosDB data source/sink Please note BaseCosmosDataTransferDataSourceSink 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 CosmosCassandraDataTransferDataSourceSink, CosmosMongoDataTransferDataSourceSink and CosmosSqlDataTransferDataSourceSink.

public class BaseCosmosDataTransferDataSourceSink : Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.BaseCosmosDataTransferDataSourceSink>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.BaseCosmosDataTransferDataSourceSink>
type BaseCosmosDataTransferDataSourceSink = class
    inherit DataTransferDataSourceSink
    interface IJsonModel<BaseCosmosDataTransferDataSourceSink>
    interface IPersistableModel<BaseCosmosDataTransferDataSourceSink>
Public Class BaseCosmosDataTransferDataSourceSink
Inherits DataTransferDataSourceSink
Implements IJsonModel(Of BaseCosmosDataTransferDataSourceSink), IPersistableModel(Of BaseCosmosDataTransferDataSourceSink)
Inheritance
BaseCosmosDataTransferDataSourceSink
Derived
Implements

Constructors

BaseCosmosDataTransferDataSourceSink()

Initializes a new instance of BaseCosmosDataTransferDataSourceSink.

Properties

RemoteAccountName

Gets or sets the remote account name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BaseCosmosDataTransferDataSourceSink>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BaseCosmosDataTransferDataSourceSink>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DataTransferDataSourceSink>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DataTransferDataSourceSink)
IJsonModel<DataTransferDataSourceSink>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataTransferDataSourceSink)
IPersistableModel<BaseCosmosDataTransferDataSourceSink>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BaseCosmosDataTransferDataSourceSink>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BaseCosmosDataTransferDataSourceSink>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DataTransferDataSourceSink>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataTransferDataSourceSink)
IPersistableModel<DataTransferDataSourceSink>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DataTransferDataSourceSink)
IPersistableModel<DataTransferDataSourceSink>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataTransferDataSourceSink)

Applies to