Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR datafactory/resource-manager] [DataFactory]SapBwCube and Sybase Dataset #6518

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@
from .sap_hana_table_dataset_py3 import SapHanaTableDataset
from .sap_ecc_resource_dataset_py3 import SapEccResourceDataset
from .sap_cloud_for_customer_resource_dataset_py3 import SapCloudForCustomerResourceDataset
from .sap_bw_cube_dataset_py3 import SapBwCubeDataset
from .sybase_table_dataset_py3 import SybaseTableDataset
from .salesforce_service_cloud_object_dataset_py3 import SalesforceServiceCloudObjectDataset
from .salesforce_object_dataset_py3 import SalesforceObjectDataset
from .microsoft_access_table_dataset_py3 import MicrosoftAccessTableDataset
Expand Down Expand Up @@ -371,6 +373,7 @@
from .salesforce_service_cloud_source_py3 import SalesforceServiceCloudSource
from .salesforce_source_py3 import SalesforceSource
from .odata_source_py3 import ODataSource
from .sap_bw_source_py3 import SapBwSource
from .sybase_source_py3 import SybaseSource
from .postgre_sql_source_py3 import PostgreSqlSource
from .my_sql_source_py3 import MySqlSource
Expand Down Expand Up @@ -742,6 +745,8 @@
from .sap_hana_table_dataset import SapHanaTableDataset
from .sap_ecc_resource_dataset import SapEccResourceDataset
from .sap_cloud_for_customer_resource_dataset import SapCloudForCustomerResourceDataset
from .sap_bw_cube_dataset import SapBwCubeDataset
from .sybase_table_dataset import SybaseTableDataset
from .salesforce_service_cloud_object_dataset import SalesforceServiceCloudObjectDataset
from .salesforce_object_dataset import SalesforceObjectDataset
from .microsoft_access_table_dataset import MicrosoftAccessTableDataset
Expand Down Expand Up @@ -869,6 +874,7 @@
from .salesforce_service_cloud_source import SalesforceServiceCloudSource
from .salesforce_source import SalesforceSource
from .odata_source import ODataSource
from .sap_bw_source import SapBwSource
from .sybase_source import SybaseSource
from .postgre_sql_source import PostgreSqlSource
from .my_sql_source import MySqlSource
Expand Down Expand Up @@ -1320,6 +1326,8 @@
'SapHanaTableDataset',
'SapEccResourceDataset',
'SapCloudForCustomerResourceDataset',
'SapBwCubeDataset',
'SybaseTableDataset',
'SalesforceServiceCloudObjectDataset',
'SalesforceObjectDataset',
'MicrosoftAccessTableDataset',
Expand Down Expand Up @@ -1447,6 +1455,7 @@
'SalesforceServiceCloudSource',
'SalesforceSource',
'ODataSource',
'SapBwSource',
'SybaseSource',
'PostgreSqlSource',
'MySqlSource',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ class AzureSqlDWTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name of the Azure SQL Data Warehouse. Type:
string (or Expression with resultType string).
:param table_name: This property will be retired. Please consider using
schema + table properties instead.
:type table_name: object
:param azure_sql_dw_table_dataset_schema: The schema name of the Azure SQL
Data Warehouse. Type: string (or Expression with resultType string).
:type azure_sql_dw_table_dataset_schema: object
:param table: The table name of the Azure SQL Data Warehouse. Type: string
(or Expression with resultType string).
:type table: object
"""

_validation = {
Expand All @@ -64,9 +70,13 @@ class AzureSqlDWTableDataset(Dataset):
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
'azure_sql_dw_table_dataset_schema': {'key': 'typeProperties.schema', 'type': 'object'},
'table': {'key': 'typeProperties.table', 'type': 'object'},
}

def __init__(self, **kwargs):
super(AzureSqlDWTableDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.azure_sql_dw_table_dataset_schema = kwargs.get('azure_sql_dw_table_dataset_schema', None)
self.table = kwargs.get('table', None)
self.type = 'AzureSqlDWTable'
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ class AzureSqlDWTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name of the Azure SQL Data Warehouse. Type:
string (or Expression with resultType string).
:param table_name: This property will be retired. Please consider using
schema + table properties instead.
:type table_name: object
:param azure_sql_dw_table_dataset_schema: The schema name of the Azure SQL
Data Warehouse. Type: string (or Expression with resultType string).
:type azure_sql_dw_table_dataset_schema: object
:param table: The table name of the Azure SQL Data Warehouse. Type: string
(or Expression with resultType string).
:type table: object
"""

