-
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.
[DataFactory]Generate SDK for PostgreSql and Partitions of Oracle and…
… SapTable Etc
- Loading branch information
Showing
24 changed files
with
1,608 additions
and
50 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
...y/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerCommand.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,83 @@ | ||
// <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> | ||
[Rest.Serialization.JsonTransformation] | ||
public partial class AzureDataExplorerCommand : ExecutionActivity | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the AzureDataExplorerCommand class. | ||
/// </summary> | ||
public AzureDataExplorerCommand() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the AzureDataExplorerCommand 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> | ||
public AzureDataExplorerCommand(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)) | ||
: base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy) | ||
{ | ||
Command = command; | ||
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> | ||
/// 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
66 changes: 66 additions & 0 deletions
66
sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MySqlSource.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 MySQL databases. | ||
/// </summary> | ||
public partial class MySqlSource : CopySource | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the MySqlSource class. | ||
/// </summary> | ||
public MySqlSource() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the MySqlSource 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 MySqlSource(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; } | ||
|
||
} | ||
} |
Oops, something went wrong.