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: add table name in dataset #3759

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 @@ -39,6 +39,9 @@ class AmazonMWSObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class AmazonMWSObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(AmazonMWSObjectDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'AmazonMWSObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class AmazonMWSObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class AmazonMWSObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(AmazonMWSObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'AmazonMWSObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class AzurePostgreSqlTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class AzurePostgreSqlTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(AzurePostgreSqlTableDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'AzurePostgreSqlTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class AzurePostgreSqlTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class AzurePostgreSqlTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(AzurePostgreSqlTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'AzurePostgreSqlTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class ConcurObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class ConcurObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(ConcurObjectDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'ConcurObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class ConcurObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class ConcurObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(ConcurObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'ConcurObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class CouchbaseTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class CouchbaseTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(CouchbaseTableDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'CouchbaseTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class CouchbaseTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class CouchbaseTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(CouchbaseTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'CouchbaseTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class DrillTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class DrillTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(DrillTableDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'DrillTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class DrillTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class DrillTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(DrillTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'DrillTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class EloquaObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class EloquaObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(EloquaObjectDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'EloquaObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class EloquaObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class EloquaObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(EloquaObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'EloquaObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class GoogleBigQueryObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class GoogleBigQueryObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(GoogleBigQueryObjectDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'GoogleBigQueryObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class GoogleBigQueryObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class GoogleBigQueryObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(GoogleBigQueryObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'GoogleBigQueryObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class GreenplumTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class GreenplumTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(GreenplumTableDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'GreenplumTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class GreenplumTableDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class GreenplumTableDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(GreenplumTableDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'GreenplumTable'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class HBaseObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class HBaseObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, **kwargs):
super(HBaseObjectDataset, self).__init__(**kwargs)
self.table_name = kwargs.get('table_name', None)
self.type = 'HBaseObject'
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class HBaseObjectDataset(Dataset):
:type folder: ~azure.mgmt.datafactory.models.DatasetFolder
:param type: Required. Constant filled by server.
:type type: str
:param table_name: The table name. Type: string (or Expression with
resultType string).
:type table_name: object
"""

_validation = {
Expand All @@ -55,8 +58,10 @@ class HBaseObjectDataset(Dataset):
'annotations': {'key': 'annotations', 'type': '[object]'},
'folder': {'key': 'folder', 'type': 'DatasetFolder'},
'type': {'key': 'type', 'type': 'str'},
'table_name': {'key': 'typeProperties.tableName', 'type': 'object'},
}

def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, **kwargs) -> None:
def __init__(self, *, linked_service_name, additional_properties=None, description: str=None, structure=None, parameters=None, annotations=None, folder=None, table_name=None, **kwargs) -> None:
super(HBaseObjectDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs)
self.table_name = table_name
self.type = 'HBaseObject'
Loading