-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align recent changes with Swagger (#7016)
* Align recent changes with Swagger * Fix CR comments * Minor CR fixes * Changes done by generate.ps1
- Loading branch information
1 parent
3fc2af7
commit 71df9dd
Showing
31 changed files
with
1,914 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: [email protected] |
98 changes: 98 additions & 0 deletions
98
...oft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerCommandActivity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
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; | ||
|
||
/// <summary> | ||
/// Azure Data Explorer command activity. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonObject("AzureDataExplorerCommand")] | ||
[Rest.Serialization.JsonTransformation] | ||
public partial class AzureDataExplorerCommandActivity : ExecutionActivity | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the AzureDataExplorerCommandActivity | ||
/// class. | ||
/// </summary> | ||
public AzureDataExplorerCommandActivity() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the AzureDataExplorerCommandActivity | ||
/// class. | ||
/// </summary> | ||
/// <param name="name">Activity name.</param> | ||
/// <param name="command">A control command, according to the Azure | ||
/// Data Explorer command syntax. Type: string (or Expression with | ||
/// resultType string).</param> | ||
/// <param name="additionalProperties">Unmatched properties from the | ||
/// message are deserialized this collection</param> | ||
/// <param name="description">Activity description.</param> | ||
/// <param name="dependsOn">Activity depends on condition.</param> | ||
/// <param name="userProperties">Activity user properties.</param> | ||
/// <param name="linkedServiceName">Linked service reference.</param> | ||
/// <param name="policy">Activity policy.</param> | ||
/// <param name="commandTimeout">Control command timeout. Type: string | ||
/// (or Expression with resultType string), pattern: | ||
/// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)</param> | ||
public AzureDataExplorerCommandActivity(string name, object command, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), IList<ActivityDependency> dependsOn = default(IList<ActivityDependency>), IList<UserProperty> userProperties = default(IList<UserProperty>), 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(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets a control command, according to the Azure Data | ||
/// Explorer command syntax. Type: string (or Expression with | ||
/// resultType string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.command")] | ||
public object Command { get; set; } | ||
|
||
/// <summary> | ||
/// 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]))..) | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.commandTimeout")] | ||
public object CommandTimeout { get; set; } | ||
|
||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public override void Validate() | ||
{ | ||
base.Validate(); | ||
if (Command == null) | ||
{ | ||
throw new ValidationException(ValidationRules.CannotBeNull, "Command"); | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...actory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataFactory.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// A copy activity Azure PostgreSQL sink. | ||
/// </summary> | ||
public partial class AzurePostgreSqlSink : CopySink | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the AzurePostgreSqlSink class. | ||
/// </summary> | ||
public AzurePostgreSqlSink() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the AzurePostgreSqlSink class. | ||
/// </summary> | ||
/// <param name="additionalProperties">Unmatched properties from the | ||
/// message are deserialized this collection</param> | ||
/// <param name="writeBatchSize">Write batch size. Type: integer (or | ||
/// Expression with resultType integer), minimum: 0.</param> | ||
/// <param name="writeBatchTimeout">Write batch timeout. Type: string | ||
/// (or Expression with resultType string), pattern: | ||
/// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).</param> | ||
/// <param name="sinkRetryCount">Sink retry count. Type: integer (or | ||
/// Expression with resultType integer).</param> | ||
/// <param name="sinkRetryWait">Sink retry wait. Type: string (or | ||
/// Expression with resultType string), pattern: | ||
/// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).</param> | ||
/// <param name="maxConcurrentConnections">The maximum concurrent | ||
/// connection count for the sink data store. Type: integer (or | ||
/// Expression with resultType integer).</param> | ||
/// <param name="preCopyScript">A query to execute before starting the | ||
/// copy. Type: string (or Expression with resultType string).</param> | ||
public AzurePostgreSqlSink(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), 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(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets a query to execute before starting the copy. Type: | ||
/// string (or Expression with resultType string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "preCopyScript")] | ||
public object PreCopyScript { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Db2Source.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataFactory.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// A copy activity source for Db2 databases. | ||
/// </summary> | ||
public partial class Db2Source : CopySource | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the Db2Source class. | ||
/// </summary> | ||
public Db2Source() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the Db2Source class. | ||
/// </summary> | ||
/// <param name="additionalProperties">Unmatched properties from the | ||
/// message are deserialized this collection</param> | ||
/// <param name="sourceRetryCount">Source retry count. Type: integer | ||
/// (or Expression with resultType integer).</param> | ||
/// <param name="sourceRetryWait">Source retry wait. Type: string (or | ||
/// Expression with resultType string), pattern: | ||
/// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).</param> | ||
/// <param name="maxConcurrentConnections">The maximum concurrent | ||
/// connection count for the source data store. Type: integer (or | ||
/// Expression with resultType integer).</param> | ||
/// <param name="query">Database query. Type: string (or Expression | ||
/// with resultType string).</param> | ||
public Db2Source(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) | ||
: base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) | ||
{ | ||
Query = query; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets database query. Type: string (or Expression with | ||
/// resultType string). | ||
/// </summary> | ||
[JsonProperty(PropertyName = "query")] | ||
public object Query { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.