Skip to content

Commit 480a4b3

Browse files
authored
[DataFactory]Powershell Release (#27652)
1 parent 3d5a7be commit 480a4b3

File tree

7 files changed

+465
-30
lines changed

7 files changed

+465
-30
lines changed

src/DataFactory/DataFactory.Management.Sdk/Generated/Models/AmazonRdsForLinkedServiceTypeProperties.cs

Lines changed: 200 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,104 @@ public AmazonRdsForLinkedServiceTypeProperties()
2525
/// </summary>
2626

2727
/// <param name="connectionString">The connection string. Type: string, SecureString or
28-
/// AzureKeyVaultSecretReference.
28+
/// AzureKeyVaultSecretReference. Only used for Version 1.0.
29+
/// </param>
30+
31+
/// <param name="server">The location of AmazonRdsForOracle database you want to connect to, the
32+
/// supported forms include connector descriptor, Easy Connect (Plus) Naming
33+
/// and Oracle Net Services Name (Only self-hosted IR). Type: string. Only used
34+
/// for Version 2.0.
35+
/// </param>
36+
37+
/// <param name="authenticationType">Authentication type for connecting to the AmazonRdsForOracle database. Only
38+
/// used for Version 2.0.
39+
/// Possible values include: &#39;Basic&#39;</param>
40+
41+
/// <param name="username">The AmazonRdsForOracle database username. Type: string. Only used for
42+
/// Version 2.0.
2943
/// </param>
3044

3145
/// <param name="password">The Azure key vault secret reference of password in connection string.
3246
/// </param>
3347

48+
/// <param name="encryptionClient">Specifies the encryption client behavior. Supported values are accepted,
49+
/// rejected, requested or required, default value is required. Type: string.
50+
/// Only used for Version 2.0.
51+
/// </param>
52+
53+
/// <param name="encryptionTypesClient">Specifies the encryption algorithms that client can use. Supported values
54+
/// are AES128, AES192, AES256, 3DES112, 3DES168, default value is (AES256).
55+
/// Type: string. Only used for Version 2.0.
56+
/// </param>
57+
58+
/// <param name="cryptoChecksumClient">Specifies the desired data integrity behavior when this client connects to
59+
/// a server. Supported values are accepted, rejected, requested or required,
60+
/// default value is required. Type: string. Only used for Version 2.0.
61+
/// </param>
62+
63+
/// <param name="cryptoChecksumTypesClient">Specifies the crypto-checksum algorithms that client can use. Supported
64+
/// values are SHA1, SHA256, SHA384, SHA512, default value is (SHA512). Type:
65+
/// string. Only used for Version 2.0.
66+
/// </param>
67+
68+
/// <param name="initialLobFetchSize">Specifies the amount that the source initially fetches for LOB columns,
69+
/// default value is 0. Type: integer. Only used for Version 2.0.
70+
/// </param>
71+
72+
/// <param name="fetchSize">Specifies the number of bytes that the driver allocates to fetch the data
73+
/// in one database round-trip, default value is 10485760. Type: integer. Only
74+
/// used for Version 2.0.
75+
/// </param>
76+
77+
/// <param name="statementCacheSize">Specifies the number of cursors or statements to be cached for each
78+
/// database connection, default value is 0. Type: integer. Only used for
79+
/// Version 2.0.
80+
/// </param>
81+
82+
/// <param name="initializationString">Specifies a command that is issued immediately after connecting to the
83+
/// database to manage session settings. Type: string. Only used for Version
84+
/// 2.0.
85+
/// </param>
86+
87+
/// <param name="enableBulkLoad">Specifies whether to use bulk copy or batch insert when loading data into
88+
/// the database, default value is true. Type: boolean. Only used for Version
89+
/// 2.0.
90+
/// </param>
91+
92+
/// <param name="supportV1DataTypes">Specifies whether to use the Version 1.0 data type mappings. Do not set
93+
/// this to true unless you want to keep backward compatibility with Version
94+
/// 1.0&#39;s data type mappings, default value is false. Type: boolean. Only used
95+
/// for Version 2.0.
96+
/// </param>
97+
98+
/// <param name="fetchTswtzAsTimestamp">Specifies whether the driver returns column value with the TIMESTAMP WITH
99+
/// TIME ZONE data type as DateTime or string. This setting is ignored if
100+
/// supportV1DataTypes is not true, default value is true. Type: boolean. Only
101+
/// used for Version 2.0.
102+
/// </param>
103+
34104
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
35105
/// using the integration runtime credential manager. Type: string.
36106
/// </param>
37-
public AmazonRdsForLinkedServiceTypeProperties(object connectionString, SecretBase password = default(SecretBase), string encryptedCredential = default(string))
107+
public AmazonRdsForLinkedServiceTypeProperties(object connectionString = default(object), object server = default(object), string authenticationType = default(string), object username = default(object), SecretBase password = default(SecretBase), object encryptionClient = default(object), object encryptionTypesClient = default(object), object cryptoChecksumClient = default(object), object cryptoChecksumTypesClient = default(object), object initialLobFetchSize = default(object), object fetchSize = default(object), object statementCacheSize = default(object), object initializationString = default(object), object enableBulkLoad = default(object), object supportV1DataTypes = default(object), object fetchTswtzAsTimestamp = default(object), string encryptedCredential = default(string))
38108

39109
{
40110
this.ConnectionString = connectionString;
111+
this.Server = server;
112+
this.AuthenticationType = authenticationType;
113+
this.Username = username;
41114
this.Password = password;
115+
this.EncryptionClient = encryptionClient;
116+
this.EncryptionTypesClient = encryptionTypesClient;
117+
this.CryptoChecksumClient = cryptoChecksumClient;
118+
this.CryptoChecksumTypesClient = cryptoChecksumTypesClient;
119+
this.InitialLobFetchSize = initialLobFetchSize;
120+
this.FetchSize = fetchSize;
121+
this.StatementCacheSize = statementCacheSize;
122+
this.InitializationString = initializationString;
123+
this.EnableBulkLoad = enableBulkLoad;
124+
this.SupportV1DataTypes = supportV1DataTypes;
125+
this.FetchTswtzAsTimestamp = fetchTswtzAsTimestamp;
42126
this.EncryptedCredential = encryptedCredential;
43127
CustomInit();
44128
}
@@ -51,11 +135,34 @@ public AmazonRdsForLinkedServiceTypeProperties()
51135

52136
/// <summary>
53137
/// Gets or sets the connection string. Type: string, SecureString or
54-
/// AzureKeyVaultSecretReference.
138+
/// AzureKeyVaultSecretReference. Only used for Version 1.0.
55139
/// </summary>
56140
[Newtonsoft.Json.JsonProperty(PropertyName = "connectionString")]
57141
public object ConnectionString {get; set; }
58142

143+
/// <summary>
144+
/// Gets or sets the location of AmazonRdsForOracle database you want to
145+
/// connect to, the supported forms include connector descriptor, Easy Connect
146+
/// (Plus) Naming and Oracle Net Services Name (Only self-hosted IR). Type:
147+
/// string. Only used for Version 2.0.
148+
/// </summary>
149+
[Newtonsoft.Json.JsonProperty(PropertyName = "server")]
150+
public object Server {get; set; }
151+
152+
/// <summary>
153+
/// Gets or sets authentication type for connecting to the AmazonRdsForOracle
154+
/// database. Only used for Version 2.0. Possible values include: &#39;Basic&#39;
155+
/// </summary>
156+
[Newtonsoft.Json.JsonProperty(PropertyName = "authenticationType")]
157+
public string AuthenticationType {get; set; }
158+
159+
/// <summary>
160+
/// Gets or sets the AmazonRdsForOracle database username. Type: string. Only
161+
/// used for Version 2.0.
162+
/// </summary>
163+
[Newtonsoft.Json.JsonProperty(PropertyName = "username")]
164+
public object Username {get; set; }
165+
59166
/// <summary>
60167
/// Gets or sets the Azure key vault secret reference of password in connection
61168
/// string.
@@ -64,27 +171,101 @@ public AmazonRdsForLinkedServiceTypeProperties()
64171
public SecretBase Password {get; set; }
65172

66173
/// <summary>
67-
/// Gets or sets the encrypted credential used for authentication. Credentials
68-
/// are encrypted using the integration runtime credential manager. Type:
69-
/// string.
174+
/// Gets or sets specifies the encryption client behavior. Supported values are
175+
/// accepted, rejected, requested or required, default value is required. Type:
176+
/// string. Only used for Version 2.0.
70177
/// </summary>
71-
[Newtonsoft.Json.JsonProperty(PropertyName = "encryptedCredential")]
72-
public string EncryptedCredential {get; set; }
178+
[Newtonsoft.Json.JsonProperty(PropertyName = "encryptionClient")]
179+
public object EncryptionClient {get; set; }
180+
73181
/// <summary>
74-
/// Validate the object.
182+
/// Gets or sets specifies the encryption algorithms that client can use.
183+
/// Supported values are AES128, AES192, AES256, 3DES112, 3DES168, default
184+
/// value is (AES256). Type: string. Only used for Version 2.0.
75185
/// </summary>
76-
/// <exception cref="Microsoft.Rest.ValidationException">
77-
/// Thrown if validation fails
78-
/// </exception>
79-
public virtual void Validate()
80-
{
81-
if (this.ConnectionString == null)
82-
{
83-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ConnectionString");
84-
}
186+
[Newtonsoft.Json.JsonProperty(PropertyName = "encryptionTypesClient")]
187+
public object EncryptionTypesClient {get; set; }
85188

189+
/// <summary>
190+
/// Gets or sets specifies the desired data integrity behavior when this client
191+
/// connects to a server. Supported values are accepted, rejected, requested or
192+
/// required, default value is required. Type: string. Only used for Version
193+
/// 2.0.
194+
/// </summary>
195+
[Newtonsoft.Json.JsonProperty(PropertyName = "cryptoChecksumClient")]
196+
public object CryptoChecksumClient {get; set; }
86197

198+
/// <summary>
199+
/// Gets or sets specifies the crypto-checksum algorithms that client can use.
200+
/// Supported values are SHA1, SHA256, SHA384, SHA512, default value is
201+
/// (SHA512). Type: string. Only used for Version 2.0.
202+
/// </summary>
203+
[Newtonsoft.Json.JsonProperty(PropertyName = "cryptoChecksumTypesClient")]
204+
public object CryptoChecksumTypesClient {get; set; }
87205

88-
}
206+
/// <summary>
207+
/// Gets or sets specifies the amount that the source initially fetches for LOB
208+
/// columns, default value is 0. Type: integer. Only used for Version 2.0.
209+
/// </summary>
210+
[Newtonsoft.Json.JsonProperty(PropertyName = "initialLobFetchSize")]
211+
public object InitialLobFetchSize {get; set; }
212+
213+
/// <summary>
214+
/// Gets or sets specifies the number of bytes that the driver allocates to
215+
/// fetch the data in one database round-trip, default value is 10485760. Type:
216+
/// integer. Only used for Version 2.0.
217+
/// </summary>
218+
[Newtonsoft.Json.JsonProperty(PropertyName = "fetchSize")]
219+
public object FetchSize {get; set; }
220+
221+
/// <summary>
222+
/// Gets or sets specifies the number of cursors or statements to be cached for
223+
/// each database connection, default value is 0. Type: integer. Only used for
224+
/// Version 2.0.
225+
/// </summary>
226+
[Newtonsoft.Json.JsonProperty(PropertyName = "statementCacheSize")]
227+
public object StatementCacheSize {get; set; }
228+
229+
/// <summary>
230+
/// Gets or sets specifies a command that is issued immediately after
231+
/// connecting to the database to manage session settings. Type: string. Only
232+
/// used for Version 2.0.
233+
/// </summary>
234+
[Newtonsoft.Json.JsonProperty(PropertyName = "initializationString")]
235+
public object InitializationString {get; set; }
236+
237+
/// <summary>
238+
/// Gets or sets specifies whether to use bulk copy or batch insert when
239+
/// loading data into the database, default value is true. Type: boolean. Only
240+
/// used for Version 2.0.
241+
/// </summary>
242+
[Newtonsoft.Json.JsonProperty(PropertyName = "enableBulkLoad")]
243+
public object EnableBulkLoad {get; set; }
244+
245+
/// <summary>
246+
/// Gets or sets specifies whether to use the Version 1.0 data type mappings.
247+
/// Do not set this to true unless you want to keep backward compatibility with
248+
/// Version 1.0&#39;s data type mappings, default value is false. Type: boolean.
249+
/// Only used for Version 2.0.
250+
/// </summary>
251+
[Newtonsoft.Json.JsonProperty(PropertyName = "supportV1DataTypes")]
252+
public object SupportV1DataTypes {get; set; }
253+
254+
/// <summary>
255+
/// Gets or sets specifies whether the driver returns column value with the
256+
/// TIMESTAMP WITH TIME ZONE data type as DateTime or string. This setting is
257+
/// ignored if supportV1DataTypes is not true, default value is true. Type:
258+
/// boolean. Only used for Version 2.0.
259+
/// </summary>
260+
[Newtonsoft.Json.JsonProperty(PropertyName = "fetchTswtzAsTimestamp")]
261+
public object FetchTswtzAsTimestamp {get; set; }
262+
263+
/// <summary>
264+
/// Gets or sets the encrypted credential used for authentication. Credentials
265+
/// are encrypted using the integration runtime credential manager. Type:
266+
/// string.
267+
/// </summary>
268+
[Newtonsoft.Json.JsonProperty(PropertyName = "encryptedCredential")]
269+
public string EncryptedCredential {get; set; }
89270
}
90271
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.DataFactory.Models
7+
{
8+
9+
/// <summary>
10+
/// Defines values for AmazonRdsForOracleAuthenticationType.
11+
/// </summary>
12+
13+
14+
public static class AmazonRdsForOracleAuthenticationType
15+
{
16+
public const string Basic = "Basic";
17+
}
18+
}

0 commit comments

Comments
 (0)