Skip to content

Commit e891a4e

Browse files
authored
[DataFactory]Powershell Release (#26702)
1 parent d95e541 commit e891a4e

File tree

6 files changed

+473
-5
lines changed

6 files changed

+473
-5
lines changed

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

Lines changed: 139 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,69 @@ public AzurePostgreSqlLinkedService()
4949
/// AzureKeyVaultSecretReference.
5050
/// </param>
5151

52+
/// <param name="server">Server name for connection. Type: string.
53+
/// </param>
54+
55+
/// <param name="port">The port for the connection. Type: integer.
56+
/// </param>
57+
58+
/// <param name="username">Username for authentication. Type: string.
59+
/// </param>
60+
61+
/// <param name="database">Database name for connection. Type: string.
62+
/// </param>
63+
64+
/// <param name="sslMode">SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3:
65+
/// require, 4: verify-ca, 5: verify-full. Type: integer.
66+
/// </param>
67+
68+
/// <param name="timeout">The time to wait (in seconds) while trying to establish a connection before
69+
/// terminating the attempt and generating an error. Type: integer.
70+
/// </param>
71+
72+
/// <param name="commandTimeout">The time to wait (in seconds) while trying to execute a command before
73+
/// terminating the attempt and generating an error. Set to zero for infinity.
74+
/// Type: integer.
75+
/// </param>
76+
77+
/// <param name="trustServerCertificate">Whether to trust the server certificate without validating it. Type:
78+
/// boolean.
79+
/// </param>
80+
81+
/// <param name="readBufferSize">Determines the size of the internal buffer uses when reading. Increasing
82+
/// may improve performance if transferring large values from the database.
83+
/// Type: integer.
84+
/// </param>
85+
86+
/// <param name="timezone">Gets or sets the session timezone. Type: string.
87+
/// </param>
88+
89+
/// <param name="encoding">Gets or sets the .NET encoding that will be used to encode/decode
90+
/// PostgreSQL string data. Type: string
91+
/// </param>
92+
5293
/// <param name="password">The Azure key vault secret reference of password in connection string.
5394
/// </param>
5495

5596
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
5697
/// using the integration runtime credential manager. Type: string.
5798
/// </param>
58-
public AzurePostgreSqlLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), string version = default(string), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), System.Collections.Generic.IDictionary<string, ParameterSpecification> parameters = default(System.Collections.Generic.IDictionary<string, ParameterSpecification>), System.Collections.Generic.IList<object> annotations = default(System.Collections.Generic.IList<object>), object connectionString = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
99+
public AzurePostgreSqlLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), string version = default(string), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), System.Collections.Generic.IDictionary<string, ParameterSpecification> parameters = default(System.Collections.Generic.IDictionary<string, ParameterSpecification>), System.Collections.Generic.IList<object> annotations = default(System.Collections.Generic.IList<object>), object connectionString = default(object), object server = default(object), object port = default(object), object username = default(object), object database = default(object), object sslMode = default(object), object timeout = default(object), object commandTimeout = default(object), object trustServerCertificate = default(object), object readBufferSize = default(object), object timezone = default(object), object encoding = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
59100

