diff --git a/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt b/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt
new file mode 100644
index 0000000000000..c59cf14e68800
--- /dev/null
+++ b/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt
@@ -0,0 +1,14 @@
+Installing AutoRest version: latest
+AutoRest installed successfully.
+Commencing code generation
+Generating CSharp code
+Executing AutoRest command
+cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\Repos\azure-sdk-for-net\sdk
+2019-07-26 10:54:28 UTC
+Azure-rest-api-specs repository information
+GitHub fork: Azure
+Branch: master
+Commit: 7936730ee4e746dd7af1a0a97b20ba4779a2a35c
+AutoRest information
+Requested version: latest
+Bootstrapper version: autorest@2.0.4283
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerCommandActivity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerCommandActivity.cs
new file mode 100644
index 0000000000000..affb4aa218d90
--- /dev/null
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerCommandActivity.cs
@@ -0,0 +1,98 @@
+//
+// 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;
+
+ ///
+ /// Azure Data Explorer command activity.
+ ///
+ [Newtonsoft.Json.JsonObject("AzureDataExplorerCommand")]
+ [Rest.Serialization.JsonTransformation]
+ public partial class AzureDataExplorerCommandActivity : ExecutionActivity
+ {
+ ///
+ /// Initializes a new instance of the AzureDataExplorerCommandActivity
+ /// class.
+ ///
+ public AzureDataExplorerCommandActivity()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureDataExplorerCommandActivity
+ /// class.
+ ///
+ /// Activity name.
+ /// A control command, according to the Azure
+ /// Data Explorer command syntax. Type: string (or Expression with
+ /// resultType string).
+ /// Unmatched properties from the
+ /// message are deserialized this collection
+ /// Activity description.
+ /// Activity depends on condition.
+ /// Activity user properties.
+ /// Linked service reference.
+ /// Activity policy.
+ /// Control command timeout. Type: string
+ /// (or Expression with resultType string), pattern:
+ /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)
+ public AzureDataExplorerCommandActivity(string name, object command, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IList userProperties = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object commandTimeout = default(object))
+ : base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy)
+ {
+ Command = command;
+ CommandTimeout = commandTimeout;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets a control command, according to the Azure Data
+ /// Explorer command syntax. Type: string (or Expression with
+ /// resultType string).
+ ///
+ [JsonProperty(PropertyName = "typeProperties.command")]
+ public object Command { get; set; }
+
+ ///
+ /// Gets or sets control command timeout. Type: string (or Expression
+ /// with resultType string), pattern:
+ /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)
+ ///
+ [JsonProperty(PropertyName = "typeProperties.commandTimeout")]
+ public object CommandTimeout { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public override void Validate()
+ {
+ base.Validate();
+ if (Command == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Command");
+ }
+ }
+ }
+}
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs
new file mode 100644
index 0000000000000..b7948c955b272
--- /dev/null
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs
@@ -0,0 +1,71 @@
+//
+// 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 Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// A copy activity Azure PostgreSQL sink.
+ ///
+ public partial class AzurePostgreSqlSink : CopySink
+ {
+ ///
+ /// Initializes a new instance of the AzurePostgreSqlSink class.
+ ///
+ public AzurePostgreSqlSink()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzurePostgreSqlSink class.
+ ///
+ /// Unmatched properties from the
+ /// message are deserialized this collection
+ /// Write batch size. Type: integer (or
+ /// Expression with resultType integer), minimum: 0.
+ /// Write batch timeout. Type: string
+ /// (or Expression with resultType string), pattern:
+ /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ /// Sink retry count. Type: integer (or
+ /// Expression with resultType integer).
+ /// Sink retry wait. Type: string (or
+ /// Expression with resultType string), pattern:
+ /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
+ /// The maximum concurrent
+ /// connection count for the sink data store. Type: integer (or
+ /// Expression with resultType integer).
+ /// A query to execute before starting the
+ /// copy. Type: string (or Expression with resultType string).
+ public AzurePostgreSqlSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object preCopyScript = default(object))
+ : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections)
+ {
+ PreCopyScript = preCopyScript;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets a query to execute before starting the copy. Type:
+ /// string (or Expression with resultType string).
+ ///
+ [JsonProperty(PropertyName = "preCopyScript")]
+ public object PreCopyScript { get; set; }
+
+ }
+}
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs
index a010188aff4cc..cad0ef71175e7 100644
--- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlTableDataset.cs
@@ -53,12 +53,21 @@ public AzurePostgreSqlTableDataset()
/// describing the Dataset.
/// The folder that this Dataset is in. If not
/// specified, Dataset will appear at the root level.
- /// The table name. Type: string (or Expression
- /// with resultType string).
- public AzurePostgreSqlTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList