@@ -11051,7 +11051,7 @@ class DataFlow(msrest.serialization.Model):
1105111051 """Azure Data Factory nested object which contains a flow with data movements and transformations.
1105211052
1105311053 You probably want to use the sub-classes and not this class directly. Known
11054- sub-classes are: MappingDataFlow, WranglingDataFlow.
11054+ sub-classes are: Flowlet, MappingDataFlow, WranglingDataFlow.
1105511055
1105611056 All required parameters must be populated in order to send to Azure.
1105711057
@@ -11078,7 +11078,7 @@ class DataFlow(msrest.serialization.Model):
1107811078 }
1107911079
1108011080 _subtype_map = {
11081- 'type': {'MappingDataFlow': 'MappingDataFlow', 'WranglingDataFlow': 'WranglingDataFlow'}
11081+ 'type': {'Flowlet': 'Flowlet', ' MappingDataFlow': 'MappingDataFlow', 'WranglingDataFlow': 'WranglingDataFlow'}
1108211082 }
1108311083
1108411084 def __init__(
@@ -11190,6 +11190,8 @@ class DataFlowDebugPackage(msrest.serialization.Model):
1119011190 :type session_id: str
1119111191 :param data_flow: Data flow instance.
1119211192 :type data_flow: ~azure.mgmt.datafactory.models.DataFlowDebugResource
11193+ :param data_flows: List of Data flows.
11194+ :type data_flows: list[~azure.mgmt.datafactory.models.DataFlowDebugResource]
1119311195 :param datasets: List of datasets.
1119411196 :type datasets: list[~azure.mgmt.datafactory.models.DatasetDebugResource]
1119511197 :param linked_services: List of linked services.
@@ -11204,6 +11206,7 @@ class DataFlowDebugPackage(msrest.serialization.Model):
1120411206 'additional_properties': {'key': '', 'type': '{object}'},
1120511207 'session_id': {'key': 'sessionId', 'type': 'str'},
1120611208 'data_flow': {'key': 'dataFlow', 'type': 'DataFlowDebugResource'},
11209+ 'data_flows': {'key': 'dataFlows', 'type': '[DataFlowDebugResource]'},
1120711210 'datasets': {'key': 'datasets', 'type': '[DatasetDebugResource]'},
1120811211 'linked_services': {'key': 'linkedServices', 'type': '[LinkedServiceDebugResource]'},
1120911212 'staging': {'key': 'staging', 'type': 'DataFlowStagingInfo'},
@@ -11218,6 +11221,7 @@ def __init__(
1121811221 self.additional_properties = kwargs.get('additional_properties', None)
1121911222 self.session_id = kwargs.get('session_id', None)
1122011223 self.data_flow = kwargs.get('data_flow', None)
11224+ self.data_flows = kwargs.get('data_flows', None)
1122111225 self.datasets = kwargs.get('datasets', None)
1122211226 self.linked_services = kwargs.get('linked_services', None)
1122311227 self.staging = kwargs.get('staging', None)
@@ -11496,6 +11500,12 @@ class Transformation(msrest.serialization.Model):
1149611500 :type name: str
1149711501 :param description: Transformation description.
1149811502 :type description: str
11503+ :param dataset: Dataset reference.
11504+ :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
11505+ :param linked_service: Linked service reference.
11506+ :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
11507+ :param flowlet: Flowlet Reference.
11508+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
1149911509 """
1150011510
1150111511 _validation = {
@@ -11505,6 +11515,9 @@ class Transformation(msrest.serialization.Model):
1150511515 _attribute_map = {
1150611516 'name': {'key': 'name', 'type': 'str'},
1150711517 'description': {'key': 'description', 'type': 'str'},
11518+ 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
11519+ 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
11520+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
1150811521 }
1150911522
1151011523 def __init__(
@@ -11514,6 +11527,9 @@ def __init__(
1151411527 super(Transformation, self).__init__(**kwargs)
1151511528 self.name = kwargs['name']
1151611529 self.description = kwargs.get('description', None)
11530+ self.dataset = kwargs.get('dataset', None)
11531+ self.linked_service = kwargs.get('linked_service', None)
11532+ self.flowlet = kwargs.get('flowlet', None)
1151711533
1151811534
1151911535class DataFlowSink(Transformation):
@@ -11529,6 +11545,8 @@ class DataFlowSink(Transformation):
1152911545 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
1153011546 :param linked_service: Linked service reference.
1153111547 :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
11548+ :param flowlet: Flowlet Reference.
11549+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
1153211550 :param schema_linked_service: Schema linked service reference.
1153311551 :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
1153411552 """
@@ -11542,6 +11560,7 @@ class DataFlowSink(Transformation):
1154211560 'description': {'key': 'description', 'type': 'str'},
1154311561 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
1154411562 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
11563+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
1154511564 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
1154611565 }
1154711566
@@ -11550,8 +11569,6 @@ def __init__(
1155011569 **kwargs
1155111570 ):
1155211571 super(DataFlowSink, self).__init__(**kwargs)
11553- self.dataset = kwargs.get('dataset', None)
11554- self.linked_service = kwargs.get('linked_service', None)
1155511572 self.schema_linked_service = kwargs.get('schema_linked_service', None)
1155611573
1155711574
@@ -11568,6 +11585,8 @@ class DataFlowSource(Transformation):
1156811585 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
1156911586 :param linked_service: Linked service reference.
1157011587 :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
11588+ :param flowlet: Flowlet Reference.
11589+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
1157111590 :param schema_linked_service: Schema linked service reference.
1157211591 :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
1157311592 """
@@ -11581,6 +11600,7 @@ class DataFlowSource(Transformation):
1158111600 'description': {'key': 'description', 'type': 'str'},
1158211601 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
1158311602 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
11603+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
1158411604 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
1158511605 }
1158611606
@@ -11589,8 +11609,6 @@ def __init__(
1158911609 **kwargs
1159011610 ):
1159111611 super(DataFlowSource, self).__init__(**kwargs)
11592- self.dataset = kwargs.get('dataset', None)
11593- self.linked_service = kwargs.get('linked_service', None)
1159411612 self.schema_linked_service = kwargs.get('schema_linked_service', None)
1159511613
1159611614
@@ -16009,6 +16027,70 @@ def __init__(
1600916027 self.condition = kwargs['condition']
1601016028
1601116029
16030+ class Flowlet(DataFlow):
16031+ """Data flow flowlet.
16032+
16033+ All required parameters must be populated in order to send to Azure.
16034+
16035+ :param type: Required. Type of data flow.Constant filled by server.
16036+ :type type: str
16037+ :param description: The description of the data flow.
16038+ :type description: str
16039+ :param annotations: List of tags that can be used for describing the data flow.
16040+ :type annotations: list[any]
16041+ :param folder: The folder that this data flow is in. If not specified, Data flow will appear at
16042+ the root level.
16043+ :type folder: ~azure.mgmt.datafactory.models.DataFlowFolder
16044+ :param additional_properties: Unmatched properties from the message are deserialized to this
16045+ collection.
16046+ :type additional_properties: dict[str, any]
16047+ :param sources: List of sources in Flowlet.
16048+ :type sources: list[~azure.mgmt.datafactory.models.DataFlowSource]
16049+ :param sinks: List of sinks in Flowlet.
16050+ :type sinks: list[~azure.mgmt.datafactory.models.DataFlowSink]
16051+ :param transformations: List of transformations in Flowlet.
16052+ :type transformations: list[~azure.mgmt.datafactory.models.Transformation]
16053+ :param script: Flowlet script.
16054+ :type script: str
16055+ :param script_lines: Flowlet script lines.
16056+ :type script_lines: list[str]
16057+ :param additional_properties1: Any object.
16058+ :type additional_properties1: any
16059+ """
16060+
16061+ _validation = {
16062+ 'type': {'required': True},
16063+ }
16064+
16065+ _attribute_map = {
16066+ 'type': {'key': 'type', 'type': 'str'},
16067+ 'description': {'key': 'description', 'type': 'str'},
16068+ 'annotations': {'key': 'annotations', 'type': '[object]'},
16069+ 'folder': {'key': 'folder', 'type': 'DataFlowFolder'},
16070+ 'additional_properties': {'key': '', 'type': '{object}'},
16071+ 'sources': {'key': 'typeProperties.sources', 'type': '[DataFlowSource]'},
16072+ 'sinks': {'key': 'typeProperties.sinks', 'type': '[DataFlowSink]'},
16073+ 'transformations': {'key': 'typeProperties.transformations', 'type': '[Transformation]'},
16074+ 'script': {'key': 'typeProperties.script', 'type': 'str'},
16075+ 'script_lines': {'key': 'typeProperties.scriptLines', 'type': '[str]'},
16076+ 'additional_properties1': {'key': 'typeProperties.additionalProperties', 'type': 'object'},
16077+ }
16078+
16079+ def __init__(
16080+ self,
16081+ **kwargs
16082+ ):
16083+ super(Flowlet, self).__init__(**kwargs)
16084+ self.type = 'Flowlet' # type: str
16085+ self.additional_properties = kwargs.get('additional_properties', None)
16086+ self.sources = kwargs.get('sources', None)
16087+ self.sinks = kwargs.get('sinks', None)
16088+ self.transformations = kwargs.get('transformations', None)
16089+ self.script = kwargs.get('script', None)
16090+ self.script_lines = kwargs.get('script_lines', None)
16091+ self.additional_properties1 = kwargs.get('additional_properties1', None)
16092+
16093+
1601216094class ForEachActivity(ControlActivity):
1601316095 """This activity is used for iterating over a collection and execute given activities.
1601416096
@@ -22502,6 +22584,8 @@ class MappingDataFlow(DataFlow):
2250222584 :type transformations: list[~azure.mgmt.datafactory.models.Transformation]
2250322585 :param script: DataFlow script.
2250422586 :type script: str
22587+ :param script_lines: Data flow script lines.
22588+ :type script_lines: list[str]
2250522589 """
2250622590
2250722591 _validation = {
@@ -22517,6 +22601,7 @@ class MappingDataFlow(DataFlow):
2251722601 'sinks': {'key': 'typeProperties.sinks', 'type': '[DataFlowSink]'},
2251822602 'transformations': {'key': 'typeProperties.transformations', 'type': '[Transformation]'},
2251922603 'script': {'key': 'typeProperties.script', 'type': 'str'},
22604+ 'script_lines': {'key': 'typeProperties.scriptLines', 'type': '[str]'},
2252022605 }
2252122606
2252222607 def __init__(
@@ -22529,6 +22614,7 @@ def __init__(
2252922614 self.sinks = kwargs.get('sinks', None)
2253022615 self.transformations = kwargs.get('transformations', None)
2253122616 self.script = kwargs.get('script', None)
22617+ self.script_lines = kwargs.get('script_lines', None)
2253222618
2253322619
2253422620class MariaDBLinkedService(LinkedService):
@@ -27510,6 +27596,8 @@ class PowerQuerySink(DataFlowSink):
2751027596 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
2751127597 :param linked_service: Linked service reference.
2751227598 :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
27599+ :param flowlet: Flowlet Reference.
27600+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
2751327601 :param schema_linked_service: Schema linked service reference.
2751427602 :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
2751527603 :param script: sink script.
@@ -27525,6 +27613,7 @@ class PowerQuerySink(DataFlowSink):
2752527613 'description': {'key': 'description', 'type': 'str'},
2752627614 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
2752727615 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
27616+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
2752827617 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
2752927618 'script': {'key': 'script', 'type': 'str'},
2753027619 }
@@ -27573,6 +27662,8 @@ class PowerQuerySource(DataFlowSource):
2757327662 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
2757427663 :param linked_service: Linked service reference.
2757527664 :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
27665+ :param flowlet: Flowlet Reference.
27666+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
2757627667 :param schema_linked_service: Schema linked service reference.
2757727668 :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference
2757827669 :param script: source script.
@@ -27588,6 +27679,7 @@ class PowerQuerySource(DataFlowSource):
2758827679 'description': {'key': 'description', 'type': 'str'},
2758927680 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
2759027681 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
27682+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
2759127683 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
2759227684 'script': {'key': 'script', 'type': 'str'},
2759327685 }
0 commit comments