diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py index 298f059389b8..27923cee9f60 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py @@ -483,6 +483,7 @@ from ._models_py3 import SybaseLinkedService from ._models_py3 import SybaseSource from ._models_py3 import SybaseTableDataset + from ._models_py3 import TabularSource from ._models_py3 import TeradataLinkedService from ._models_py3 import TeradataPartitionSettings from ._models_py3 import TeradataSource @@ -999,6 +1000,7 @@ from ._models import SybaseLinkedService from ._models import SybaseSource from ._models import SybaseTableDataset + from ._models import TabularSource from ._models import TeradataLinkedService from ._models import TeradataPartitionSettings from ._models import TeradataSource @@ -1096,13 +1098,13 @@ AvroCompressionCodec, AzureFunctionActivityMethod, WebActivityMethod, + OraclePartitionOption, + SalesforceSourceReadBehavior, NetezzaPartitionOption, CassandraSourceReadConsistencyLevels, TeradataPartitionOption, - OraclePartitionOption, StoredProcedureParameterType, SapTablePartitionOption, - SalesforceSourceReadBehavior, SsisPackageLocationType, HDInsightActivityDebugInfoOption, SalesforceSinkWriteBehavior, @@ -1598,6 +1600,7 @@ 'SybaseLinkedService', 'SybaseSource', 'SybaseTableDataset', + 'TabularSource', 'TeradataLinkedService', 'TeradataPartitionSettings', 'TeradataSource', @@ -1694,13 +1697,13 @@ 'AvroCompressionCodec', 'AzureFunctionActivityMethod', 'WebActivityMethod', + 'OraclePartitionOption', + 'SalesforceSourceReadBehavior', 'NetezzaPartitionOption', 'CassandraSourceReadConsistencyLevels', 'TeradataPartitionOption', - 'OraclePartitionOption', 'StoredProcedureParameterType', 'SapTablePartitionOption', - 'SalesforceSourceReadBehavior', 'SsisPackageLocationType', 'HDInsightActivityDebugInfoOption', 'SalesforceSinkWriteBehavior', diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py index 8b3e08f32768..bdce41de8b49 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py @@ -370,6 +370,19 @@ class WebActivityMethod(str, Enum): delete = "DELETE" +class OraclePartitionOption(str, Enum): + + none = "None" + physical_partitions_of_table = "PhysicalPartitionsOfTable" + dynamic_range = "DynamicRange" + + +class SalesforceSourceReadBehavior(str, Enum): + + query = "Query" + query_all = "QueryAll" + + class NetezzaPartitionOption(str, Enum): none = "None" @@ -398,13 +411,6 @@ class TeradataPartitionOption(str, Enum): dynamic_range = "DynamicRange" -class OraclePartitionOption(str, Enum): - - none = "None" - physical_partitions_of_table = "PhysicalPartitionsOfTable" - dynamic_range = "DynamicRange" - - class StoredProcedureParameterType(str, Enum): string = "String" @@ -426,12 +432,6 @@ class SapTablePartitionOption(str, Enum): partition_on_time = "PartitionOnTime" -class SalesforceSourceReadBehavior(str, Enum): - - query = "Query" - query_all = "QueryAll" - - class SsisPackageLocationType(str, Enum): ssisdb = "SSISDB" diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py index a056f9732314..b375de9347ef 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models.py @@ -634,6 +634,64 @@ def __init__(self, **kwargs): class CopySource(Model): """A copy activity source. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: HttpSource, AzureBlobFSSource, AzureDataLakeStoreSource, + Office365Source, CosmosDbMongoDbApiSource, MongoDbV2Source, MongoDbSource, + WebSource, OracleSource, AzureDataExplorerSource, HdfsSource, + FileSystemSource, RestSource, SalesforceServiceCloudSource, ODataSource, + MicrosoftAccessSource, RelationalSource, CommonDataServiceForAppsSource, + DynamicsCrmSource, DynamicsSource, DocumentDbCollectionSource, BlobSource, + TabularSource, BinarySource, JsonSource, DelimitedTextSource, + ParquetSource, AvroSource + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are + deserialized this collection + :type additional_properties: dict[str, object] + :param source_retry_count: Source retry count. Type: integer (or + Expression with resultType integer). + :type source_retry_count: object + :param source_retry_wait: Source retry wait. Type: string (or Expression + with resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type source_retry_wait: object + :param max_concurrent_connections: The maximum concurrent connection count + for the source data store. Type: integer (or Expression with resultType + integer). + :type max_concurrent_connections: object + :param type: Required. Constant filled by server. + :type type: str + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, + 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, + 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + _subtype_map = { + 'type': {'HttpSource': 'HttpSource', 'AzureBlobFSSource': 'AzureBlobFSSource', 'AzureDataLakeStoreSource': 'AzureDataLakeStoreSource', 'Office365Source': 'Office365Source', 'CosmosDbMongoDbApiSource': 'CosmosDbMongoDbApiSource', 'MongoDbV2Source': 'MongoDbV2Source', 'MongoDbSource': 'MongoDbSource', 'WebSource': 'WebSource', 'OracleSource': 'OracleSource', 'AzureDataExplorerSource': 'AzureDataExplorerSource', 'HdfsSource': 'HdfsSource', 'FileSystemSource': 'FileSystemSource', 'RestSource': 'RestSource', 'SalesforceServiceCloudSource': 'SalesforceServiceCloudSource', 'ODataSource': 'ODataSource', 'MicrosoftAccessSource': 'MicrosoftAccessSource', 'RelationalSource': 'RelationalSource', 'CommonDataServiceForAppsSource': 'CommonDataServiceForAppsSource', 'DynamicsCrmSource': 'DynamicsCrmSource', 'DynamicsSource': 'DynamicsSource', 'DocumentDbCollectionSource': 'DocumentDbCollectionSource', 'BlobSource': 'BlobSource', 'TabularSource': 'TabularSource', 'BinarySource': 'BinarySource', 'JsonSource': 'JsonSource', 'DelimitedTextSource': 'DelimitedTextSource', 'ParquetSource': 'ParquetSource', 'AvroSource': 'AvroSource'} + } + + def __init__(self, **kwargs): + super(CopySource, self).__init__(**kwargs) + self.additional_properties = kwargs.get('additional_properties', None) + self.source_retry_count = kwargs.get('source_retry_count', None) + self.source_retry_wait = kwargs.get('source_retry_wait', None) + self.max_concurrent_connections = kwargs.get('max_concurrent_connections', None) + self.type = None + + +class TabularSource(CopySource): + """Copy activity sources of tabular type. + You probably want to use the sub-classes and not this class directly. Known sub-classes are: AmazonRedshiftSource, GoogleAdWordsSource, OracleServiceCloudSource, DynamicsAXSource, ResponsysSource, @@ -643,19 +701,12 @@ class CopySource(Model): AzureMariaDBSource, MariaDBSource, MagentoSource, JiraSource, ImpalaSource, HubspotSource, HiveSource, HBaseSource, GreenplumSource, GoogleBigQuerySource, EloquaSource, DrillSource, CouchbaseSource, - ConcurSource, AzurePostgreSqlSource, AmazonMWSSource, HttpSource, - AzureBlobFSSource, AzureDataLakeStoreSource, Office365Source, - CosmosDbMongoDbApiSource, MongoDbV2Source, MongoDbSource, CassandraSource, - WebSource, TeradataSource, OracleSource, AzureDataExplorerSource, - AzureMySqlSource, HdfsSource, FileSystemSource, SqlDWSource, SqlMISource, - AzureSqlSource, SqlServerSource, SqlSource, RestSource, SapTableSource, - SapOpenHubSource, SapHanaSource, SapEccSource, SapCloudForCustomerSource, - SalesforceServiceCloudSource, SalesforceSource, ODataSource, SapBwSource, - SybaseSource, PostgreSqlSource, MySqlSource, OdbcSource, Db2Source, - MicrosoftAccessSource, InformixSource, RelationalSource, - CommonDataServiceForAppsSource, DynamicsCrmSource, DynamicsSource, - DocumentDbCollectionSource, BlobSource, AzureTableSource, BinarySource, - JsonSource, DelimitedTextSource, ParquetSource, AvroSource + ConcurSource, AzurePostgreSqlSource, AmazonMWSSource, CassandraSource, + TeradataSource, AzureMySqlSource, SqlDWSource, SqlMISource, AzureSqlSource, + SqlServerSource, SqlSource, SapTableSource, SapOpenHubSource, + SapHanaSource, SapEccSource, SapCloudForCustomerSource, SalesforceSource, + SapBwSource, SybaseSource, PostgreSqlSource, MySqlSource, OdbcSource, + Db2Source, InformixSource, AzureTableSource All required parameters must be populated in order to send to Azure. @@ -675,6 +726,10 @@ class CopySource(Model): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -687,22 +742,20 @@ class CopySource(Model): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } _subtype_map = { - 'type': {'AmazonRedshiftSource': 'AmazonRedshiftSource', 'GoogleAdWordsSource': 'GoogleAdWordsSource', 'OracleServiceCloudSource': 'OracleServiceCloudSource', 'DynamicsAXSource': 'DynamicsAXSource', 'ResponsysSource': 'ResponsysSource', 'SalesforceMarketingCloudSource': 'SalesforceMarketingCloudSource', 'VerticaSource': 'VerticaSource', 'NetezzaSource': 'NetezzaSource', 'ZohoSource': 'ZohoSource', 'XeroSource': 'XeroSource', 'SquareSource': 'SquareSource', 'SparkSource': 'SparkSource', 'ShopifySource': 'ShopifySource', 'ServiceNowSource': 'ServiceNowSource', 'QuickBooksSource': 'QuickBooksSource', 'PrestoSource': 'PrestoSource', 'PhoenixSource': 'PhoenixSource', 'PaypalSource': 'PaypalSource', 'MarketoSource': 'MarketoSource', 'AzureMariaDBSource': 'AzureMariaDBSource', 'MariaDBSource': 'MariaDBSource', 'MagentoSource': 'MagentoSource', 'JiraSource': 'JiraSource', 'ImpalaSource': 'ImpalaSource', 'HubspotSource': 'HubspotSource', 'HiveSource': 'HiveSource', 'HBaseSource': 'HBaseSource', 'GreenplumSource': 'GreenplumSource', 'GoogleBigQuerySource': 'GoogleBigQuerySource', 'EloquaSource': 'EloquaSource', 'DrillSource': 'DrillSource', 'CouchbaseSource': 'CouchbaseSource', 'ConcurSource': 'ConcurSource', 'AzurePostgreSqlSource': 'AzurePostgreSqlSource', 'AmazonMWSSource': 'AmazonMWSSource', 'HttpSource': 'HttpSource', 'AzureBlobFSSource': 'AzureBlobFSSource', 'AzureDataLakeStoreSource': 'AzureDataLakeStoreSource', 'Office365Source': 'Office365Source', 'CosmosDbMongoDbApiSource': 'CosmosDbMongoDbApiSource', 'MongoDbV2Source': 'MongoDbV2Source', 'MongoDbSource': 'MongoDbSource', 'CassandraSource': 'CassandraSource', 'WebSource': 'WebSource', 'TeradataSource': 'TeradataSource', 'OracleSource': 'OracleSource', 'AzureDataExplorerSource': 'AzureDataExplorerSource', 'AzureMySqlSource': 'AzureMySqlSource', 'HdfsSource': 'HdfsSource', 'FileSystemSource': 'FileSystemSource', 'SqlDWSource': 'SqlDWSource', 'SqlMISource': 'SqlMISource', 'AzureSqlSource': 'AzureSqlSource', 'SqlServerSource': 'SqlServerSource', 'SqlSource': 'SqlSource', 'RestSource': 'RestSource', 'SapTableSource': 'SapTableSource', 'SapOpenHubSource': 'SapOpenHubSource', 'SapHanaSource': 'SapHanaSource', 'SapEccSource': 'SapEccSource', 'SapCloudForCustomerSource': 'SapCloudForCustomerSource', 'SalesforceServiceCloudSource': 'SalesforceServiceCloudSource', 'SalesforceSource': 'SalesforceSource', 'ODataSource': 'ODataSource', 'SapBwSource': 'SapBwSource', 'SybaseSource': 'SybaseSource', 'PostgreSqlSource': 'PostgreSqlSource', 'MySqlSource': 'MySqlSource', 'OdbcSource': 'OdbcSource', 'Db2Source': 'Db2Source', 'MicrosoftAccessSource': 'MicrosoftAccessSource', 'InformixSource': 'InformixSource', 'RelationalSource': 'RelationalSource', 'CommonDataServiceForAppsSource': 'CommonDataServiceForAppsSource', 'DynamicsCrmSource': 'DynamicsCrmSource', 'DynamicsSource': 'DynamicsSource', 'DocumentDbCollectionSource': 'DocumentDbCollectionSource', 'BlobSource': 'BlobSource', 'AzureTableSource': 'AzureTableSource', 'BinarySource': 'BinarySource', 'JsonSource': 'JsonSource', 'DelimitedTextSource': 'DelimitedTextSource', 'ParquetSource': 'ParquetSource', 'AvroSource': 'AvroSource'} + 'type': {'AmazonRedshiftSource': 'AmazonRedshiftSource', 'GoogleAdWordsSource': 'GoogleAdWordsSource', 'OracleServiceCloudSource': 'OracleServiceCloudSource', 'DynamicsAXSource': 'DynamicsAXSource', 'ResponsysSource': 'ResponsysSource', 'SalesforceMarketingCloudSource': 'SalesforceMarketingCloudSource', 'VerticaSource': 'VerticaSource', 'NetezzaSource': 'NetezzaSource', 'ZohoSource': 'ZohoSource', 'XeroSource': 'XeroSource', 'SquareSource': 'SquareSource', 'SparkSource': 'SparkSource', 'ShopifySource': 'ShopifySource', 'ServiceNowSource': 'ServiceNowSource', 'QuickBooksSource': 'QuickBooksSource', 'PrestoSource': 'PrestoSource', 'PhoenixSource': 'PhoenixSource', 'PaypalSource': 'PaypalSource', 'MarketoSource': 'MarketoSource', 'AzureMariaDBSource': 'AzureMariaDBSource', 'MariaDBSource': 'MariaDBSource', 'MagentoSource': 'MagentoSource', 'JiraSource': 'JiraSource', 'ImpalaSource': 'ImpalaSource', 'HubspotSource': 'HubspotSource', 'HiveSource': 'HiveSource', 'HBaseSource': 'HBaseSource', 'GreenplumSource': 'GreenplumSource', 'GoogleBigQuerySource': 'GoogleBigQuerySource', 'EloquaSource': 'EloquaSource', 'DrillSource': 'DrillSource', 'CouchbaseSource': 'CouchbaseSource', 'ConcurSource': 'ConcurSource', 'AzurePostgreSqlSource': 'AzurePostgreSqlSource', 'AmazonMWSSource': 'AmazonMWSSource', 'CassandraSource': 'CassandraSource', 'TeradataSource': 'TeradataSource', 'AzureMySqlSource': 'AzureMySqlSource', 'SqlDWSource': 'SqlDWSource', 'SqlMISource': 'SqlMISource', 'AzureSqlSource': 'AzureSqlSource', 'SqlServerSource': 'SqlServerSource', 'SqlSource': 'SqlSource', 'SapTableSource': 'SapTableSource', 'SapOpenHubSource': 'SapOpenHubSource', 'SapHanaSource': 'SapHanaSource', 'SapEccSource': 'SapEccSource', 'SapCloudForCustomerSource': 'SapCloudForCustomerSource', 'SalesforceSource': 'SalesforceSource', 'SapBwSource': 'SapBwSource', 'SybaseSource': 'SybaseSource', 'PostgreSqlSource': 'PostgreSqlSource', 'MySqlSource': 'MySqlSource', 'OdbcSource': 'OdbcSource', 'Db2Source': 'Db2Source', 'InformixSource': 'InformixSource', 'AzureTableSource': 'AzureTableSource'} } def __init__(self, **kwargs): - super(CopySource, self).__init__(**kwargs) - self.additional_properties = kwargs.get('additional_properties', None) - self.source_retry_count = kwargs.get('source_retry_count', None) - self.source_retry_wait = kwargs.get('source_retry_wait', None) - self.max_concurrent_connections = kwargs.get('max_concurrent_connections', None) - self.type = None + super(TabularSource, self).__init__(**kwargs) + self.query_timeout = kwargs.get('query_timeout', None) + self.type = 'TabularSource' -class AmazonMWSSource(CopySource): +class AmazonMWSSource(TabularSource): """A copy activity Amazon Marketplace Web Service source. All required parameters must be populated in order to send to Azure. @@ -723,6 +776,10 @@ class AmazonMWSSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -738,6 +795,7 @@ class AmazonMWSSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -821,7 +879,7 @@ def __init__(self, **kwargs): self.type = 'AmazonRedshift' -class AmazonRedshiftSource(CopySource): +class AmazonRedshiftSource(TabularSource): """A copy activity source for Amazon Redshift Source. All required parameters must be populated in order to send to Azure. @@ -842,6 +900,10 @@ class AmazonRedshiftSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -863,6 +925,7 @@ class AmazonRedshiftSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'redshift_unload_settings': {'key': 'redshiftUnloadSettings', 'type': 'RedshiftUnloadSettings'}, } @@ -3867,7 +3930,7 @@ def __init__(self, **kwargs): self.type = 'AzureMariaDB' -class AzureMariaDBSource(CopySource): +class AzureMariaDBSource(TabularSource): """A copy activity Azure MariaDB source. All required parameters must be populated in order to send to Azure. @@ -3888,6 +3951,10 @@ class AzureMariaDBSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -3903,6 +3970,7 @@ class AzureMariaDBSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -4337,7 +4405,7 @@ def __init__(self, **kwargs): self.type = 'AzureMySqlSink' -class AzureMySqlSource(CopySource): +class AzureMySqlSource(TabularSource): """A copy activity Azure MySQL source. All required parameters must be populated in order to send to Azure. @@ -4358,6 +4426,10 @@ class AzureMySqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -4373,6 +4445,7 @@ class AzureMySqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -4554,7 +4627,7 @@ def __init__(self, **kwargs): self.type = 'AzurePostgreSqlSink' -class AzurePostgreSqlSource(CopySource): +class AzurePostgreSqlSource(TabularSource): """A copy activity Azure PostgreSQL source. All required parameters must be populated in order to send to Azure. @@ -4575,6 +4648,10 @@ class AzurePostgreSqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -4590,6 +4667,7 @@ class AzurePostgreSqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -5340,7 +5418,7 @@ def __init__(self, **kwargs): self.type = 'AzureSqlSink' -class AzureSqlSource(CopySource): +class AzureSqlSource(TabularSource): """A copy activity Azure SQL source. All required parameters must be populated in order to send to Azure. @@ -5361,6 +5439,10 @@ class AzureSqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -5386,6 +5468,7 @@ class AzureSqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -5672,7 +5755,7 @@ def __init__(self, **kwargs): self.type = 'AzureTableSink' -class AzureTableSource(CopySource): +class AzureTableSource(TabularSource): """A copy activity Azure Table source. All required parameters must be populated in order to send to Azure. @@ -5693,6 +5776,10 @@ class AzureTableSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param azure_table_source_query: Azure Table source query. Type: string (or Expression with resultType string). :type azure_table_source_query: object @@ -5712,6 +5799,7 @@ class AzureTableSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'azure_table_source_query': {'key': 'azureTableSourceQuery', 'type': 'object'}, 'azure_table_source_ignore_table_not_found': {'key': 'azureTableSourceIgnoreTableNotFound', 'type': 'object'}, } @@ -6403,7 +6491,7 @@ def __init__(self, **kwargs): self.type = 'Cassandra' -class CassandraSource(CopySource): +class CassandraSource(TabularSource): """A copy activity source for a Cassandra database. All required parameters must be populated in order to send to Azure. @@ -6424,6 +6512,10 @@ class CassandraSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). @@ -6450,6 +6542,7 @@ class CassandraSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'consistency_level': {'key': 'consistencyLevel', 'type': 'str'}, } @@ -6988,7 +7081,7 @@ def __init__(self, **kwargs): self.type = 'ConcurObject' -class ConcurSource(CopySource): +class ConcurSource(TabularSource): """A copy activity Concur Service source. All required parameters must be populated in order to send to Azure. @@ -7009,6 +7102,10 @@ class ConcurSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -7024,6 +7121,7 @@ class ConcurSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -7410,6 +7508,10 @@ class CosmosDbMongoDbApiSource(CopySource): main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). :type batch_size: object + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -7425,6 +7527,7 @@ class CosmosDbMongoDbApiSource(CopySource): 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } def __init__(self, **kwargs): @@ -7432,6 +7535,7 @@ def __init__(self, **kwargs): self.filter = kwargs.get('filter', None) self.cursor_methods = kwargs.get('cursor_methods', None) self.batch_size = kwargs.get('batch_size', None) + self.query_timeout = kwargs.get('query_timeout', None) self.type = 'CosmosDbMongoDbApiSource' @@ -7493,7 +7597,7 @@ def __init__(self, **kwargs): self.type = 'Couchbase' -class CouchbaseSource(CopySource): +class CouchbaseSource(TabularSource): """A copy activity Couchbase server source. All required parameters must be populated in order to send to Azure. @@ -7514,6 +7618,10 @@ class CouchbaseSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -7529,6 +7637,7 @@ class CouchbaseSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -8489,7 +8598,7 @@ def __init__(self, **kwargs): self.type = 'Db2' -class Db2Source(CopySource): +class Db2Source(TabularSource): """A copy activity source for Db2 databases. All required parameters must be populated in order to send to Azure. @@ -8510,6 +8619,10 @@ class Db2Source(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -8525,6 +8638,7 @@ class Db2Source(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -9205,6 +9319,10 @@ class DocumentDbCollectionSource(CopySource): :param nesting_separator: Nested properties separator. Type: string (or Expression with resultType string). :type nesting_separator: object + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -9219,12 +9337,14 @@ class DocumentDbCollectionSource(CopySource): 'type': {'key': 'type', 'type': 'str'}, 'query': {'key': 'query', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } def __init__(self, **kwargs): super(DocumentDbCollectionSource, self).__init__(**kwargs) self.query = kwargs.get('query', None) self.nesting_separator = kwargs.get('nesting_separator', None) + self.query_timeout = kwargs.get('query_timeout', None) self.type = 'DocumentDbCollectionSource' @@ -9285,7 +9405,7 @@ def __init__(self, **kwargs): self.type = 'Drill' -class DrillSource(CopySource): +class DrillSource(TabularSource): """A copy activity Drill server source. All required parameters must be populated in order to send to Azure. @@ -9306,6 +9426,10 @@ class DrillSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -9321,6 +9445,7 @@ class DrillSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -9542,7 +9667,7 @@ def __init__(self, **kwargs): self.type = 'DynamicsAXResource' -class DynamicsAXSource(CopySource): +class DynamicsAXSource(TabularSource): """A copy activity Dynamics AX source. All required parameters must be populated in order to send to Azure. @@ -9563,6 +9688,10 @@ class DynamicsAXSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -9578,6 +9707,7 @@ class DynamicsAXSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -10265,7 +10395,7 @@ def __init__(self, **kwargs): self.type = 'EloquaObject' -class EloquaSource(CopySource): +class EloquaSource(TabularSource): """A copy activity Eloqua server source. All required parameters must be populated in order to send to Azure. @@ -10286,6 +10416,10 @@ class EloquaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -10301,6 +10435,7 @@ class EloquaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -11862,7 +11997,7 @@ def __init__(self, **kwargs): self.type = 'GoogleAdWordsObject' -class GoogleAdWordsSource(CopySource): +class GoogleAdWordsSource(TabularSource): """A copy activity Google AdWords service source. All required parameters must be populated in order to send to Azure. @@ -11883,6 +12018,10 @@ class GoogleAdWordsSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -11898,6 +12037,7 @@ class GoogleAdWordsSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -12089,7 +12229,7 @@ def __init__(self, **kwargs): self.type = 'GoogleBigQueryObject' -class GoogleBigQuerySource(CopySource): +class GoogleBigQuerySource(TabularSource): """A copy activity Google BigQuery service source. All required parameters must be populated in order to send to Azure. @@ -12110,6 +12250,10 @@ class GoogleBigQuerySource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12125,6 +12269,7 @@ class GoogleBigQuerySource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -12191,7 +12336,7 @@ def __init__(self, **kwargs): self.type = 'Greenplum' -class GreenplumSource(CopySource): +class GreenplumSource(TabularSource): """A copy activity Greenplum Database source. All required parameters must be populated in order to send to Azure. @@ -12212,6 +12357,10 @@ class GreenplumSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12227,6 +12376,7 @@ class GreenplumSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -12468,7 +12618,7 @@ def __init__(self, **kwargs): self.type = 'HBaseObject' -class HBaseSource(CopySource): +class HBaseSource(TabularSource): """A copy activity HBase server source. All required parameters must be populated in order to send to Azure. @@ -12489,6 +12639,10 @@ class HBaseSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12504,6 +12658,7 @@ class HBaseSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -13688,7 +13843,7 @@ def __init__(self, **kwargs): self.type = 'HiveObject' -class HiveSource(CopySource): +class HiveSource(TabularSource): """A copy activity Hive Server source. All required parameters must be populated in order to send to Azure. @@ -13709,6 +13864,10 @@ class HiveSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -13724,6 +13883,7 @@ class HiveSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -14194,7 +14354,7 @@ def __init__(self, **kwargs): self.type = 'HubspotObject' -class HubspotSource(CopySource): +class HubspotSource(TabularSource): """A copy activity Hubspot Service source. All required parameters must be populated in order to send to Azure. @@ -14215,6 +14375,10 @@ class HubspotSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -14230,6 +14394,7 @@ class HubspotSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -14474,7 +14639,7 @@ def __init__(self, **kwargs): self.type = 'ImpalaObject' -class ImpalaSource(CopySource): +class ImpalaSource(TabularSource): """A copy activity Impala server source. All required parameters must be populated in order to send to Azure. @@ -14495,6 +14660,10 @@ class ImpalaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -14510,6 +14679,7 @@ class ImpalaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -14647,7 +14817,7 @@ def __init__(self, **kwargs): self.type = 'InformixSink' -class InformixSource(CopySource): +class InformixSource(TabularSource): """A copy activity source for Informix. All required parameters must be populated in order to send to Azure. @@ -14668,6 +14838,10 @@ class InformixSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -14683,6 +14857,7 @@ class InformixSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -15541,7 +15716,7 @@ def __init__(self, **kwargs): self.type = 'JiraObject' -class JiraSource(CopySource): +class JiraSource(TabularSource): """A copy activity Jira Service source. All required parameters must be populated in order to send to Azure. @@ -15562,6 +15737,10 @@ class JiraSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -15577,6 +15756,7 @@ class JiraSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -16324,7 +16504,7 @@ def __init__(self, **kwargs): self.type = 'MagentoObject' -class MagentoSource(CopySource): +class MagentoSource(TabularSource): """A copy activity Magento server source. All required parameters must be populated in order to send to Azure. @@ -16345,6 +16525,10 @@ class MagentoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16360,6 +16544,7 @@ class MagentoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -16681,7 +16866,7 @@ def __init__(self, **kwargs): self.type = 'MariaDB' -class MariaDBSource(CopySource): +class MariaDBSource(TabularSource): """A copy activity MariaDB server source. All required parameters must be populated in order to send to Azure. @@ -16702,6 +16887,10 @@ class MariaDBSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16717,6 +16906,7 @@ class MariaDBSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -16924,7 +17114,7 @@ def __init__(self, **kwargs): self.type = 'MarketoObject' -class MarketoSource(CopySource): +class MarketoSource(TabularSource): """A copy activity Marketo server source. All required parameters must be populated in order to send to Azure. @@ -16945,6 +17135,10 @@ class MarketoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16960,6 +17154,7 @@ class MarketoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -17595,6 +17790,10 @@ class MongoDbV2Source(CopySource): main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). :type batch_size: object + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -17610,6 +17809,7 @@ class MongoDbV2Source(CopySource): 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } def __init__(self, **kwargs): @@ -17617,6 +17817,7 @@ def __init__(self, **kwargs): self.filter = kwargs.get('filter', None) self.cursor_methods = kwargs.get('cursor_methods', None) self.batch_size = kwargs.get('batch_size', None) + self.query_timeout = kwargs.get('query_timeout', None) self.type = 'MongoDbV2Source' @@ -17678,7 +17879,7 @@ def __init__(self, **kwargs): self.type = 'MySql' -class MySqlSource(CopySource): +class MySqlSource(TabularSource): """A copy activity source for MySQL databases. All required parameters must be populated in order to send to Azure. @@ -17699,6 +17900,10 @@ class MySqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -17714,6 +17919,7 @@ class MySqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -17870,7 +18076,7 @@ def __init__(self, **kwargs): self.partition_lower_bound = kwargs.get('partition_lower_bound', None) -class NetezzaSource(CopySource): +class NetezzaSource(TabularSource): """A copy activity Netezza source. All required parameters must be populated in order to send to Azure. @@ -17891,6 +18097,10 @@ class NetezzaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -17915,6 +18125,7 @@ class NetezzaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'NetezzaPartitionSettings'}, @@ -18346,7 +18557,7 @@ def __init__(self, **kwargs): self.type = 'OdbcSink' -class OdbcSource(CopySource): +class OdbcSource(TabularSource): """A copy activity source for ODBC databases. All required parameters must be populated in order to send to Azure. @@ -18367,6 +18578,10 @@ class OdbcSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -18382,6 +18597,7 @@ class OdbcSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -19098,7 +19314,7 @@ def __init__(self, **kwargs): self.type = 'OracleServiceCloudObject' -class OracleServiceCloudSource(CopySource): +class OracleServiceCloudSource(TabularSource): """A copy activity Oracle Service Cloud source. All required parameters must be populated in order to send to Azure. @@ -19119,6 +19335,10 @@ class OracleServiceCloudSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -19134,6 +19354,7 @@ class OracleServiceCloudSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -19727,7 +19948,7 @@ def __init__(self, **kwargs): self.type = 'PaypalObject' -class PaypalSource(CopySource): +class PaypalSource(TabularSource): """A copy activity Paypal Service source. All required parameters must be populated in order to send to Azure. @@ -19748,6 +19969,10 @@ class PaypalSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -19763,6 +19988,7 @@ class PaypalSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -19951,7 +20177,7 @@ def __init__(self, **kwargs): self.type = 'PhoenixObject' -class PhoenixSource(CopySource): +class PhoenixSource(TabularSource): """A copy activity Phoenix server source. All required parameters must be populated in order to send to Azure. @@ -19972,6 +20198,10 @@ class PhoenixSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -19987,6 +20217,7 @@ class PhoenixSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -20367,7 +20598,7 @@ def __init__(self, **kwargs): self.type = 'PostgreSql' -class PostgreSqlSource(CopySource): +class PostgreSqlSource(TabularSource): """A copy activity source for PostgreSQL databases. All required parameters must be populated in order to send to Azure. @@ -20388,6 +20619,10 @@ class PostgreSqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -20403,6 +20638,7 @@ class PostgreSqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -20672,7 +20908,7 @@ def __init__(self, **kwargs): self.type = 'PrestoObject' -class PrestoSource(CopySource): +class PrestoSource(TabularSource): """A copy activity Presto server source. All required parameters must be populated in order to send to Azure. @@ -20693,6 +20929,10 @@ class PrestoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -20708,6 +20948,7 @@ class PrestoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -20865,7 +21106,7 @@ def __init__(self, **kwargs): self.type = 'QuickBooksObject' -class QuickBooksSource(CopySource): +class QuickBooksSource(TabularSource): """A copy activity QuickBooks server source. All required parameters must be populated in order to send to Azure. @@ -20886,6 +21127,10 @@ class QuickBooksSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -20901,6 +21146,7 @@ class QuickBooksSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -21435,7 +21681,7 @@ def __init__(self, **kwargs): self.type = 'ResponsysObject' -class ResponsysSource(CopySource): +class ResponsysSource(TabularSource): """A copy activity Responsys source. All required parameters must be populated in order to send to Azure. @@ -21456,6 +21702,10 @@ class ResponsysSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -21471,6 +21721,7 @@ class ResponsysSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -22082,7 +22333,7 @@ def __init__(self, **kwargs): self.type = 'SalesforceMarketingCloudObject' -class SalesforceMarketingCloudSource(CopySource): +class SalesforceMarketingCloudSource(TabularSource): """A copy activity Salesforce Marketing Cloud source. All required parameters must be populated in order to send to Azure. @@ -22103,6 +22354,10 @@ class SalesforceMarketingCloudSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -22118,6 +22373,7 @@ class SalesforceMarketingCloudSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -22517,7 +22773,7 @@ def __init__(self, **kwargs): self.type = 'SalesforceSink' -class SalesforceSource(CopySource): +class SalesforceSource(TabularSource): """A copy activity Salesforce source. All required parameters must be populated in order to send to Azure. @@ -22538,6 +22794,10 @@ class SalesforceSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -22557,6 +22817,7 @@ class SalesforceSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, } @@ -22699,7 +22960,7 @@ def __init__(self, **kwargs): self.type = 'SapBW' -class SapBwSource(CopySource): +class SapBwSource(TabularSource): """A copy activity source for SapBW server via MDX. All required parameters must be populated in order to send to Azure. @@ -22720,6 +22981,10 @@ class SapBwSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: MDX query. Type: string (or Expression with resultType string). :type query: object @@ -22735,6 +23000,7 @@ class SapBwSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -22924,7 +23190,7 @@ def __init__(self, **kwargs): self.type = 'SapCloudForCustomerSink' -class SapCloudForCustomerSource(CopySource): +class SapCloudForCustomerSource(TabularSource): """A copy activity source for SAP Cloud for Customer source. All required parameters must be populated in order to send to Azure. @@ -22945,6 +23211,10 @@ class SapCloudForCustomerSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -22960,6 +23230,7 @@ class SapCloudForCustomerSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -23094,7 +23365,7 @@ def __init__(self, **kwargs): self.type = 'SapEccResource' -class SapEccSource(CopySource): +class SapEccSource(TabularSource): """A copy activity source for SAP ECC source. All required parameters must be populated in order to send to Azure. @@ -23115,6 +23386,10 @@ class SapEccSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -23130,6 +23405,7 @@ class SapEccSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -23212,7 +23488,7 @@ def __init__(self, **kwargs): self.type = 'SapHana' -class SapHanaSource(CopySource): +class SapHanaSource(TabularSource): """A copy activity source for SAP HANA source. All required parameters must be populated in order to send to Azure. @@ -23233,6 +23509,10 @@ class SapHanaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: SAP HANA Sql query. Type: string (or Expression with resultType string). :type query: object @@ -23251,6 +23531,7 @@ class SapHanaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'packet_size': {'key': 'packetSize', 'type': 'object'}, } @@ -23414,7 +23695,7 @@ def __init__(self, **kwargs): self.type = 'SapOpenHub' -class SapOpenHubSource(CopySource): +class SapOpenHubSource(TabularSource): """A copy activity source for SAP Business Warehouse Open Hub Destination source. @@ -23436,6 +23717,10 @@ class SapOpenHubSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param exclude_last_request: Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). @@ -23457,6 +23742,7 @@ class SapOpenHubSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'exclude_last_request': {'key': 'excludeLastRequest', 'type': 'object'}, 'base_request_id': {'key': 'baseRequestId', 'type': 'object'}, } @@ -23767,7 +24053,7 @@ def __init__(self, **kwargs): self.type = 'SapTableResource' -class SapTableSource(CopySource): +class SapTableSource(TabularSource): """A copy activity source for SAP Table source. All required parameters must be populated in order to send to Azure. @@ -23788,6 +24074,10 @@ class SapTableSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param row_count: The number of rows to be retrieved. Type: integer(or Expression with resultType integer). :type row_count: object @@ -23832,6 +24122,7 @@ class SapTableSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'row_count': {'key': 'rowCount', 'type': 'object'}, 'row_skips': {'key': 'rowSkips', 'type': 'object'}, 'rfc_table_fields': {'key': 'rfcTableFields', 'type': 'object'}, @@ -24497,7 +24788,7 @@ def __init__(self, **kwargs): self.type = 'ServiceNowObject' -class ServiceNowSource(CopySource): +class ServiceNowSource(TabularSource): """A copy activity ServiceNow server source. All required parameters must be populated in order to send to Azure. @@ -24518,6 +24809,10 @@ class ServiceNowSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -24533,6 +24828,7 @@ class ServiceNowSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -24919,7 +25215,7 @@ def __init__(self, **kwargs): self.type = 'ShopifyObject' -class ShopifySource(CopySource): +class ShopifySource(TabularSource): """A copy activity Shopify Service source. All required parameters must be populated in order to send to Azure. @@ -24940,6 +25236,10 @@ class ShopifySource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -24955,6 +25255,7 @@ class ShopifySource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -25153,7 +25454,7 @@ def __init__(self, **kwargs): self.type = 'SparkObject' -class SparkSource(CopySource): +class SparkSource(TabularSource): """A copy activity Spark Server source. All required parameters must be populated in order to send to Azure. @@ -25174,6 +25475,10 @@ class SparkSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -25189,6 +25494,7 @@ class SparkSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -25269,7 +25575,7 @@ def __init__(self, **kwargs): self.type = 'SqlDWSink' -class SqlDWSource(CopySource): +class SqlDWSource(TabularSource): """A copy activity SQL Data Warehouse source. All required parameters must be populated in order to send to Azure. @@ -25290,6 +25596,10 @@ class SqlDWSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL Data Warehouse reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25314,6 +25624,7 @@ class SqlDWSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': 'object'}, @@ -25408,7 +25719,7 @@ def __init__(self, **kwargs): self.type = 'SqlMISink' -class SqlMISource(CopySource): +class SqlMISource(TabularSource): """A copy activity Azure SQL Managed Instance source. All required parameters must be populated in order to send to Azure. @@ -25429,6 +25740,10 @@ class SqlMISource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25454,6 +25769,7 @@ class SqlMISource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -25612,7 +25928,7 @@ def __init__(self, **kwargs): self.type = 'SqlServerSink' -class SqlServerSource(CopySource): +class SqlServerSource(TabularSource): """A copy activity SQL server source. All required parameters must be populated in order to send to Azure. @@ -25633,6 +25949,10 @@ class SqlServerSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25658,6 +25978,7 @@ class SqlServerSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -25882,7 +26203,7 @@ def __init__(self, **kwargs): self.type = 'SqlSink' -class SqlSource(CopySource): +class SqlSource(TabularSource): """A copy activity SQL source. All required parameters must be populated in order to send to Azure. @@ -25903,6 +26224,10 @@ class SqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25926,6 +26251,7 @@ class SqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -26085,7 +26411,7 @@ def __init__(self, **kwargs): self.type = 'SquareObject' -class SquareSource(CopySource): +class SquareSource(TabularSource): """A copy activity Square Service source. All required parameters must be populated in order to send to Azure. @@ -26106,6 +26432,10 @@ class SquareSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -26121,6 +26451,7 @@ class SquareSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -26856,7 +27187,7 @@ def __init__(self, **kwargs): self.type = 'Sybase' -class SybaseSource(CopySource): +class SybaseSource(TabularSource): """A copy activity source for Sybase databases. All required parameters must be populated in order to send to Azure. @@ -26877,6 +27208,10 @@ class SybaseSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -26892,6 +27227,7 @@ class SybaseSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -27063,7 +27399,7 @@ def __init__(self, **kwargs): self.partition_lower_bound = kwargs.get('partition_lower_bound', None) -class TeradataSource(CopySource): +class TeradataSource(TabularSource): """A copy activity Teradata source. All required parameters must be populated in order to send to Azure. @@ -27084,6 +27420,10 @@ class TeradataSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Teradata query. Type: string (or Expression with resultType string). :type query: object @@ -27108,6 +27448,7 @@ class TeradataSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'TeradataPartitionSettings'}, @@ -27989,7 +28330,7 @@ def __init__(self, **kwargs): self.type = 'Vertica' -class VerticaSource(CopySource): +class VerticaSource(TabularSource): """A copy activity Vertica source. All required parameters must be populated in order to send to Azure. @@ -28010,6 +28351,10 @@ class VerticaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -28025,6 +28370,7 @@ class VerticaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -28797,7 +29143,7 @@ def __init__(self, **kwargs): self.type = 'XeroObject' -class XeroSource(CopySource): +class XeroSource(TabularSource): """A copy activity Xero Service source. All required parameters must be populated in order to send to Azure. @@ -28818,6 +29164,10 @@ class XeroSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -28833,6 +29183,7 @@ class XeroSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -28975,7 +29326,7 @@ def __init__(self, **kwargs): self.type = 'ZohoObject' -class ZohoSource(CopySource): +class ZohoSource(TabularSource): """A copy activity Zoho server source. All required parameters must be populated in order to send to Azure. @@ -28996,6 +29347,10 @@ class ZohoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -29011,6 +29366,7 @@ class ZohoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } diff --git a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py index 6449023a7260..e1f9684d09e2 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py +++ b/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py @@ -634,6 +634,64 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti class CopySource(Model): """A copy activity source. + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: HttpSource, AzureBlobFSSource, AzureDataLakeStoreSource, + Office365Source, CosmosDbMongoDbApiSource, MongoDbV2Source, MongoDbSource, + WebSource, OracleSource, AzureDataExplorerSource, HdfsSource, + FileSystemSource, RestSource, SalesforceServiceCloudSource, ODataSource, + MicrosoftAccessSource, RelationalSource, CommonDataServiceForAppsSource, + DynamicsCrmSource, DynamicsSource, DocumentDbCollectionSource, BlobSource, + TabularSource, BinarySource, JsonSource, DelimitedTextSource, + ParquetSource, AvroSource + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are + deserialized this collection + :type additional_properties: dict[str, object] + :param source_retry_count: Source retry count. Type: integer (or + Expression with resultType integer). + :type source_retry_count: object + :param source_retry_wait: Source retry wait. Type: string (or Expression + with resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type source_retry_wait: object + :param max_concurrent_connections: The maximum concurrent connection count + for the source data store. Type: integer (or Expression with resultType + integer). + :type max_concurrent_connections: object + :param type: Required. Constant filled by server. + :type type: str + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, + 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, + 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + _subtype_map = { + 'type': {'HttpSource': 'HttpSource', 'AzureBlobFSSource': 'AzureBlobFSSource', 'AzureDataLakeStoreSource': 'AzureDataLakeStoreSource', 'Office365Source': 'Office365Source', 'CosmosDbMongoDbApiSource': 'CosmosDbMongoDbApiSource', 'MongoDbV2Source': 'MongoDbV2Source', 'MongoDbSource': 'MongoDbSource', 'WebSource': 'WebSource', 'OracleSource': 'OracleSource', 'AzureDataExplorerSource': 'AzureDataExplorerSource', 'HdfsSource': 'HdfsSource', 'FileSystemSource': 'FileSystemSource', 'RestSource': 'RestSource', 'SalesforceServiceCloudSource': 'SalesforceServiceCloudSource', 'ODataSource': 'ODataSource', 'MicrosoftAccessSource': 'MicrosoftAccessSource', 'RelationalSource': 'RelationalSource', 'CommonDataServiceForAppsSource': 'CommonDataServiceForAppsSource', 'DynamicsCrmSource': 'DynamicsCrmSource', 'DynamicsSource': 'DynamicsSource', 'DocumentDbCollectionSource': 'DocumentDbCollectionSource', 'BlobSource': 'BlobSource', 'TabularSource': 'TabularSource', 'BinarySource': 'BinarySource', 'JsonSource': 'JsonSource', 'DelimitedTextSource': 'DelimitedTextSource', 'ParquetSource': 'ParquetSource', 'AvroSource': 'AvroSource'} + } + + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, **kwargs) -> None: + super(CopySource, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.source_retry_count = source_retry_count + self.source_retry_wait = source_retry_wait + self.max_concurrent_connections = max_concurrent_connections + self.type = None + + +class TabularSource(CopySource): + """Copy activity sources of tabular type. + You probably want to use the sub-classes and not this class directly. Known sub-classes are: AmazonRedshiftSource, GoogleAdWordsSource, OracleServiceCloudSource, DynamicsAXSource, ResponsysSource, @@ -643,19 +701,12 @@ class CopySource(Model): AzureMariaDBSource, MariaDBSource, MagentoSource, JiraSource, ImpalaSource, HubspotSource, HiveSource, HBaseSource, GreenplumSource, GoogleBigQuerySource, EloquaSource, DrillSource, CouchbaseSource, - ConcurSource, AzurePostgreSqlSource, AmazonMWSSource, HttpSource, - AzureBlobFSSource, AzureDataLakeStoreSource, Office365Source, - CosmosDbMongoDbApiSource, MongoDbV2Source, MongoDbSource, CassandraSource, - WebSource, TeradataSource, OracleSource, AzureDataExplorerSource, - AzureMySqlSource, HdfsSource, FileSystemSource, SqlDWSource, SqlMISource, - AzureSqlSource, SqlServerSource, SqlSource, RestSource, SapTableSource, - SapOpenHubSource, SapHanaSource, SapEccSource, SapCloudForCustomerSource, - SalesforceServiceCloudSource, SalesforceSource, ODataSource, SapBwSource, - SybaseSource, PostgreSqlSource, MySqlSource, OdbcSource, Db2Source, - MicrosoftAccessSource, InformixSource, RelationalSource, - CommonDataServiceForAppsSource, DynamicsCrmSource, DynamicsSource, - DocumentDbCollectionSource, BlobSource, AzureTableSource, BinarySource, - JsonSource, DelimitedTextSource, ParquetSource, AvroSource + ConcurSource, AzurePostgreSqlSource, AmazonMWSSource, CassandraSource, + TeradataSource, AzureMySqlSource, SqlDWSource, SqlMISource, AzureSqlSource, + SqlServerSource, SqlSource, SapTableSource, SapOpenHubSource, + SapHanaSource, SapEccSource, SapCloudForCustomerSource, SalesforceSource, + SapBwSource, SybaseSource, PostgreSqlSource, MySqlSource, OdbcSource, + Db2Source, InformixSource, AzureTableSource All required parameters must be populated in order to send to Azure. @@ -675,6 +726,10 @@ class CopySource(Model): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -687,22 +742,20 @@ class CopySource(Model): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } _subtype_map = { - 'type': {'AmazonRedshiftSource': 'AmazonRedshiftSource', 'GoogleAdWordsSource': 'GoogleAdWordsSource', 'OracleServiceCloudSource': 'OracleServiceCloudSource', 'DynamicsAXSource': 'DynamicsAXSource', 'ResponsysSource': 'ResponsysSource', 'SalesforceMarketingCloudSource': 'SalesforceMarketingCloudSource', 'VerticaSource': 'VerticaSource', 'NetezzaSource': 'NetezzaSource', 'ZohoSource': 'ZohoSource', 'XeroSource': 'XeroSource', 'SquareSource': 'SquareSource', 'SparkSource': 'SparkSource', 'ShopifySource': 'ShopifySource', 'ServiceNowSource': 'ServiceNowSource', 'QuickBooksSource': 'QuickBooksSource', 'PrestoSource': 'PrestoSource', 'PhoenixSource': 'PhoenixSource', 'PaypalSource': 'PaypalSource', 'MarketoSource': 'MarketoSource', 'AzureMariaDBSource': 'AzureMariaDBSource', 'MariaDBSource': 'MariaDBSource', 'MagentoSource': 'MagentoSource', 'JiraSource': 'JiraSource', 'ImpalaSource': 'ImpalaSource', 'HubspotSource': 'HubspotSource', 'HiveSource': 'HiveSource', 'HBaseSource': 'HBaseSource', 'GreenplumSource': 'GreenplumSource', 'GoogleBigQuerySource': 'GoogleBigQuerySource', 'EloquaSource': 'EloquaSource', 'DrillSource': 'DrillSource', 'CouchbaseSource': 'CouchbaseSource', 'ConcurSource': 'ConcurSource', 'AzurePostgreSqlSource': 'AzurePostgreSqlSource', 'AmazonMWSSource': 'AmazonMWSSource', 'HttpSource': 'HttpSource', 'AzureBlobFSSource': 'AzureBlobFSSource', 'AzureDataLakeStoreSource': 'AzureDataLakeStoreSource', 'Office365Source': 'Office365Source', 'CosmosDbMongoDbApiSource': 'CosmosDbMongoDbApiSource', 'MongoDbV2Source': 'MongoDbV2Source', 'MongoDbSource': 'MongoDbSource', 'CassandraSource': 'CassandraSource', 'WebSource': 'WebSource', 'TeradataSource': 'TeradataSource', 'OracleSource': 'OracleSource', 'AzureDataExplorerSource': 'AzureDataExplorerSource', 'AzureMySqlSource': 'AzureMySqlSource', 'HdfsSource': 'HdfsSource', 'FileSystemSource': 'FileSystemSource', 'SqlDWSource': 'SqlDWSource', 'SqlMISource': 'SqlMISource', 'AzureSqlSource': 'AzureSqlSource', 'SqlServerSource': 'SqlServerSource', 'SqlSource': 'SqlSource', 'RestSource': 'RestSource', 'SapTableSource': 'SapTableSource', 'SapOpenHubSource': 'SapOpenHubSource', 'SapHanaSource': 'SapHanaSource', 'SapEccSource': 'SapEccSource', 'SapCloudForCustomerSource': 'SapCloudForCustomerSource', 'SalesforceServiceCloudSource': 'SalesforceServiceCloudSource', 'SalesforceSource': 'SalesforceSource', 'ODataSource': 'ODataSource', 'SapBwSource': 'SapBwSource', 'SybaseSource': 'SybaseSource', 'PostgreSqlSource': 'PostgreSqlSource', 'MySqlSource': 'MySqlSource', 'OdbcSource': 'OdbcSource', 'Db2Source': 'Db2Source', 'MicrosoftAccessSource': 'MicrosoftAccessSource', 'InformixSource': 'InformixSource', 'RelationalSource': 'RelationalSource', 'CommonDataServiceForAppsSource': 'CommonDataServiceForAppsSource', 'DynamicsCrmSource': 'DynamicsCrmSource', 'DynamicsSource': 'DynamicsSource', 'DocumentDbCollectionSource': 'DocumentDbCollectionSource', 'BlobSource': 'BlobSource', 'AzureTableSource': 'AzureTableSource', 'BinarySource': 'BinarySource', 'JsonSource': 'JsonSource', 'DelimitedTextSource': 'DelimitedTextSource', 'ParquetSource': 'ParquetSource', 'AvroSource': 'AvroSource'} + 'type': {'AmazonRedshiftSource': 'AmazonRedshiftSource', 'GoogleAdWordsSource': 'GoogleAdWordsSource', 'OracleServiceCloudSource': 'OracleServiceCloudSource', 'DynamicsAXSource': 'DynamicsAXSource', 'ResponsysSource': 'ResponsysSource', 'SalesforceMarketingCloudSource': 'SalesforceMarketingCloudSource', 'VerticaSource': 'VerticaSource', 'NetezzaSource': 'NetezzaSource', 'ZohoSource': 'ZohoSource', 'XeroSource': 'XeroSource', 'SquareSource': 'SquareSource', 'SparkSource': 'SparkSource', 'ShopifySource': 'ShopifySource', 'ServiceNowSource': 'ServiceNowSource', 'QuickBooksSource': 'QuickBooksSource', 'PrestoSource': 'PrestoSource', 'PhoenixSource': 'PhoenixSource', 'PaypalSource': 'PaypalSource', 'MarketoSource': 'MarketoSource', 'AzureMariaDBSource': 'AzureMariaDBSource', 'MariaDBSource': 'MariaDBSource', 'MagentoSource': 'MagentoSource', 'JiraSource': 'JiraSource', 'ImpalaSource': 'ImpalaSource', 'HubspotSource': 'HubspotSource', 'HiveSource': 'HiveSource', 'HBaseSource': 'HBaseSource', 'GreenplumSource': 'GreenplumSource', 'GoogleBigQuerySource': 'GoogleBigQuerySource', 'EloquaSource': 'EloquaSource', 'DrillSource': 'DrillSource', 'CouchbaseSource': 'CouchbaseSource', 'ConcurSource': 'ConcurSource', 'AzurePostgreSqlSource': 'AzurePostgreSqlSource', 'AmazonMWSSource': 'AmazonMWSSource', 'CassandraSource': 'CassandraSource', 'TeradataSource': 'TeradataSource', 'AzureMySqlSource': 'AzureMySqlSource', 'SqlDWSource': 'SqlDWSource', 'SqlMISource': 'SqlMISource', 'AzureSqlSource': 'AzureSqlSource', 'SqlServerSource': 'SqlServerSource', 'SqlSource': 'SqlSource', 'SapTableSource': 'SapTableSource', 'SapOpenHubSource': 'SapOpenHubSource', 'SapHanaSource': 'SapHanaSource', 'SapEccSource': 'SapEccSource', 'SapCloudForCustomerSource': 'SapCloudForCustomerSource', 'SalesforceSource': 'SalesforceSource', 'SapBwSource': 'SapBwSource', 'SybaseSource': 'SybaseSource', 'PostgreSqlSource': 'PostgreSqlSource', 'MySqlSource': 'MySqlSource', 'OdbcSource': 'OdbcSource', 'Db2Source': 'Db2Source', 'InformixSource': 'InformixSource', 'AzureTableSource': 'AzureTableSource'} } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, **kwargs) -> None: - super(CopySource, self).__init__(**kwargs) - self.additional_properties = additional_properties - self.source_retry_count = source_retry_count - self.source_retry_wait = source_retry_wait - self.max_concurrent_connections = max_concurrent_connections - self.type = None + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, **kwargs) -> None: + super(TabularSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + self.query_timeout = query_timeout + self.type = 'TabularSource' -class AmazonMWSSource(CopySource): +class AmazonMWSSource(TabularSource): """A copy activity Amazon Marketplace Web Service source. All required parameters must be populated in order to send to Azure. @@ -723,6 +776,10 @@ class AmazonMWSSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -738,11 +795,12 @@ class AmazonMWSSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(AmazonMWSSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(AmazonMWSSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'AmazonMWSSource' @@ -821,7 +879,7 @@ def __init__(self, *, server, database, additional_properties=None, connect_via= self.type = 'AmazonRedshift' -class AmazonRedshiftSource(CopySource): +class AmazonRedshiftSource(TabularSource): """A copy activity source for Amazon Redshift Source. All required parameters must be populated in order to send to Azure. @@ -842,6 +900,10 @@ class AmazonRedshiftSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -863,12 +925,13 @@ class AmazonRedshiftSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'redshift_unload_settings': {'key': 'redshiftUnloadSettings', 'type': 'RedshiftUnloadSettings'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, redshift_unload_settings=None, **kwargs) -> None: - super(AmazonRedshiftSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, redshift_unload_settings=None, **kwargs) -> None: + super(AmazonRedshiftSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.redshift_unload_settings = redshift_unload_settings self.type = 'AmazonRedshiftSource' @@ -3867,7 +3930,7 @@ def __init__(self, *, additional_properties=None, connect_via=None, description: self.type = 'AzureMariaDB' -class AzureMariaDBSource(CopySource): +class AzureMariaDBSource(TabularSource): """A copy activity Azure MariaDB source. All required parameters must be populated in order to send to Azure. @@ -3888,6 +3951,10 @@ class AzureMariaDBSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -3903,11 +3970,12 @@ class AzureMariaDBSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(AzureMariaDBSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(AzureMariaDBSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'AzureMariaDBSource' @@ -4337,7 +4405,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'AzureMySqlSink' -class AzureMySqlSource(CopySource): +class AzureMySqlSource(TabularSource): """A copy activity Azure MySQL source. All required parameters must be populated in order to send to Azure. @@ -4358,6 +4426,10 @@ class AzureMySqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -4373,11 +4445,12 @@ class AzureMySqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(AzureMySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(AzureMySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'AzureMySqlSource' @@ -4554,7 +4627,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'AzurePostgreSqlSink' -class AzurePostgreSqlSource(CopySource): +class AzurePostgreSqlSource(TabularSource): """A copy activity Azure PostgreSQL source. All required parameters must be populated in order to send to Azure. @@ -4575,6 +4648,10 @@ class AzurePostgreSqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -4590,11 +4667,12 @@ class AzurePostgreSqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(AzurePostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(AzurePostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'AzurePostgreSqlSource' @@ -5340,7 +5418,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'AzureSqlSink' -class AzureSqlSource(CopySource): +class AzureSqlSource(TabularSource): """A copy activity Azure SQL source. All required parameters must be populated in order to send to Azure. @@ -5361,6 +5439,10 @@ class AzureSqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -5386,14 +5468,15 @@ class AzureSqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'produce_additional_types': {'key': 'produceAdditionalTypes', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, produce_additional_types=None, **kwargs) -> None: - super(AzureSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, produce_additional_types=None, **kwargs) -> None: + super(AzureSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters @@ -5672,7 +5755,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'AzureTableSink' -class AzureTableSource(CopySource): +class AzureTableSource(TabularSource): """A copy activity Azure Table source. All required parameters must be populated in order to send to Azure. @@ -5693,6 +5776,10 @@ class AzureTableSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param azure_table_source_query: Azure Table source query. Type: string (or Expression with resultType string). :type azure_table_source_query: object @@ -5712,12 +5799,13 @@ class AzureTableSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'azure_table_source_query': {'key': 'azureTableSourceQuery', 'type': 'object'}, 'azure_table_source_ignore_table_not_found': {'key': 'azureTableSourceIgnoreTableNotFound', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, azure_table_source_query=None, azure_table_source_ignore_table_not_found=None, **kwargs) -> None: - super(AzureTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, azure_table_source_query=None, azure_table_source_ignore_table_not_found=None, **kwargs) -> None: + super(AzureTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.azure_table_source_query = azure_table_source_query self.azure_table_source_ignore_table_not_found = azure_table_source_ignore_table_not_found self.type = 'AzureTableSource' @@ -6403,7 +6491,7 @@ def __init__(self, *, host, additional_properties=None, connect_via=None, descri self.type = 'Cassandra' -class CassandraSource(CopySource): +class CassandraSource(TabularSource): """A copy activity source for a Cassandra database. All required parameters must be populated in order to send to Azure. @@ -6424,6 +6512,10 @@ class CassandraSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). @@ -6450,12 +6542,13 @@ class CassandraSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'consistency_level': {'key': 'consistencyLevel', 'type': 'str'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, consistency_level=None, **kwargs) -> None: - super(CassandraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, consistency_level=None, **kwargs) -> None: + super(CassandraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.consistency_level = consistency_level self.type = 'CassandraSource' @@ -6988,7 +7081,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'ConcurObject' -class ConcurSource(CopySource): +class ConcurSource(TabularSource): """A copy activity Concur Service source. All required parameters must be populated in order to send to Azure. @@ -7009,6 +7102,10 @@ class ConcurSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -7024,11 +7121,12 @@ class ConcurSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(ConcurSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(ConcurSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'ConcurSource' @@ -7410,6 +7508,10 @@ class CosmosDbMongoDbApiSource(CopySource): main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). :type batch_size: object + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -7425,13 +7527,15 @@ class CosmosDbMongoDbApiSource(CopySource): 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, filter=None, cursor_methods=None, batch_size=None, **kwargs) -> None: + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, filter=None, cursor_methods=None, batch_size=None, query_timeout=None, **kwargs) -> None: super(CosmosDbMongoDbApiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.filter = filter self.cursor_methods = cursor_methods self.batch_size = batch_size + self.query_timeout = query_timeout self.type = 'CosmosDbMongoDbApiSource' @@ -7493,7 +7597,7 @@ def __init__(self, *, additional_properties=None, connect_via=None, description: self.type = 'Couchbase' -class CouchbaseSource(CopySource): +class CouchbaseSource(TabularSource): """A copy activity Couchbase server source. All required parameters must be populated in order to send to Azure. @@ -7514,6 +7618,10 @@ class CouchbaseSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -7529,11 +7637,12 @@ class CouchbaseSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(CouchbaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(CouchbaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'CouchbaseSource' @@ -8489,7 +8598,7 @@ def __init__(self, *, server, database, additional_properties=None, connect_via= self.type = 'Db2' -class Db2Source(CopySource): +class Db2Source(TabularSource): """A copy activity source for Db2 databases. All required parameters must be populated in order to send to Azure. @@ -8510,6 +8619,10 @@ class Db2Source(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -8525,11 +8638,12 @@ class Db2Source(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(Db2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(Db2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'Db2Source' @@ -9205,6 +9319,10 @@ class DocumentDbCollectionSource(CopySource): :param nesting_separator: Nested properties separator. Type: string (or Expression with resultType string). :type nesting_separator: object + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -9219,12 +9337,14 @@ class DocumentDbCollectionSource(CopySource): 'type': {'key': 'type', 'type': 'str'}, 'query': {'key': 'query', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, nesting_separator=None, **kwargs) -> None: + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, nesting_separator=None, query_timeout=None, **kwargs) -> None: super(DocumentDbCollectionSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.query = query self.nesting_separator = nesting_separator + self.query_timeout = query_timeout self.type = 'DocumentDbCollectionSource' @@ -9285,7 +9405,7 @@ def __init__(self, *, additional_properties=None, connect_via=None, description: self.type = 'Drill' -class DrillSource(CopySource): +class DrillSource(TabularSource): """A copy activity Drill server source. All required parameters must be populated in order to send to Azure. @@ -9306,6 +9426,10 @@ class DrillSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -9321,11 +9445,12 @@ class DrillSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(DrillSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(DrillSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'DrillSource' @@ -9542,7 +9667,7 @@ def __init__(self, *, linked_service_name, path, additional_properties=None, des self.type = 'DynamicsAXResource' -class DynamicsAXSource(CopySource): +class DynamicsAXSource(TabularSource): """A copy activity Dynamics AX source. All required parameters must be populated in order to send to Azure. @@ -9563,6 +9688,10 @@ class DynamicsAXSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -9578,11 +9707,12 @@ class DynamicsAXSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(DynamicsAXSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(DynamicsAXSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'DynamicsAXSource' @@ -10265,7 +10395,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'EloquaObject' -class EloquaSource(CopySource): +class EloquaSource(TabularSource): """A copy activity Eloqua server source. All required parameters must be populated in order to send to Azure. @@ -10286,6 +10416,10 @@ class EloquaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -10301,11 +10435,12 @@ class EloquaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(EloquaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(EloquaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'EloquaSource' @@ -11862,7 +11997,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'GoogleAdWordsObject' -class GoogleAdWordsSource(CopySource): +class GoogleAdWordsSource(TabularSource): """A copy activity Google AdWords service source. All required parameters must be populated in order to send to Azure. @@ -11883,6 +12018,10 @@ class GoogleAdWordsSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -11898,11 +12037,12 @@ class GoogleAdWordsSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(GoogleAdWordsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(GoogleAdWordsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'GoogleAdWordsSource' @@ -12089,7 +12229,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'GoogleBigQueryObject' -class GoogleBigQuerySource(CopySource): +class GoogleBigQuerySource(TabularSource): """A copy activity Google BigQuery service source. All required parameters must be populated in order to send to Azure. @@ -12110,6 +12250,10 @@ class GoogleBigQuerySource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12125,11 +12269,12 @@ class GoogleBigQuerySource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(GoogleBigQuerySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(GoogleBigQuerySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'GoogleBigQuerySource' @@ -12191,7 +12336,7 @@ def __init__(self, *, additional_properties=None, connect_via=None, description: self.type = 'Greenplum' -class GreenplumSource(CopySource): +class GreenplumSource(TabularSource): """A copy activity Greenplum Database source. All required parameters must be populated in order to send to Azure. @@ -12212,6 +12357,10 @@ class GreenplumSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12227,11 +12376,12 @@ class GreenplumSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(GreenplumSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(GreenplumSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'GreenplumSource' @@ -12468,7 +12618,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'HBaseObject' -class HBaseSource(CopySource): +class HBaseSource(TabularSource): """A copy activity HBase server source. All required parameters must be populated in order to send to Azure. @@ -12489,6 +12639,10 @@ class HBaseSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12504,11 +12658,12 @@ class HBaseSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(HBaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(HBaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'HBaseSource' @@ -13688,7 +13843,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'HiveObject' -class HiveSource(CopySource): +class HiveSource(TabularSource): """A copy activity Hive Server source. All required parameters must be populated in order to send to Azure. @@ -13709,6 +13864,10 @@ class HiveSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -13724,11 +13883,12 @@ class HiveSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(HiveSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(HiveSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'HiveSource' @@ -14194,7 +14354,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'HubspotObject' -class HubspotSource(CopySource): +class HubspotSource(TabularSource): """A copy activity Hubspot Service source. All required parameters must be populated in order to send to Azure. @@ -14215,6 +14375,10 @@ class HubspotSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -14230,11 +14394,12 @@ class HubspotSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(HubspotSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(HubspotSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'HubspotSource' @@ -14474,7 +14639,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'ImpalaObject' -class ImpalaSource(CopySource): +class ImpalaSource(TabularSource): """A copy activity Impala server source. All required parameters must be populated in order to send to Azure. @@ -14495,6 +14660,10 @@ class ImpalaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -14510,11 +14679,12 @@ class ImpalaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(ImpalaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(ImpalaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'ImpalaSource' @@ -14647,7 +14817,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'InformixSink' -class InformixSource(CopySource): +class InformixSource(TabularSource): """A copy activity source for Informix. All required parameters must be populated in order to send to Azure. @@ -14668,6 +14838,10 @@ class InformixSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -14683,11 +14857,12 @@ class InformixSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(InformixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(InformixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'InformixSource' @@ -15541,7 +15716,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'JiraObject' -class JiraSource(CopySource): +class JiraSource(TabularSource): """A copy activity Jira Service source. All required parameters must be populated in order to send to Azure. @@ -15562,6 +15737,10 @@ class JiraSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -15577,11 +15756,12 @@ class JiraSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(JiraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(JiraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'JiraSource' @@ -16324,7 +16504,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'MagentoObject' -class MagentoSource(CopySource): +class MagentoSource(TabularSource): """A copy activity Magento server source. All required parameters must be populated in order to send to Azure. @@ -16345,6 +16525,10 @@ class MagentoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16360,11 +16544,12 @@ class MagentoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(MagentoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(MagentoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'MagentoSource' @@ -16681,7 +16866,7 @@ def __init__(self, *, additional_properties=None, connect_via=None, description: self.type = 'MariaDB' -class MariaDBSource(CopySource): +class MariaDBSource(TabularSource): """A copy activity MariaDB server source. All required parameters must be populated in order to send to Azure. @@ -16702,6 +16887,10 @@ class MariaDBSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16717,11 +16906,12 @@ class MariaDBSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(MariaDBSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(MariaDBSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'MariaDBSource' @@ -16924,7 +17114,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'MarketoObject' -class MarketoSource(CopySource): +class MarketoSource(TabularSource): """A copy activity Marketo server source. All required parameters must be populated in order to send to Azure. @@ -16945,6 +17135,10 @@ class MarketoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16960,11 +17154,12 @@ class MarketoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(MarketoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(MarketoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'MarketoSource' @@ -17595,6 +17790,10 @@ class MongoDbV2Source(CopySource): main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). :type batch_size: object + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object """ _validation = { @@ -17610,13 +17809,15 @@ class MongoDbV2Source(CopySource): 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, filter=None, cursor_methods=None, batch_size=None, **kwargs) -> None: + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, filter=None, cursor_methods=None, batch_size=None, query_timeout=None, **kwargs) -> None: super(MongoDbV2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) self.filter = filter self.cursor_methods = cursor_methods self.batch_size = batch_size + self.query_timeout = query_timeout self.type = 'MongoDbV2Source' @@ -17678,7 +17879,7 @@ def __init__(self, *, connection_string, additional_properties=None, connect_via self.type = 'MySql' -class MySqlSource(CopySource): +class MySqlSource(TabularSource): """A copy activity source for MySQL databases. All required parameters must be populated in order to send to Azure. @@ -17699,6 +17900,10 @@ class MySqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -17714,11 +17919,12 @@ class MySqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(MySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(MySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'MySqlSource' @@ -17870,7 +18076,7 @@ def __init__(self, *, partition_column_name=None, partition_upper_bound=None, pa self.partition_lower_bound = partition_lower_bound -class NetezzaSource(CopySource): +class NetezzaSource(TabularSource): """A copy activity Netezza source. All required parameters must be populated in order to send to Azure. @@ -17891,6 +18097,10 @@ class NetezzaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -17915,13 +18125,14 @@ class NetezzaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'NetezzaPartitionSettings'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, partition_option=None, partition_settings=None, **kwargs) -> None: - super(NetezzaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, partition_option=None, partition_settings=None, **kwargs) -> None: + super(NetezzaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.partition_option = partition_option self.partition_settings = partition_settings @@ -18346,7 +18557,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'OdbcSink' -class OdbcSource(CopySource): +class OdbcSource(TabularSource): """A copy activity source for ODBC databases. All required parameters must be populated in order to send to Azure. @@ -18367,6 +18578,10 @@ class OdbcSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -18382,11 +18597,12 @@ class OdbcSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(OdbcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(OdbcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'OdbcSource' @@ -19098,7 +19314,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'OracleServiceCloudObject' -class OracleServiceCloudSource(CopySource): +class OracleServiceCloudSource(TabularSource): """A copy activity Oracle Service Cloud source. All required parameters must be populated in order to send to Azure. @@ -19119,6 +19335,10 @@ class OracleServiceCloudSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -19134,11 +19354,12 @@ class OracleServiceCloudSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(OracleServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(OracleServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'OracleServiceCloudSource' @@ -19727,7 +19948,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'PaypalObject' -class PaypalSource(CopySource): +class PaypalSource(TabularSource): """A copy activity Paypal Service source. All required parameters must be populated in order to send to Azure. @@ -19748,6 +19969,10 @@ class PaypalSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -19763,11 +19988,12 @@ class PaypalSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(PaypalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(PaypalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'PaypalSource' @@ -19951,7 +20177,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'PhoenixObject' -class PhoenixSource(CopySource): +class PhoenixSource(TabularSource): """A copy activity Phoenix server source. All required parameters must be populated in order to send to Azure. @@ -19972,6 +20198,10 @@ class PhoenixSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -19987,11 +20217,12 @@ class PhoenixSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(PhoenixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(PhoenixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'PhoenixSource' @@ -20367,7 +20598,7 @@ def __init__(self, *, connection_string, additional_properties=None, connect_via self.type = 'PostgreSql' -class PostgreSqlSource(CopySource): +class PostgreSqlSource(TabularSource): """A copy activity source for PostgreSQL databases. All required parameters must be populated in order to send to Azure. @@ -20388,6 +20619,10 @@ class PostgreSqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -20403,11 +20638,12 @@ class PostgreSqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(PostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(PostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'PostgreSqlSource' @@ -20672,7 +20908,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'PrestoObject' -class PrestoSource(CopySource): +class PrestoSource(TabularSource): """A copy activity Presto server source. All required parameters must be populated in order to send to Azure. @@ -20693,6 +20929,10 @@ class PrestoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -20708,11 +20948,12 @@ class PrestoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(PrestoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(PrestoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'PrestoSource' @@ -20865,7 +21106,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'QuickBooksObject' -class QuickBooksSource(CopySource): +class QuickBooksSource(TabularSource): """A copy activity QuickBooks server source. All required parameters must be populated in order to send to Azure. @@ -20886,6 +21127,10 @@ class QuickBooksSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -20901,11 +21146,12 @@ class QuickBooksSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(QuickBooksSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(QuickBooksSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'QuickBooksSource' @@ -21435,7 +21681,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'ResponsysObject' -class ResponsysSource(CopySource): +class ResponsysSource(TabularSource): """A copy activity Responsys source. All required parameters must be populated in order to send to Azure. @@ -21456,6 +21702,10 @@ class ResponsysSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -21471,11 +21721,12 @@ class ResponsysSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(ResponsysSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(ResponsysSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'ResponsysSource' @@ -22082,7 +22333,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'SalesforceMarketingCloudObject' -class SalesforceMarketingCloudSource(CopySource): +class SalesforceMarketingCloudSource(TabularSource): """A copy activity Salesforce Marketing Cloud source. All required parameters must be populated in order to send to Azure. @@ -22103,6 +22354,10 @@ class SalesforceMarketingCloudSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -22118,11 +22373,12 @@ class SalesforceMarketingCloudSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(SalesforceMarketingCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(SalesforceMarketingCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'SalesforceMarketingCloudSource' @@ -22517,7 +22773,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'SalesforceSink' -class SalesforceSource(CopySource): +class SalesforceSource(TabularSource): """A copy activity Salesforce source. All required parameters must be populated in order to send to Azure. @@ -22538,6 +22794,10 @@ class SalesforceSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -22557,12 +22817,13 @@ class SalesforceSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, read_behavior=None, **kwargs) -> None: - super(SalesforceSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, read_behavior=None, **kwargs) -> None: + super(SalesforceSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.read_behavior = read_behavior self.type = 'SalesforceSource' @@ -22699,7 +22960,7 @@ def __init__(self, *, server, system_number, client_id, additional_properties=No self.type = 'SapBW' -class SapBwSource(CopySource): +class SapBwSource(TabularSource): """A copy activity source for SapBW server via MDX. All required parameters must be populated in order to send to Azure. @@ -22720,6 +22981,10 @@ class SapBwSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: MDX query. Type: string (or Expression with resultType string). :type query: object @@ -22735,11 +23000,12 @@ class SapBwSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(SapBwSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(SapBwSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'SapBwSource' @@ -22924,7 +23190,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'SapCloudForCustomerSink' -class SapCloudForCustomerSource(CopySource): +class SapCloudForCustomerSource(TabularSource): """A copy activity source for SAP Cloud for Customer source. All required parameters must be populated in order to send to Azure. @@ -22945,6 +23211,10 @@ class SapCloudForCustomerSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -22960,11 +23230,12 @@ class SapCloudForCustomerSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(SapCloudForCustomerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(SapCloudForCustomerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'SapCloudForCustomerSource' @@ -23094,7 +23365,7 @@ def __init__(self, *, linked_service_name, path, additional_properties=None, des self.type = 'SapEccResource' -class SapEccSource(CopySource): +class SapEccSource(TabularSource): """A copy activity source for SAP ECC source. All required parameters must be populated in order to send to Azure. @@ -23115,6 +23386,10 @@ class SapEccSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -23130,11 +23405,12 @@ class SapEccSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(SapEccSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(SapEccSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'SapEccSource' @@ -23212,7 +23488,7 @@ def __init__(self, *, server, additional_properties=None, connect_via=None, desc self.type = 'SapHana' -class SapHanaSource(CopySource): +class SapHanaSource(TabularSource): """A copy activity source for SAP HANA source. All required parameters must be populated in order to send to Azure. @@ -23233,6 +23509,10 @@ class SapHanaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: SAP HANA Sql query. Type: string (or Expression with resultType string). :type query: object @@ -23251,12 +23531,13 @@ class SapHanaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'packet_size': {'key': 'packetSize', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, packet_size=None, **kwargs) -> None: - super(SapHanaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, packet_size=None, **kwargs) -> None: + super(SapHanaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.packet_size = packet_size self.type = 'SapHanaSource' @@ -23414,7 +23695,7 @@ def __init__(self, *, server, system_number, client_id, additional_properties=No self.type = 'SapOpenHub' -class SapOpenHubSource(CopySource): +class SapOpenHubSource(TabularSource): """A copy activity source for SAP Business Warehouse Open Hub Destination source. @@ -23436,6 +23717,10 @@ class SapOpenHubSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param exclude_last_request: Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). @@ -23457,12 +23742,13 @@ class SapOpenHubSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'exclude_last_request': {'key': 'excludeLastRequest', 'type': 'object'}, 'base_request_id': {'key': 'baseRequestId', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, exclude_last_request=None, base_request_id=None, **kwargs) -> None: - super(SapOpenHubSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, exclude_last_request=None, base_request_id=None, **kwargs) -> None: + super(SapOpenHubSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.exclude_last_request = exclude_last_request self.base_request_id = base_request_id self.type = 'SapOpenHubSource' @@ -23767,7 +24053,7 @@ def __init__(self, *, linked_service_name, table_name, additional_properties=Non self.type = 'SapTableResource' -class SapTableSource(CopySource): +class SapTableSource(TabularSource): """A copy activity source for SAP Table source. All required parameters must be populated in order to send to Azure. @@ -23788,6 +24074,10 @@ class SapTableSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param row_count: The number of rows to be retrieved. Type: integer(or Expression with resultType integer). :type row_count: object @@ -23832,6 +24122,7 @@ class SapTableSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'row_count': {'key': 'rowCount', 'type': 'object'}, 'row_skips': {'key': 'rowSkips', 'type': 'object'}, 'rfc_table_fields': {'key': 'rfcTableFields', 'type': 'object'}, @@ -23842,8 +24133,8 @@ class SapTableSource(CopySource): 'partition_settings': {'key': 'partitionSettings', 'type': 'SapTablePartitionSettings'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, row_count=None, row_skips=None, rfc_table_fields=None, rfc_table_options=None, batch_size=None, custom_rfc_read_table_function_module=None, partition_option=None, partition_settings=None, **kwargs) -> None: - super(SapTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, row_count=None, row_skips=None, rfc_table_fields=None, rfc_table_options=None, batch_size=None, custom_rfc_read_table_function_module=None, partition_option=None, partition_settings=None, **kwargs) -> None: + super(SapTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.row_count = row_count self.row_skips = row_skips self.rfc_table_fields = rfc_table_fields @@ -24497,7 +24788,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'ServiceNowObject' -class ServiceNowSource(CopySource): +class ServiceNowSource(TabularSource): """A copy activity ServiceNow server source. All required parameters must be populated in order to send to Azure. @@ -24518,6 +24809,10 @@ class ServiceNowSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -24533,11 +24828,12 @@ class ServiceNowSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(ServiceNowSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(ServiceNowSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'ServiceNowSource' @@ -24919,7 +25215,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'ShopifyObject' -class ShopifySource(CopySource): +class ShopifySource(TabularSource): """A copy activity Shopify Service source. All required parameters must be populated in order to send to Azure. @@ -24940,6 +25236,10 @@ class ShopifySource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -24955,11 +25255,12 @@ class ShopifySource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(ShopifySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(ShopifySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'ShopifySource' @@ -25153,7 +25454,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'SparkObject' -class SparkSource(CopySource): +class SparkSource(TabularSource): """A copy activity Spark Server source. All required parameters must be populated in order to send to Azure. @@ -25174,6 +25475,10 @@ class SparkSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -25189,11 +25494,12 @@ class SparkSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(SparkSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(SparkSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'SparkSource' @@ -25269,7 +25575,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'SqlDWSink' -class SqlDWSource(CopySource): +class SqlDWSource(TabularSource): """A copy activity SQL Data Warehouse source. All required parameters must be populated in order to send to Azure. @@ -25290,6 +25596,10 @@ class SqlDWSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL Data Warehouse reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25314,13 +25624,14 @@ class SqlDWSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, **kwargs) -> None: - super(SqlDWSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, **kwargs) -> None: + super(SqlDWSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters @@ -25408,7 +25719,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'SqlMISink' -class SqlMISource(CopySource): +class SqlMISource(TabularSource): """A copy activity Azure SQL Managed Instance source. All required parameters must be populated in order to send to Azure. @@ -25429,6 +25740,10 @@ class SqlMISource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25454,14 +25769,15 @@ class SqlMISource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'produce_additional_types': {'key': 'produceAdditionalTypes', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, produce_additional_types=None, **kwargs) -> None: - super(SqlMISource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, produce_additional_types=None, **kwargs) -> None: + super(SqlMISource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters @@ -25612,7 +25928,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'SqlServerSink' -class SqlServerSource(CopySource): +class SqlServerSource(TabularSource): """A copy activity SQL server source. All required parameters must be populated in order to send to Azure. @@ -25633,6 +25949,10 @@ class SqlServerSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25658,14 +25978,15 @@ class SqlServerSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'produce_additional_types': {'key': 'produceAdditionalTypes', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, produce_additional_types=None, **kwargs) -> None: - super(SqlServerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, produce_additional_types=None, **kwargs) -> None: + super(SqlServerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters @@ -25882,7 +26203,7 @@ def __init__(self, *, additional_properties=None, write_batch_size=None, write_b self.type = 'SqlSink' -class SqlSource(CopySource): +class SqlSource(TabularSource): """A copy activity SQL source. All required parameters must be populated in order to send to Azure. @@ -25903,6 +26224,10 @@ class SqlSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -25926,13 +26251,14 @@ class SqlSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, **kwargs) -> None: - super(SqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, sql_reader_query=None, sql_reader_stored_procedure_name=None, stored_procedure_parameters=None, **kwargs) -> None: + super(SqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name self.stored_procedure_parameters = stored_procedure_parameters @@ -26085,7 +26411,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'SquareObject' -class SquareSource(CopySource): +class SquareSource(TabularSource): """A copy activity Square Service source. All required parameters must be populated in order to send to Azure. @@ -26106,6 +26432,10 @@ class SquareSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -26121,11 +26451,12 @@ class SquareSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(SquareSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(SquareSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'SquareSource' @@ -26856,7 +27187,7 @@ def __init__(self, *, server, database, additional_properties=None, connect_via= self.type = 'Sybase' -class SybaseSource(CopySource): +class SybaseSource(TabularSource): """A copy activity source for Sybase databases. All required parameters must be populated in order to send to Azure. @@ -26877,6 +27208,10 @@ class SybaseSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object @@ -26892,11 +27227,12 @@ class SybaseSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(SybaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(SybaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'SybaseSource' @@ -27063,7 +27399,7 @@ def __init__(self, *, partition_column_name=None, partition_upper_bound=None, pa self.partition_lower_bound = partition_lower_bound -class TeradataSource(CopySource): +class TeradataSource(TabularSource): """A copy activity Teradata source. All required parameters must be populated in order to send to Azure. @@ -27084,6 +27420,10 @@ class TeradataSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: Teradata query. Type: string (or Expression with resultType string). :type query: object @@ -27108,13 +27448,14 @@ class TeradataSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'str'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'TeradataPartitionSettings'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, partition_option=None, partition_settings=None, **kwargs) -> None: - super(TeradataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, partition_option=None, partition_settings=None, **kwargs) -> None: + super(TeradataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.partition_option = partition_option self.partition_settings = partition_settings @@ -27989,7 +28330,7 @@ def __init__(self, *, additional_properties=None, connect_via=None, description: self.type = 'Vertica' -class VerticaSource(CopySource): +class VerticaSource(TabularSource): """A copy activity Vertica source. All required parameters must be populated in order to send to Azure. @@ -28010,6 +28351,10 @@ class VerticaSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -28025,11 +28370,12 @@ class VerticaSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(VerticaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(VerticaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'VerticaSource' @@ -28797,7 +29143,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'XeroObject' -class XeroSource(CopySource): +class XeroSource(TabularSource): """A copy activity Xero Service source. All required parameters must be populated in order to send to Azure. @@ -28818,6 +29164,10 @@ class XeroSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -28833,11 +29183,12 @@ class XeroSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(XeroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(XeroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'XeroSource' @@ -28975,7 +29326,7 @@ def __init__(self, *, linked_service_name, additional_properties=None, descripti self.type = 'ZohoObject' -class ZohoSource(CopySource): +class ZohoSource(TabularSource): """A copy activity Zoho server source. All required parameters must be populated in order to send to Azure. @@ -28996,6 +29347,10 @@ class ZohoSource(CopySource): :type max_concurrent_connections: object :param type: Required. Constant filled by server. :type type: str + :param query_timeout: Query timeout. Type: string (or Expression with + resultType string), pattern: + ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type query_timeout: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -29011,10 +29366,11 @@ class ZohoSource(CopySource): 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, 'type': {'key': 'type', 'type': 'str'}, + 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } - def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query=None, **kwargs) -> None: - super(ZohoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + def __init__(self, *, additional_properties=None, source_retry_count=None, source_retry_wait=None, max_concurrent_connections=None, query_timeout=None, query=None, **kwargs) -> None: + super(ZohoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, **kwargs) self.query = query self.type = 'ZohoSource'