-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AmazonRdsForSqlServerSource.cs
63 lines (57 loc) · 5.32 KB
/
AmazonRdsForSqlServerSource.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> A copy activity Amazon RDS for SQL Server source. </summary>
public partial class AmazonRdsForSqlServerSource : TabularSource
{
/// <summary> Initializes a new instance of AmazonRdsForSqlServerSource. </summary>
public AmazonRdsForSqlServerSource()
{
Type = "AmazonRdsForSqlServerSource";
}
/// <summary> Initializes a new instance of AmazonRdsForSqlServerSource. </summary>
/// <param name="type"> Copy source type. </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="additionalProperties"> Additional Properties. </param>
/// <param name="queryTimeout"> Query 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="additionalColumns"> Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). </param>
/// <param name="sqlReaderQuery"> SQL reader query. Type: string (or Expression with resultType string). </param>
/// <param name="sqlReaderStoredProcedureName"> Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). </param>
/// <param name="storedProcedureParameters"> Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". </param>
/// <param name="isolationLevel"> Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). </param>
/// <param name="produceAdditionalTypes"> Which additional types to produce. </param>
/// <param name="partitionOption"> The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". </param>
/// <param name="partitionSettings"> The settings that will be leveraged for Sql source partitioning. </param>
internal AmazonRdsForSqlServerSource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnections, IDictionary<string, object> additionalProperties, object queryTimeout, object additionalColumns, object sqlReaderQuery, object sqlReaderStoredProcedureName, object storedProcedureParameters, object isolationLevel, object produceAdditionalTypes, object partitionOption, SqlPartitionSettings partitionSettings) : base(type, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, additionalProperties, queryTimeout, additionalColumns)
{
SqlReaderQuery = sqlReaderQuery;
SqlReaderStoredProcedureName = sqlReaderStoredProcedureName;
StoredProcedureParameters = storedProcedureParameters;
IsolationLevel = isolationLevel;
ProduceAdditionalTypes = produceAdditionalTypes;
PartitionOption = partitionOption;
PartitionSettings = partitionSettings;
Type = type ?? "AmazonRdsForSqlServerSource";
}
/// <summary> SQL reader query. Type: string (or Expression with resultType string). </summary>
public object SqlReaderQuery { get; set; }
/// <summary> Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). </summary>
public object SqlReaderStoredProcedureName { get; set; }
/// <summary> Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". </summary>
public object StoredProcedureParameters { get; set; }
/// <summary> Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). </summary>
public object IsolationLevel { get; set; }
/// <summary> Which additional types to produce. </summary>
public object ProduceAdditionalTypes { get; set; }
/// <summary> The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". </summary>
public object PartitionOption { get; set; }
/// <summary> The settings that will be leveraged for Sql source partitioning. </summary>
public SqlPartitionSettings PartitionSettings { get; set; }
}
}