60101
: base(additionalProperties, version, connectVia, description, parameters, annotations)
61102
{
62103
this.ConnectionString = connectionString;
104+
this.Server = server;
105+
this.Port = port;
106+
this.Username = username;
107+
this.Database = database;
108+
this.SslMode = sslMode;
109+
this.Timeout = timeout;
110+
this.CommandTimeout = commandTimeout;
111+
this.TrustServerCertificate = trustServerCertificate;
112+
this.ReadBufferSize = readBufferSize;
113+
this.Timezone = timezone;
114+
this.Encoding = encoding;
63115
this.Password = password;
64116
this.EncryptedCredential = encryptedCredential;
65117
CustomInit();
@@ -78,6 +130,81 @@ public AzurePostgreSqlLinkedService()
78130
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.connectionString")]
79131
public object ConnectionString {get; set; }
80132

133+
/// <summary>
134+
/// Gets or sets server name for connection. Type: string.
135+
/// </summary>
136+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.server")]
137+
public object Server {get; set; }
138+
139+
/// <summary>
140+
/// Gets or sets the port for the connection. Type: integer.
141+
/// </summary>
142+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.port")]
143+
public object Port {get; set; }
144+
145+
/// <summary>
146+
/// Gets or sets username for authentication. Type: string.
147+
/// </summary>
148+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.username")]
149+
public object Username {get; set; }
150+
151+
/// <summary>
152+
/// Gets or sets database name for connection. Type: string.
153+
/// </summary>
154+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.database")]
155+
public object Database {get; set; }
156+
157+
/// <summary>
158+
/// Gets or sets sSL mode for connection. Type: integer. 0: disable, 1:allow,
159+
/// 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer.
160+
/// </summary>
161+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.sslMode")]
162+
public object SslMode {get; set; }
163+
164+
/// <summary>
165+
/// Gets or sets the time to wait (in seconds) while trying to establish a
166+
/// connection before terminating the attempt and generating an error. Type:
167+
/// integer.
168+
/// </summary>
169+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.timeout")]
170+
public object Timeout {get; set; }
171+
172+
/// <summary>
173+
/// Gets or sets the time to wait (in seconds) while trying to execute a
174+
/// command before terminating the attempt and generating an error. Set to zero
175+
/// for infinity. Type: integer.
176+
/// </summary>
177+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.commandTimeout")]
178+
public object CommandTimeout {get; set; }
179+
180+
/// <summary>
181+
/// Gets or sets whether to trust the server certificate without validating it.
182+
/// Type: boolean.
183+
/// </summary>
184+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.trustServerCertificate")]
185+
public object TrustServerCertificate {get; set; }
186+
187+
/// <summary>
188+
/// Gets or sets determines the size of the internal buffer uses when reading.
189+
/// Increasing may improve performance if transferring large values from the
190+
/// database. Type: integer.
191+
/// </summary>
192+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.readBufferSize")]
193+
public object ReadBufferSize {get; set; }
194+
195+
/// <summary>
196+
/// Gets or sets gets or sets the session timezone. Type: string.
197+
/// </summary>
198+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.timezone")]
199+
public object Timezone {get; set; }
200+
201+
/// <summary>
202+
/// Gets or sets gets or sets the .NET encoding that will be used to
203+
/// encode/decode PostgreSQL string data. Type: string
204+
/// </summary>
205+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.encoding")]
206+
public object Encoding {get; set; }
207+
81208
/// <summary>
82209
/// Gets or sets the Azure key vault secret reference of password in connection
83210
/// string.
@@ -102,6 +229,17 @@ public override void Validate()
102229
{
103230
base.Validate();
104231

232+
233+
234+
235+
236+
237+
238+
239+
240+
241+
242+
105243
if (this.Password != null)
106244
{
107245
this.Password.Validate();

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

Lines changed: 139 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,68 @@ public AzurePostgreSqlLinkedServiceTypeProperties()
2828
/// AzureKeyVaultSecretReference.
2929
/// </param>
3030

31+
/// <param name="server">Server name for connection. Type: string.
32+
/// </param>
33+
34+
/// <param name="port">The port for the connection. Type: integer.
35+
/// </param>
36+
37+
/// <param name="username">Username for authentication. Type: string.
38+
/// </param>
39+
40+
/// <param name="database">Database name for connection. Type: string.
41+
/// </param>
42+
43+
/// <param name="sslMode">SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3:
44+
/// require, 4: verify-ca, 5: verify-full. Type: integer.
45+
/// </param>
46+
47+
/// <param name="timeout">The time to wait (in seconds) while trying to establish a connection before
48+
/// terminating the attempt and generating an error. Type: integer.
49+
/// </param>
50+
51+
/// <param name="commandTimeout">The time to wait (in seconds) while trying to execute a command before
52+
/// terminating the attempt and generating an error. Set to zero for infinity.
53+
/// Type: integer.
54+
/// </param>
55+
56+
/// <param name="trustServerCertificate">Whether to trust the server certificate without validating it. Type:
57+
/// boolean.
58+
/// </param>
59+
60+
/// <param name="readBufferSize">Determines the size of the internal buffer uses when reading. Increasing
61+
/// may improve performance if transferring large values from the database.
62+
/// Type: integer.
63+
/// </param>
64+
65+
/// <param name="timezone">Gets or sets the session timezone. Type: string.
66+
/// </param>
67+
68+
/// <param name="encoding">Gets or sets the .NET encoding that will be used to encode/decode
69+
/// PostgreSQL string data. Type: string
70+
/// </param>
71+
3172
/// <param name="password">The Azure key vault secret reference of password in connection string.
3273
/// </param>
3374

3475
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
3576
/// using the integration runtime credential manager. Type: string.
3677
/// </param>
37-
public AzurePostgreSqlLinkedServiceTypeProperties(object connectionString = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
78+
public AzurePostgreSqlLinkedServiceTypeProperties(object connectionString = default(object), object server = default(object), object port = default(object), object username = default(object), object database = default(object), object sslMode = default(object), object timeout = default(object), object commandTimeout = default(object), object trustServerCertificate = default(object), object readBufferSize = default(object), object timezone = default(object), object encoding = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
3879

3980
{
4081
this.ConnectionString = connectionString;
82+
this.Server = server;
83+
this.Port = port;
84+
this.Username = username;
85+
this.Database = database;
86+
this.SslMode = sslMode;
87+
this.Timeout = timeout;
88+
this.CommandTimeout = commandTimeout;
89+
this.TrustServerCertificate = trustServerCertificate;
90+
this.ReadBufferSize = readBufferSize;
91+
this.Timezone = timezone;
92+
this.Encoding = encoding;
4193
this.Password = password;
4294
this.EncryptedCredential = encryptedCredential;
4395
CustomInit();
@@ -56,6 +108,81 @@ public AzurePostgreSqlLinkedServiceTypeProperties()
56108
[Newtonsoft.Json.JsonProperty(PropertyName = "connectionString")]
57109
public object ConnectionString {get; set; }
58110

111+
/// <summary>
112+
/// Gets or sets server name for connection. Type: string.
113+
/// </summary>
114+
[Newtonsoft.Json.JsonProperty(PropertyName = "server")]
115+
public object Server {get; set; }
116+
117+
/// <summary>
118+
/// Gets or sets the port for the connection. Type: integer.
119+
/// </summary>
120+
[Newtonsoft.Json.JsonProperty(PropertyName = "port")]
121+
public object Port {get; set; }
122+
123+
/// <summary>
124+
/// Gets or sets username for authentication. Type: string.
125+
/// </summary>
126+
[Newtonsoft.Json.JsonProperty(PropertyName = "username")]
127+
public object Username {get; set; }
128+
129+
/// <summary>
130+
/// Gets or sets database name for connection. Type: string.
131+
/// </summary>
132+
[Newtonsoft.Json.JsonProperty(PropertyName = "database")]
133+
public object Database {get; set; }
134+
135+
/// <summary>
136+
/// Gets or sets sSL mode for connection. Type: integer. 0: disable, 1:allow,
137+
/// 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer.
138+
/// </summary>
139+
[Newtonsoft.Json.JsonProperty(PropertyName = "sslMode")]
140+
public object SslMode {get; set; }
141+
142+
/// <summary>
143+
/// Gets or sets the time to wait (in seconds) while trying to establish a
144+
/// connection before terminating the attempt and generating an error. Type:
145+
/// integer.
146+
/// </summary>
147+
[Newtonsoft.Json.JsonProperty(PropertyName = "timeout")]
148+
public object Timeout {get; set; }
149+
150+
/// <summary>
151+
/// Gets or sets the time to wait (in seconds) while trying to execute a
152+
/// command before terminating the attempt and generating an error. Set to zero
153+
/// for infinity. Type: integer.
154+
/// </summary>
155+
[Newtonsoft.Json.JsonProperty(PropertyName = "commandTimeout")]
156+
public object CommandTimeout {get; set; }
157+
158+
/// <summary>
159+
/// Gets or sets whether to trust the server certificate without validating it.
160+
/// Type: boolean.
161+
/// </summary>
162+
[Newtonsoft.Json.JsonProperty(PropertyName = "trustServerCertificate")]
163+
public object TrustServerCertificate {get; set; }
164+
165+
/// <summary>
166+
/// Gets or sets determines the size of the internal buffer uses when reading.
167+
/// Increasing may improve performance if transferring large values from the
168+
/// database. Type: integer.
169+
/// </summary>
170+
[Newtonsoft.Json.JsonProperty(PropertyName = "readBufferSize")]
171+
public object ReadBufferSize {get; set; }
172+
173+
/// <summary>
174+
/// Gets or sets gets or sets the session timezone. Type: string.
175+
/// </summary>
176+
[Newtonsoft.Json.JsonProperty(PropertyName = "timezone")]
177+
public object Timezone {get; set; }
178+
179+
/// <summary>
180+
/// Gets or sets gets or sets the .NET encoding that will be used to
181+
/// encode/decode PostgreSQL string data. Type: string
182+
/// </summary>
183+
[Newtonsoft.Json.JsonProperty(PropertyName = "encoding")]
184+
public object Encoding {get; set; }
185+
59186
/// <summary>
60187
/// Gets or sets the Azure key vault secret reference of password in connection
61188
/// string.
@@ -79,6 +206,17 @@ public AzurePostgreSqlLinkedServiceTypeProperties()
79206
public virtual void Validate()
80207
{
81208

209+
210+
211+
212+
213+
214+
215+
216+
217+
218+
219+
82220
if (this.Password != null)
83221
{
84222
this.Password.Validate();

0 commit comments

Comments
 (0)