Skip to content

Commit 3629b98

Browse files
authored
[DataFactory]Added new features into 8.0.0 (#31988)
* [DataFactory]Added new features into 6.4.0 * [DataFactory]Added new features into 7.0.0 * [DataFactory]Added new features into 8.0.0 * Fix * fix
1 parent 5a83a56 commit 3629b98

16 files changed

+250
-24
lines changed

eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Generating CSharp code
55
Executing AutoRest command
66
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
77
Autorest CSharp Version: 2.3.82
8-
2022-09-30 02:08:47 UTC
8+
2022-10-25 04:48:50 UTC
99
Azure-rest-api-specs repository information
1010
GitHub fork: Azure
1111
Branch: main
12-
Commit: 4994cbed850f3726721ec6fd3235a474e8d08fcc
12+
Commit: fdd4e5c9b9225698c7f26c75c4b26be5c57e60f8
1313
AutoRest information
1414
Requested version: v2
1515
Bootstrapper version: [email protected]

sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog for the Azure Data Factory V2 .NET SDK
22

3+
## Version 8.0.0
4+
### Feature Additions
5+
### Breaking Changes
6+
- Added properties to spark job activity
7+
- Added disablePublish property into FactoryRepoConfiguration
8+
- Added scriptBlockExecutionTimeout property into Script Activity
9+
310
## Version 7.0.0
411
### Feature Additions
512
### Breaking Changes
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
namespace Microsoft.Azure.Management.DataFactory.Models
2+
{
3+
public partial class FactoryGitHubConfiguration : FactoryRepoConfiguration
4+
{
5+
/// <summary>
6+
/// Initializes a new instance of the FactoryGitHubConfiguration class.
7+
/// </summary>
8+
/// <param name="accountName">Account name.</param>
9+
/// <param name="repositoryName">Repository name.</param>
10+
/// <param name="collaborationBranch">Collaboration branch.</param>
11+
/// <param name="rootFolder">Root folder.</param>
12+
/// <param name="lastCommitId">Last commit id.</param>
13+
/// ADF studio to favor automated publish.</param>
14+
/// <param name="hostName">GitHub Enterprise host name. For example:
15+
/// `https://github.mydomain.com`</param>
16+
/// <param name="clientId">GitHub bring your own app client id.</param>
17+
/// <param name="clientSecret">GitHub bring your own app client secret
18+
/// information.</param>
19+
public FactoryGitHubConfiguration(string accountName, string repositoryName, string collaborationBranch, string rootFolder, string lastCommitId, string hostName, string clientId = default(string), GitHubClientSecret clientSecret = default(GitHubClientSecret))
20+
: base(accountName, repositoryName, collaborationBranch, rootFolder, lastCommitId)
21+
{
22+
HostName = hostName;
23+
ClientId = clientId;
24+
ClientSecret = clientSecret;
25+
CustomInit();
26+
}
27+
}
28+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
namespace Microsoft.Azure.Management.DataFactory.Models
2+
{
3+
public partial class FactoryVSTSConfiguration : FactoryRepoConfiguration
4+
{
5+
/// <summary>
6+
/// Initializes a new instance of the FactoryVSTSConfiguration class.
7+
/// </summary>
8+
/// <param name="accountName">Account name.</param>
9+
/// <param name="repositoryName">Repository name.</param>
10+
/// <param name="collaborationBranch">Collaboration branch.</param>
11+
/// <param name="rootFolder">Root folder.</param>
12+
/// <param name="projectName">VSTS project name.</param>
13+
/// <param name="lastCommitId">Last commit id.</param>
14+
/// <param name="tenantId">VSTS tenant id.</param>
15+
public FactoryVSTSConfiguration(string accountName, string repositoryName, string collaborationBranch, string rootFolder, string projectName, string lastCommitId, string tenantId)
16+
: base(accountName, repositoryName, collaborationBranch, rootFolder, lastCommitId)
17+
{
18+
ProjectName = projectName;
19+
TenantId = tenantId;
20+
CustomInit();
21+
}
22+
}
23+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections.Generic;
2+
3+
namespace Microsoft.Azure.Management.DataFactory.Models
4+
{
5+
public partial class ScriptActivity : ExecutionActivity
6+
{
7+
/// <summary>
8+
/// Initializes a new instance of the ScriptActivity class.
9+
/// </summary>
10+
/// <param name="name">Activity name.</param>
11+
/// <param name="additionalProperties">Unmatched properties from the
12+
/// message are deserialized this collection</param>
13+
/// <param name="description">Activity description.</param>
14+
/// <param name="dependsOn">Activity depends on condition.</param>
15+
/// <param name="userProperties">Activity user properties.</param>
16+
/// <param name="linkedServiceName">Linked service reference.</param>
17+
/// <param name="policy">Activity policy.</param>
18+
/// <param name="scripts">Array of script blocks. Type: array.</param>
19+
/// <param name="logSettings">Log settings of script activity.</param>
20+
public ScriptActivity(string name, IDictionary<string, object> additionalProperties, string description, IList<ActivityDependency> dependsOn, IList<UserProperty> userProperties, LinkedServiceReference linkedServiceName, ActivityPolicy policy, IList<ScriptActivityScriptBlock> scripts, ScriptActivityTypePropertiesLogSettings logSettings = default(ScriptActivityTypePropertiesLogSettings))
21+
: base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy)
22+
{
23+
Scripts = scripts;
24+
LogSettings = logSettings;
25+
CustomInit();
26+
}
27+
}
28+
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
using System.Collections.Generic;
2+
3+
namespace Microsoft.Azure.Management.DataFactory.Models
4+
{
5+
public partial class SynapseSparkJobDefinitionActivity : ExecutionActivity
6+
{
7+
/// <summary>
8+
/// Initializes a new instance of the SynapseSparkJobDefinitionActivity
9+
/// class.
10+
/// </summary>
11+
/// <param name="name">Activity name.</param>
12+
/// <param name="sparkJob">Synapse spark job reference.</param>
13+
/// <param name="additionalProperties">Unmatched properties from the
14+
/// message are deserialized this collection</param>
15+
/// <param name="description">Activity description.</param>
16+
/// <param name="dependsOn">Activity depends on condition.</param>
17+
/// <param name="userProperties">Activity user properties.</param>
18+
/// <param name="linkedServiceName">Linked service reference.</param>
19+
/// <param name="policy">Activity policy.</param>
20+
/// <param name="arguments">User specified arguments to
21+
/// SynapseSparkJobDefinitionActivity.</param>
22+
/// <param name="file">The main file used for the job, which will
23+
/// override the 'file' of the spark job definition you provide. Type:
24+
/// string (or Expression with resultType string).</param>
25+
/// <param name="className">The fully-qualified identifier or the main
26+
/// class that is in the main definition file, which will override the
27+
/// 'className' of the spark job definition you provide. Type: string
28+
/// (or Expression with resultType string).</param>
29+
/// <param name="files">Additional files used for reference in the main
30+
/// definition file, which will override the 'files' of the spark job
31+
/// definition you provide.</param>
32+
/// <param name="targetBigDataPool">The name of the big data pool which
33+
/// will be used to execute the spark batch job, which will override
34+
/// the 'targetBigDataPool' of the spark job definition you
35+
/// provide.</param>
36+
/// <param name="executorSize">Number of core and memory to be used for
37+
/// executors allocated in the specified Spark pool for the job, which
38+
/// will be used for overriding 'executorCores' and 'executorMemory' of
39+
/// the spark job definition you provide. Type: string (or Expression
40+
/// with resultType string).</param>
41+
/// <param name="conf">Spark configuration properties, which will
42+
/// override the 'conf' of the spark job definition you
43+
/// provide.</param>
44+
/// <param name="driverSize">Number of core and memory to be used for
45+
/// driver allocated in the specified Spark pool for the job, which
46+
/// will be used for overriding 'driverCores' and 'driverMemory' of the
47+
/// spark job definition you provide. Type: string (or Expression with
48+
/// resultType string).</param>
49+
/// <param name="numExecutors">Number of executors to launch for this
50+
/// job, which will override the 'numExecutors' of the spark job
51+
/// definition you provide.</param>
52+
public SynapseSparkJobDefinitionActivity(string name, SynapseSparkJobReference sparkJob, IDictionary<string, object> additionalProperties, string description, IList<ActivityDependency> dependsOn, IList<UserProperty> userProperties, LinkedServiceReference linkedServiceName, ActivityPolicy policy, IList<object> arguments, object file, object className, IList<object> files, BigDataPoolParametrizationReference targetBigDataPool, object executorSize = default(object), object conf = default(object), object driverSize = default(object), int? numExecutors = default(int?))
53+
: base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy)
54+
{
55+
SparkJob = sparkJob;
56+
Arguments = arguments;
57+
File = file;
58+
ClassName = className;
59+
Files = files;
60+
TargetBigDataPool = targetBigDataPool;
61+
ExecutorSize = executorSize;
62+
Conf = conf;
63+
DriverSize = driverSize;
64+
NumExecutors = numExecutors;
65+
CustomInit();
66+
}
67+
}
68+
}

sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSynapseArtifactsLinkedService.cs

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryGitHubConfiguration.cs

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryRepoConfiguration.cs

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryVSTSConfiguration.cs

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)