Compartilhar via


CopyActivitySource Class

Definition

A copy activity source. Please note CopyActivitySource 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 AmazonMwsSource, AmazonRdsForOracleSource, AmazonRdsForSqlServerSource, AmazonRedshiftSource, AvroSource, AzureBlobFSSource, AzureDatabricksDeltaLakeSource, AzureDataExplorerSource, AzureDataLakeStoreSource, AzureMariaDBSource, AzureMySqlSource, AzurePostgreSqlSource, AzureSqlSource, AzureTableSource, BinarySource, DataFactoryBlobSource, CassandraSource, CommonDataServiceForAppsSource, ConcurSource, CosmosDBMongoDBApiSource, CosmosDBSqlApiSource, CouchbaseSource, Db2Source, DelimitedTextSource, DocumentDBCollectionSource, DrillSource, DynamicsAXSource, DynamicsCrmSource, DynamicsSource, EloquaSource, ExcelSource, FileSystemSource, GoogleAdWordsSource, GoogleBigQuerySource, GoogleBigQueryV2Source, GreenplumSource, HBaseSource, HdfsSource, HiveSource, DataFactoryHttpFileSource, HubspotSource, ImpalaSource, InformixSource, JiraSource, JsonSource, LakeHouseTableSource, MagentoSource, MariaDBSource, MarketoSource, MicrosoftAccessSource, MongoDBAtlasSource, MongoDBSource, MongoDBV2Source, MySqlSource, NetezzaSource, ODataSource, OdbcSource, Office365Source, OracleServiceCloudSource, OracleSource, OrcSource, ParquetSource, PaypalSource, PhoenixSource, PostgreSqlSource, PostgreSqlV2Source, PrestoSource, QuickBooksSource, RelationalSource, ResponsysSource, RestSource, SalesforceMarketingCloudSource, SalesforceServiceCloudSource, SalesforceServiceCloudV2Source, SalesforceSource, SalesforceV2Source, SapBWSource, SapCloudForCustomerSource, SapEccSource, SapHanaSource, SapOdpSource, SapOpenHubSource, SapTableSource, ServiceNowSource, ServiceNowV2Source, SharePointOnlineListSource, ShopifySource, SnowflakeSource, SnowflakeV2Source, SparkSource, SqlDWSource, SqlMISource, SqlServerSource, SqlSource, SquareSource, SybaseSource, TabularSource, TeradataSource, VerticaSource, WarehouseSource, WebSource, XeroSource, XmlSource and ZohoSource.

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

Constructors

CopyActivitySource()

Initializes a new instance of CopyActivitySource.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

DisableMetricsCollection

If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).

MaxConcurrentConnections

The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).

SourceRetryCount

Source retry count. Type: integer (or Expression with resultType integer).

SourceRetryWait

Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CopyActivitySource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CopyActivitySource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CopyActivitySource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CopyActivitySource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CopyActivitySource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to