diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowDebugPackage.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowDebugPackage.cs
index c6dc85624f26..32e44a94be82 100644
--- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowDebugPackage.cs
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowDebugPackage.cs
@@ -35,15 +35,17 @@ public DataFlowDebugPackage()
/// message are deserialized this collection
/// The ID of data flow debug session.
/// Data flow instance.
+ /// List of Data flows
/// List of datasets.
/// List of linked services.
/// Staging info for debug session.
/// Data flow debug settings.
- public DataFlowDebugPackage(IDictionary additionalProperties = default(IDictionary), string sessionId = default(string), DataFlowDebugResource dataFlow = default(DataFlowDebugResource), IList datasets = default(IList), IList linkedServices = default(IList), DataFlowStagingInfo staging = default(DataFlowStagingInfo), DataFlowDebugPackageDebugSettings debugSettings = default(DataFlowDebugPackageDebugSettings))
+ public DataFlowDebugPackage(IDictionary additionalProperties = default(IDictionary), string sessionId = default(string), DataFlowDebugResource dataFlow = default(DataFlowDebugResource), IList dataFlows = default(IList), IList datasets = default(IList), IList linkedServices = default(IList), DataFlowStagingInfo staging = default(DataFlowStagingInfo), DataFlowDebugPackageDebugSettings debugSettings = default(DataFlowDebugPackageDebugSettings))
{
AdditionalProperties = additionalProperties;
SessionId = sessionId;
DataFlow = dataFlow;
+ DataFlows = dataFlows;
Datasets = datasets;
LinkedServices = linkedServices;
Staging = staging;
@@ -75,6 +77,12 @@ public DataFlowDebugPackage()
[JsonProperty(PropertyName = "dataFlow")]
public DataFlowDebugResource DataFlow { get; set; }
+ ///
+ /// Gets or sets list of Data flows
+ ///
+ [JsonProperty(PropertyName = "dataFlows")]
+ public IList DataFlows { get; set; }
+
///
/// Gets or sets list of datasets.
///
@@ -111,9 +119,9 @@ public virtual void Validate()
{
DataFlow.Validate();
}
- if (Datasets != null)
+ if (DataFlows != null)
{
- foreach (var element in Datasets)
+ foreach (var element in DataFlows)
{
if (element != null)
{
@@ -121,9 +129,9 @@ public virtual void Validate()
}
}
}
- if (LinkedServices != null)
+ if (Datasets != null)
{
- foreach (var element1 in LinkedServices)
+ foreach (var element1 in Datasets)
{
if (element1 != null)
{
@@ -131,6 +139,16 @@ public virtual void Validate()
}
}
}
+ if (LinkedServices != null)
+ {
+ foreach (var element2 in LinkedServices)
+ {
+ if (element2 != null)
+ {
+ element2.Validate();
+ }
+ }
+ }
if (Staging != null)
{
Staging.Validate();
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs
index 7fde44a13732..ceb47cbb9b97 100644
--- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs
@@ -33,13 +33,12 @@ public DataFlowSink()
/// Transformation description.
/// Dataset reference.
/// Linked service reference.
+ /// Flowlet Reference
/// Schema linked service
/// reference.
- public DataFlowSink(string name, string description = default(string), DatasetReference dataset = default(DatasetReference), LinkedServiceReference linkedService = default(LinkedServiceReference), LinkedServiceReference schemaLinkedService = default(LinkedServiceReference))
- : base(name, description)
+ public DataFlowSink(string name, string description = default(string), DatasetReference dataset = default(DatasetReference), LinkedServiceReference linkedService = default(LinkedServiceReference), DataFlowReference flowlet = default(DataFlowReference), LinkedServiceReference schemaLinkedService = default(LinkedServiceReference))
+ : base(name, description, dataset, linkedService, flowlet)
{
- Dataset = dataset;
- LinkedService = linkedService;
SchemaLinkedService = schemaLinkedService;
CustomInit();
}
@@ -49,18 +48,6 @@ public DataFlowSink()
///
partial void CustomInit();
- ///
- /// Gets or sets dataset reference.
- ///
- [JsonProperty(PropertyName = "dataset")]
- public DatasetReference Dataset { get; set; }
-
- ///
- /// Gets or sets linked service reference.
- ///
- [JsonProperty(PropertyName = "linkedService")]
- public LinkedServiceReference LinkedService { get; set; }
-
///
/// Gets or sets schema linked service reference.
///
@@ -76,14 +63,6 @@ public DataFlowSink()
public override void Validate()
{
base.Validate();
- if (Dataset != null)
- {
- Dataset.Validate();
- }
- if (LinkedService != null)
- {
- LinkedService.Validate();
- }
if (SchemaLinkedService != null)
{
SchemaLinkedService.Validate();
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs
index 838e69cc4a25..d6ca33961443 100644
--- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs
@@ -33,13 +33,12 @@ public DataFlowSource()
/// Transformation description.
/// Dataset reference.
/// Linked service reference.
+ /// Flowlet Reference
/// Schema linked service
/// reference.
- public DataFlowSource(string name, string description = default(string), DatasetReference dataset = default(DatasetReference), LinkedServiceReference linkedService = default(LinkedServiceReference), LinkedServiceReference schemaLinkedService = default(LinkedServiceReference))
- : base(name, description)
+ public DataFlowSource(string name, string description = default(string), DatasetReference dataset = default(DatasetReference), LinkedServiceReference linkedService = default(LinkedServiceReference), DataFlowReference flowlet = default(DataFlowReference), LinkedServiceReference schemaLinkedService = default(LinkedServiceReference))
+ : base(name, description, dataset, linkedService, flowlet)
{
- Dataset = dataset;
- LinkedService = linkedService;
SchemaLinkedService = schemaLinkedService;
CustomInit();
}
@@ -49,18 +48,6 @@ public DataFlowSource()
///
partial void CustomInit();
- ///
- /// Gets or sets dataset reference.
- ///
- [JsonProperty(PropertyName = "dataset")]
- public DatasetReference Dataset { get; set; }
-
- ///
- /// Gets or sets linked service reference.
- ///
- [JsonProperty(PropertyName = "linkedService")]
- public LinkedServiceReference LinkedService { get; set; }
-
///
/// Gets or sets schema linked service reference.
///
@@ -76,14 +63,6 @@ public DataFlowSource()
public override void Validate()
{
base.Validate();
- if (Dataset != null)
- {
- Dataset.Validate();
- }
- if (LinkedService != null)
- {
- LinkedService.Validate();
- }
if (SchemaLinkedService != null)
{
SchemaLinkedService.Validate();
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Flowlet.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Flowlet.cs
new file mode 100644
index 000000000000..a21237d14fae
--- /dev/null
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Flowlet.cs
@@ -0,0 +1,111 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Data flow flowlet
+ ///
+ [Rest.Serialization.JsonTransformation]
+ public partial class Flowlet : DataFlow
+ {
+ ///
+ /// Initializes a new instance of the Flowlet class.
+ ///
+ public Flowlet()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the Flowlet class.
+ ///
+ /// The description of the data flow.
+ /// List of tags that can be used for
+ /// describing the data flow.
+ /// The folder that this data flow is in. If not
+ /// specified, Data flow will appear at the root level.
+ /// Unmatched properties from the
+ /// message are deserialized this collection
+ /// List of sources in Flowlet.
+ /// List of sinks in Flowlet.
+ /// List of transformations in
+ /// Flowlet.
+ /// Flowlet script.
+ /// Flowlet script lines.
+ public Flowlet(string description = default(string), IList