_validation = {
Expand All @@ -64,9 +70,13 @@ class AzureSqlDWTableDataset(Dataset):
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
'azure_sql_dw_table_dataset_schema': {'key': 'typeProperties.schema', 'type': 'object'},
'table': {'key': 'typeProperties.table', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, table_name=None, azure_sql_dw_table_dataset_schema=None, table=None, **kwargs) -> None:
super(AzureSqlDWTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.azure_sql_dw_table_dataset_schema = azure_sql_dw_table_dataset_schema
self.table = table
self.type = 'AzureSqlDWTable'
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ class AzureSqlTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name of the Azure SQL database. Type: string
(or Expression with resultType string).
:param table_name: This property will be retired. Please consider using
schema + table properties instead.
:type table_name: object
:param azure_sql_table_dataset_schema: The schema name of the Azure SQL
database. Type: string (or Expression with resultType string).
:type azure_sql_table_dataset_schema: object
:param table: The table name of the Azure SQL database. Type: string (or
Expression with resultType string).
:type table: object
"""

_validation = {
Expand All @@ -64,9 +70,13 @@ class AzureSqlTableDataset(Dataset):
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
'azure_sql_table_dataset_schema': {'key': 'typeProperties.schema', 'type': 'object'},
'table': {'key': 'typeProperties.table', 'type': 'object'},
}

def __init__(self, **kwargs):
super(AzureSqlTableDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.azure_sql_table_dataset_schema = kwargs.get('azure_sql_table_dataset_schema', None)
self.table = kwargs.get('table', None)
self.type = 'AzureSqlTable'
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ class AzureSqlTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name of the Azure SQL database. Type: string
(or Expression with resultType string).
:param table_name: This property will be retired. Please consider using
schema + table properties instead.
:type table_name: object
:param azure_sql_table_dataset_schema: The schema name of the Azure SQL
database. Type: string (or Expression with resultType string).
:type azure_sql_table_dataset_schema: object
:param table: The table name of the Azure SQL database. Type: string (or
Expression with resultType string).
:type table: object
"""

_validation = {
Expand All @@ -64,9 +70,13 @@ class AzureSqlTableDataset(Dataset):
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
'azure_sql_table_dataset_schema': {'key': 'typeProperties.schema', 'type': 'object'},
'table': {'key': 'typeProperties.table', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, schema=None, parameters=None, annotations=None, folder=None, table_name=None, azure_sql_table_dataset_schema=None, table=None, **kwargs) -> None:
super(AzureSqlTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.azure_sql_table_dataset_schema = azure_sql_table_dataset_schema
self.table = table
self.type = 'AzureSqlTable'
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class CopySource(Model):
FileSystemSource, SqlDWSource, SqlMISource, AzureSqlSource,
SqlServerSource, SqlSource, RestSource, SapTableSource, SapOpenHubSource,
SapHanaSource, SapEccSource, SapCloudForCustomerSource,
SalesforceServiceCloudSource, SalesforceSource, ODataSource, SybaseSource,
PostgreSqlSource, MySqlSource, OdbcSource, Db2Source,
SalesforceServiceCloudSource, SalesforceSource, ODataSource, SapBwSource,
SybaseSource, PostgreSqlSource, MySqlSource, OdbcSource, Db2Source,
MicrosoftAccessSource, InformixSource, RelationalSource,
CommonDataServiceForAppsSource, DynamicsCrmSource, DynamicsSource,
DocumentDbCollectionSource, BlobSource, AzureTableSource, BinarySource,
Expand Down Expand Up @@ -71,7 +71,7 @@ class CopySource(Model):
}

_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', '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', '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', 'DelimitedTextSource': 'DelimitedTextSource', 'ParquetSource': 'ParquetSource'}
'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', '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', 'DelimitedTextSource': 'DelimitedTextSource', 'ParquetSource': 'ParquetSource'}
}

def __init__(self, **kwargs):
Expand Down
Loading