@@ -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,8 @@ class Transformation(msrest.serialization.Model):
1149611500 :type name: str
1149711501 :param description: Transformation description.
1149811502 :type description: str
11503+ :param flowlet: Flowlet Reference.
11504+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
1149911505 """
1150011506
1150111507 _validation = {
@@ -11505,6 +11511,7 @@ class Transformation(msrest.serialization.Model):
1150511511 _attribute_map = {
1150611512 'name': {'key': 'name', 'type': 'str'},
1150711513 'description': {'key': 'description', 'type': 'str'},
11514+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
1150811515 }
1150911516
1151011517 def __init__(
@@ -11514,6 +11521,7 @@ def __init__(
1151411521 super(Transformation, self).__init__(**kwargs)
1151511522 self.name = kwargs['name']
1151611523 self.description = kwargs.get('description', None)
11524+ self.flowlet = kwargs.get('flowlet', None)
1151711525
1151811526
1151911527class DataFlowSink(Transformation):
@@ -11525,6 +11533,8 @@ class DataFlowSink(Transformation):
1152511533 :type name: str
1152611534 :param description: Transformation description.
1152711535 :type description: str
11536+ :param flowlet: Flowlet Reference.
11537+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
1152811538 :param dataset: Dataset reference.
1152911539 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
1153011540 :param linked_service: Linked service reference.
@@ -11540,6 +11550,7 @@ class DataFlowSink(Transformation):
1154011550 _attribute_map = {
1154111551 'name': {'key': 'name', 'type': 'str'},
1154211552 'description': {'key': 'description', 'type': 'str'},
11553+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
1154311554 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
1154411555 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
1154511556 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
@@ -11564,6 +11575,8 @@ class DataFlowSource(Transformation):
1156411575 :type name: str
1156511576 :param description: Transformation description.
1156611577 :type description: str
11578+ :param flowlet: Flowlet Reference.
11579+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
1156711580 :param dataset: Dataset reference.
1156811581 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
1156911582 :param linked_service: Linked service reference.
@@ -11579,6 +11592,7 @@ class DataFlowSource(Transformation):
1157911592 _attribute_map = {
1158011593 'name': {'key': 'name', 'type': 'str'},
1158111594 'description': {'key': 'description', 'type': 'str'},
11595+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
1158211596 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
1158311597 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
1158411598 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
@@ -16009,6 +16023,70 @@ def __init__(
1600916023 self.condition = kwargs['condition']
1601016024
1601116025
16026+ class Flowlet(DataFlow):
16027+ """Data flow flowlet.
16028+
16029+ All required parameters must be populated in order to send to Azure.
16030+
16031+ :param type: Required. Type of data flow.Constant filled by server.
16032+ :type type: str
16033+ :param description: The description of the data flow.
16034+ :type description: str
16035+ :param annotations: List of tags that can be used for describing the data flow.
16036+ :type annotations: list[any]
16037+ :param folder: The folder that this data flow is in. If not specified, Data flow will appear at
16038+ the root level.
16039+ :type folder: ~azure.mgmt.datafactory.models.DataFlowFolder
16040+ :param additional_properties: Unmatched properties from the message are deserialized to this
16041+ collection.
16042+ :type additional_properties: dict[str, any]
16043+ :param sources: List of sources in Flowlet.
16044+ :type sources: list[~azure.mgmt.datafactory.models.DataFlowSource]
16045+ :param sinks: List of sinks in Flowlet.
16046+ :type sinks: list[~azure.mgmt.datafactory.models.DataFlowSink]
16047+ :param transformations: List of transformations in Flowlet.
16048+ :type transformations: list[~azure.mgmt.datafactory.models.Transformation]
16049+ :param script: Flowlet script.
16050+ :type script: str
16051+ :param script_lines: Flowlet script lines.
16052+ :type script_lines: list[str]
16053+ :param additional_properties1: Any object.
16054+ :type additional_properties1: any
16055+ """
16056+
16057+ _validation = {
16058+ 'type': {'required': True},
16059+ }
16060+
16061+ _attribute_map = {
16062+ 'type': {'key': 'type', 'type': 'str'},
16063+ 'description': {'key': 'description', 'type': 'str'},
16064+ 'annotations': {'key': 'annotations', 'type': '[object]'},
16065+ 'folder': {'key': 'folder', 'type': 'DataFlowFolder'},
16066+ 'additional_properties': {'key': '', 'type': '{object}'},
16067+ 'sources': {'key': 'typeProperties.sources', 'type': '[DataFlowSource]'},
16068+ 'sinks': {'key': 'typeProperties.sinks', 'type': '[DataFlowSink]'},
16069+ 'transformations': {'key': 'typeProperties.transformations', 'type': '[Transformation]'},
16070+ 'script': {'key': 'typeProperties.script', 'type': 'str'},
16071+ 'script_lines': {'key': 'typeProperties.scriptLines', 'type': '[str]'},
16072+ 'additional_properties1': {'key': 'typeProperties.additionalProperties', 'type': 'object'},
16073+ }
16074+
16075+ def __init__(
16076+ self,
16077+ **kwargs
16078+ ):
16079+ super(Flowlet, self).__init__(**kwargs)
16080+ self.type = 'Flowlet' # type: str
16081+ self.additional_properties = kwargs.get('additional_properties', None)
16082+ self.sources = kwargs.get('sources', None)
16083+ self.sinks = kwargs.get('sinks', None)
16084+ self.transformations = kwargs.get('transformations', None)
16085+ self.script = kwargs.get('script', None)
16086+ self.script_lines = kwargs.get('script_lines', None)
16087+ self.additional_properties1 = kwargs.get('additional_properties1', None)
16088+
16089+
1601216090class ForEachActivity(ControlActivity):
1601316091 """This activity is used for iterating over a collection and execute given activities.
1601416092
@@ -22502,6 +22580,8 @@ class MappingDataFlow(DataFlow):
2250222580 :type transformations: list[~azure.mgmt.datafactory.models.Transformation]
2250322581 :param script: DataFlow script.
2250422582 :type script: str
22583+ :param script_lines: Data flow script lines.
22584+ :type script_lines: list[str]
2250522585 """
2250622586
2250722587 _validation = {
@@ -22517,6 +22597,7 @@ class MappingDataFlow(DataFlow):
2251722597 'sinks': {'key': 'typeProperties.sinks', 'type': '[DataFlowSink]'},
2251822598 'transformations': {'key': 'typeProperties.transformations', 'type': '[Transformation]'},
2251922599 'script': {'key': 'typeProperties.script', 'type': 'str'},
22600+ 'script_lines': {'key': 'typeProperties.scriptLines', 'type': '[str]'},
2252022601 }
2252122602
2252222603 def __init__(
@@ -22529,6 +22610,7 @@ def __init__(
2252922610 self.sinks = kwargs.get('sinks', None)
2253022611 self.transformations = kwargs.get('transformations', None)
2253122612 self.script = kwargs.get('script', None)
22613+ self.script_lines = kwargs.get('script_lines', None)
2253222614
2253322615
2253422616class MariaDBLinkedService(LinkedService):
@@ -27506,6 +27588,8 @@ class PowerQuerySink(DataFlowSink):
2750627588 :type name: str
2750727589 :param description: Transformation description.
2750827590 :type description: str
27591+ :param flowlet: Flowlet Reference.
27592+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
2750927593 :param dataset: Dataset reference.
2751027594 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
2751127595 :param linked_service: Linked service reference.
@@ -27523,6 +27607,7 @@ class PowerQuerySink(DataFlowSink):
2752327607 _attribute_map = {
2752427608 'name': {'key': 'name', 'type': 'str'},
2752527609 'description': {'key': 'description', 'type': 'str'},
27610+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
2752627611 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
2752727612 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
2752827613 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
@@ -27569,6 +27654,8 @@ class PowerQuerySource(DataFlowSource):
2756927654 :type name: str
2757027655 :param description: Transformation description.
2757127656 :type description: str
27657+ :param flowlet: Flowlet Reference.
27658+ :type flowlet: ~azure.mgmt.datafactory.models.DataFlowReference
2757227659 :param dataset: Dataset reference.
2757327660 :type dataset: ~azure.mgmt.datafactory.models.DatasetReference
2757427661 :param linked_service: Linked service reference.
@@ -27586,6 +27673,7 @@ class PowerQuerySource(DataFlowSource):
2758627673 _attribute_map = {
2758727674 'name': {'key': 'name', 'type': 'str'},
2758827675 'description': {'key': 'description', 'type': 'str'},
27676+ 'flowlet': {'key': 'flowlet', 'type': 'DataFlowReference'},
2758927677 'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
2759027678 'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
2759127679 'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
0 commit comments