DataTransferJobProperties Constructor
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.
Initializes a new instance of DataTransferJobProperties.
public DataTransferJobProperties (Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink source, Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink destination);
new Azure.ResourceManager.CosmosDB.Models.DataTransferJobProperties : Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink * Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink -> Azure.ResourceManager.CosmosDB.Models.DataTransferJobProperties
Public Sub New (source As DataTransferDataSourceSink, destination As DataTransferDataSourceSink)
Parameters
- source
- DataTransferDataSourceSink
Source DataStore details 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.
- destination
- DataTransferDataSourceSink
Destination DataStore details 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.
Exceptions
source
or destination
is null.
Applies to
Azure SDK for .NET