diff --git a/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt b/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt
index e45dc0b395e1..4c578db3441a 100644
--- a/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt
@@ -5,11 +5,11 @@ Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/datafactory/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\Projects\azure-sdk-for-net\sdk
Autorest CSharp Version: 2.3.82
-2022-09-30 02:08:47 UTC
+2022-10-25 04:48:50 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: main
-Commit: 4994cbed850f3726721ec6fd3235a474e8d08fcc
+Commit: fdd4e5c9b9225698c7f26c75c4b26be5c57e60f8
AutoRest information
Requested version: v2
Bootstrapper version: autorest@3.6.1
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/CHANGELOG.md b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/CHANGELOG.md
index ff433fdb98ce..b3fd8dc11908 100644
--- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/CHANGELOG.md
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog for the Azure Data Factory V2 .NET SDK
+## Version 8.0.0
+### Feature Additions
+### Breaking Changes
+- Added properties to spark job activity
+- Added disablePublish property into FactoryRepoConfiguration
+- Added scriptBlockExecutionTimeout property into Script Activity
+
## Version 7.0.0
### Feature Additions
### Breaking Changes
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/FactoryGitHubConfiguration.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/FactoryGitHubConfiguration.cs
new file mode 100644
index 000000000000..b3a6a5fdad95
--- /dev/null
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/FactoryGitHubConfiguration.cs
@@ -0,0 +1,28 @@
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ public partial class FactoryGitHubConfiguration : FactoryRepoConfiguration
+ {
+ ///
+ /// Initializes a new instance of the FactoryGitHubConfiguration class.
+ ///
+ /// Account name.
+ /// Repository name.
+ /// Collaboration branch.
+ /// Root folder.
+ /// Last commit id.
+ /// ADF studio to favor automated publish.
+ /// GitHub Enterprise host name. For example:
+ /// `https://github.mydomain.com`
+ /// GitHub bring your own app client id.
+ /// GitHub bring your own app client secret
+ /// information.
+ public FactoryGitHubConfiguration(string accountName, string repositoryName, string collaborationBranch, string rootFolder, string lastCommitId, string hostName, string clientId = default(string), GitHubClientSecret clientSecret = default(GitHubClientSecret))
+ : base(accountName, repositoryName, collaborationBranch, rootFolder, lastCommitId)
+ {
+ HostName = hostName;
+ ClientId = clientId;
+ ClientSecret = clientSecret;
+ CustomInit();
+ }
+ }
+}
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/FactoryVSTSConfiguration.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/FactoryVSTSConfiguration.cs
new file mode 100644
index 000000000000..3c7de53048ae
--- /dev/null
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/FactoryVSTSConfiguration.cs
@@ -0,0 +1,23 @@
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ public partial class FactoryVSTSConfiguration : FactoryRepoConfiguration
+ {
+ ///
+ /// Initializes a new instance of the FactoryVSTSConfiguration class.
+ ///
+ /// Account name.
+ /// Repository name.
+ /// Collaboration branch.
+ /// Root folder.
+ /// VSTS project name.
+ /// Last commit id.
+ /// VSTS tenant id.
+ public FactoryVSTSConfiguration(string accountName, string repositoryName, string collaborationBranch, string rootFolder, string projectName, string lastCommitId, string tenantId)
+ : base(accountName, repositoryName, collaborationBranch, rootFolder, lastCommitId)
+ {
+ ProjectName = projectName;
+ TenantId = tenantId;
+ CustomInit();
+ }
+ }
+}
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/ScriptActivity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/ScriptActivity.cs
new file mode 100644
index 000000000000..7cbba1436378
--- /dev/null
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/ScriptActivity.cs
@@ -0,0 +1,28 @@
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ public partial class ScriptActivity : ExecutionActivity
+ {
+ ///
+ /// Initializes a new instance of the ScriptActivity class.
+ ///
+ /// Activity name.
+ /// Unmatched properties from the
+ /// message are deserialized this collection
+ /// Activity description.
+ /// Activity depends on condition.
+ /// Activity user properties.
+ /// Linked service reference.
+ /// Activity policy.
+ /// Array of script blocks. Type: array.
+ /// Log settings of script activity.
+ public ScriptActivity(string name, IDictionary additionalProperties, string description, IList dependsOn, IList userProperties, LinkedServiceReference linkedServiceName, ActivityPolicy policy, IList scripts, ScriptActivityTypePropertiesLogSettings logSettings = default(ScriptActivityTypePropertiesLogSettings))
+ : base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy)
+ {
+ Scripts = scripts;
+ LogSettings = logSettings;
+ CustomInit();
+ }
+ }
+}
diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/SynapseSparkJobDefinitionActivity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/SynapseSparkJobDefinitionActivity.cs
new file mode 100644
index 000000000000..31462f7b4d8c
--- /dev/null
+++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Customizations/SynapseSparkJobDefinitionActivity.cs
@@ -0,0 +1,68 @@
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Management.DataFactory.Models
+{
+ public partial class SynapseSparkJobDefinitionActivity : ExecutionActivity
+ {
+ ///
+ /// Initializes a new instance of the SynapseSparkJobDefinitionActivity
+ /// class.
+ ///
+ /// Activity name.
+ /// Synapse spark job reference.
+ /// Unmatched properties from the
+ /// message are deserialized this collection
+ /// Activity description.
+ /// Activity depends on condition.
+ /// Activity user properties.
+ /// Linked service reference.
+ /// Activity policy.
+ /// User specified arguments to
+ /// SynapseSparkJobDefinitionActivity.
+ /// The main file used for the job, which will
+ /// override the 'file' of the spark job definition you provide. Type:
+ /// string (or Expression with resultType string).
+ /// The fully-qualified identifier or the main
+ /// class that is in the main definition file, which will override the
+ /// 'className' of the spark job definition you provide. Type: string
+ /// (or Expression with resultType string).
+ /// Additional files used for reference in the main
+ /// definition file, which will override the 'files' of the spark job
+ /// definition you provide.
+ /// The name of the big data pool which
+ /// will be used to execute the spark batch job, which will override
+ /// the 'targetBigDataPool' of the spark job definition you
+ /// provide.
+ /// Number of core and memory to be used for
+ /// executors allocated in the specified Spark pool for the job, which
+ /// will be used for overriding 'executorCores' and 'executorMemory' of
+ /// the spark job definition you provide. Type: string (or Expression
+ /// with resultType string).
+ /// Spark configuration properties, which will
+ /// override the 'conf' of the spark job definition you
+ /// provide.
+ /// Number of core and memory to be used for
+ /// driver allocated in the specified Spark pool for the job, which
+ /// will be used for overriding 'driverCores' and 'driverMemory' of the
+ /// spark job definition you provide. Type: string (or Expression with
+ /// resultType string).
+ /// Number of executors to launch for this
+ /// job, which will override the 'numExecutors' of the spark job
+ /// definition you provide.
+ public SynapseSparkJobDefinitionActivity(string name, SynapseSparkJobReference sparkJob, IDictionary additionalProperties, string description, IList dependsOn, IList userProperties, LinkedServiceReference linkedServiceName, ActivityPolicy policy, IList