Skip to content

Commit 857c10f

Browse files
authored
[DataFactory]Powshell release (#26411)
1 parent d5f6a1c commit 857c10f

File tree

8 files changed

+88
-7
lines changed

8 files changed

+88
-7
lines changed

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public PostgreSqlV2LinkedService()
5757
/// <param name="database">Database name for connection. Type: string.
5858
/// </param>
5959

60+
/// <param name="authenticationType">The authentication type to use. Type: string.
61+
/// </param>
62+
6063
/// <param name="sslMode">SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3:
6164
/// require, 4: verify-ca, 5: verify-full. Type: integer.
6265
/// </param>
@@ -113,14 +116,15 @@ public PostgreSqlV2LinkedService()
113116
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
114117
/// using the integration runtime credential manager. Type: string.
115118
/// </param>
116-
public PostgreSqlV2LinkedService(object server, object username, object database, object sslMode, 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 port = default(object), object schema = default(object), object pooling = default(object), object connectionTimeout = default(object), object commandTimeout = default(object), object trustServerCertificate = default(object), object sslCertificate = default(object), object sslKey = default(object), object sslPassword = default(object), object readBufferSize = default(object), object logParameters = default(object), object timezone = default(object), object encoding = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
119+
public PostgreSqlV2LinkedService(object server, object username, object database, object authenticationType, object sslMode, 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 port = default(object), object schema = default(object), object pooling = default(object), object connectionTimeout = default(object), object commandTimeout = default(object), object trustServerCertificate = default(object), object sslCertificate = default(object), object sslKey = default(object), object sslPassword = default(object), object readBufferSize = default(object), object logParameters = default(object), object timezone = default(object), object encoding = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
117120

118121
: base(additionalProperties, version, connectVia, description, parameters, annotations)
119122
{
120123
this.Server = server;
121124
this.Port = port;
122125
this.Username = username;
123126
this.Database = database;
127+
this.AuthenticationType = authenticationType;
124128
this.SslMode = sslMode;
125129
this.Schema = schema;
126130
this.Pooling = pooling;
@@ -169,6 +173,12 @@ public PostgreSqlV2LinkedService()
169173
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.database")]
170174
public object Database {get; set; }
171175

176+
/// <summary>
177+
/// Gets or sets the authentication type to use. Type: string.
178+
/// </summary>
179+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.authenticationType")]
180+
public object AuthenticationType {get; set; }
181+
172182
/// <summary>
173183
/// Gets or sets sSL mode for connection. Type: integer. 0: disable, 1:allow,
174184
/// 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer.
@@ -294,6 +304,10 @@ public override void Validate()
294304
{
295305
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Database");
296306
}
307+
if (this.AuthenticationType == null)
308+
{
309+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "AuthenticationType");
310+
}
297311
if (this.SslMode == null)
298312
{
299313
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "SslMode");
@@ -315,6 +329,7 @@ public override void Validate()
315329

316330

317331

332+
318333
if (this.Password != null)
319334
{
320335
this.Password.Validate();

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public PostgreSqlV2LinkedServiceTypeProperties()
3636
/// <param name="database">Database name for connection. Type: string.
3737
/// </param>
3838

39+
/// <param name="authenticationType">The authentication type to use. Type: string.
40+
/// </param>
41+
3942
/// <param name="sslMode">SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3:
4043
/// require, 4: verify-ca, 5: verify-full. Type: integer.
4144
/// </param>
@@ -92,13 +95,14 @@ public PostgreSqlV2LinkedServiceTypeProperties()
9295
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
9396
/// using the integration runtime credential manager. Type: string.
9497
/// </param>
95-
public PostgreSqlV2LinkedServiceTypeProperties(object server, object username, object database, object sslMode, object port = default(object), object schema = default(object), object pooling = default(object), object connectionTimeout = default(object), object commandTimeout = default(object), object trustServerCertificate = default(object), object sslCertificate = default(object), object sslKey = default(object), object sslPassword = default(object), object readBufferSize = default(object), object logParameters = default(object), object timezone = default(object), object encoding = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
98+
public PostgreSqlV2LinkedServiceTypeProperties(object server, object username, object database, object authenticationType, object sslMode, object port = default(object), object schema = default(object), object pooling = default(object), object connectionTimeout = default(object), object commandTimeout = default(object), object trustServerCertificate = default(object), object sslCertificate = default(object), object sslKey = default(object), object sslPassword = default(object), object readBufferSize = default(object), object logParameters = default(object), object timezone = default(object), object encoding = default(object), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
9699

97100
{
98101
this.Server = server;
99102
this.Port = port;
100103
this.Username = username;
101104
this.Database = database;
105+
this.AuthenticationType = authenticationType;
102106
this.SslMode = sslMode;
103107
this.Schema = schema;
104108
this.Pooling = pooling;
@@ -147,6 +151,12 @@ public PostgreSqlV2LinkedServiceTypeProperties()
147151
[Newtonsoft.Json.JsonProperty(PropertyName = "database")]
148152
public object Database {get; set; }
149153

154+
/// <summary>
155+
/// Gets or sets the authentication type to use. Type: string.
156+
/// </summary>
157+
[Newtonsoft.Json.JsonProperty(PropertyName = "authenticationType")]
158+
public object AuthenticationType {get; set; }
159+
150160
/// <summary>
151161
/// Gets or sets sSL mode for connection. Type: integer. 0: disable, 1:allow,
152162
/// 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer.
@@ -271,6 +281,10 @@ public virtual void Validate()
271281
{
272282
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Database");
273283
}
284+
if (this.AuthenticationType == null)
285+
{
286+
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "AuthenticationType");
287+
}
274288
if (this.SslMode == null)
275289
{
276290
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "SslMode");
@@ -292,6 +306,7 @@ public virtual void Validate()
292306

293307

294308

309+
295310
if (this.Password != null)
296311
{
297312
this.Password.Validate();

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,18 @@ public SalesforceV2Source()
6464
/// <param name="includeDeletedObjects">This property control whether query result contains Deleted objects.
6565
/// Default is false. Type: boolean (or Expression with resultType boolean).
6666
/// </param>
67-
public SalesforceV2Source(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object disableMetricsCollection = default(object), object queryTimeout = default(object), object additionalColumns = default(object), object soqlQuery = default(object), object query = default(object), object includeDeletedObjects = default(object))
67+
68+
/// <param name="pageSize">Page size for each http request, too large pageSize will caused timeout,
69+
/// default 300,000. Type: integer (or Expression with resultType integer).
70+
/// </param>
71+
public SalesforceV2Source(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object disableMetricsCollection = default(object), object queryTimeout = default(object), object additionalColumns = default(object), object soqlQuery = default(object), object query = default(object), object includeDeletedObjects = default(object), object pageSize = default(object))
6872

6973
: base(sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, queryTimeout, additionalColumns)
7074
{
7175
this.SoqlQuery = soqlQuery;
7276
this.Query = query;
7377
this.IncludeDeletedObjects = includeDeletedObjects;
78+
this.PageSize = pageSize;
7479
CustomInit();
7580
}
7681

@@ -105,5 +110,13 @@ public SalesforceV2Source()
105110
/// </summary>
106111
[Newtonsoft.Json.JsonProperty(PropertyName = "includeDeletedObjects")]
107112
public object IncludeDeletedObjects {get; set; }
113+
114+
/// <summary>
115+
/// Gets or sets page size for each http request, too large pageSize will
116+
/// caused timeout, default 300,000. Type: integer (or Expression with
117+
/// resultType integer).
118+
/// </summary>
119+
[Newtonsoft.Json.JsonProperty(PropertyName = "pageSize")]
120+
public object PageSize {get; set; }
108121
}
109122
}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,16 @@ public ServiceNowV2Source()
5151

5252
/// <param name="expression">Expression to filter data from source.
5353
/// </param>
54-
public ServiceNowV2Source(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object disableMetricsCollection = default(object), object queryTimeout = default(object), object additionalColumns = default(object), ExpressionV2 expression = default(ExpressionV2))
54+
55+
/// <param name="pageSize">Page size of the result. Type: integer (or Expression with resultType
56+
/// integer).
57+
/// </param>
58+
public ServiceNowV2Source(object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object disableMetricsCollection = default(object), object queryTimeout = default(object), object additionalColumns = default(object), ExpressionV2 expression = default(ExpressionV2), object pageSize = default(object))
5559

5660
: base(sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, queryTimeout, additionalColumns)
5761
{
5862
this.Expression = expression;
63+
this.PageSize = pageSize;
5964
CustomInit();
6065
}
6166

@@ -70,5 +75,12 @@ public ServiceNowV2Source()
7075
/// </summary>
7176
[Newtonsoft.Json.JsonProperty(PropertyName = "expression")]
7277
public ExpressionV2 Expression {get; set; }
78+
79+
/// <summary>
80+
/// Gets or sets page size of the result. Type: integer (or Expression with
81+
/// resultType integer).
82+
/// </summary>
83+
[Newtonsoft.Json.JsonProperty(PropertyName = "pageSize")]
84+
public object PageSize {get; set; }
7385
}
7486
}

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,13 @@ public SnowflakeLinkedV2ServiceTypeProperties()
6666
/// auth with encrypted private key.
6767
/// </param>
6868

69+
/// <param name="host">The host name of the Snowflake account.
70+
/// </param>
71+
6972
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
7073
/// using the integration runtime credential manager. Type: string.
7174
/// </param>
72-
public SnowflakeLinkedV2ServiceTypeProperties(object accountIdentifier, object database, object warehouse, object user = default(object), SecretBase password = default(SecretBase), string authenticationType = default(string), object clientId = default(object), SecretBase clientSecret = default(SecretBase), object tenantId = default(object), object scope = default(object), SecretBase privateKey = default(SecretBase), SecretBase privateKeyPassphrase = default(SecretBase), string encryptedCredential = default(string))
75+
public SnowflakeLinkedV2ServiceTypeProperties(object accountIdentifier, object database, object warehouse, object user = default(object), SecretBase password = default(SecretBase), string authenticationType = default(string), object clientId = default(object), SecretBase clientSecret = default(SecretBase), object tenantId = default(object), object scope = default(object), SecretBase privateKey = default(SecretBase), SecretBase privateKeyPassphrase = default(SecretBase), object host = default(object), string encryptedCredential = default(string))
7376

7477
{
7578
this.AccountIdentifier = accountIdentifier;
@@ -84,6 +87,7 @@ public SnowflakeLinkedV2ServiceTypeProperties()
8487
this.Scope = scope;
8588
this.PrivateKey = privateKey;
8689
this.PrivateKeyPassphrase = privateKeyPassphrase;
90+
this.Host = host;
8791
this.EncryptedCredential = encryptedCredential;
8892
CustomInit();
8993
}
@@ -174,6 +178,12 @@ public SnowflakeLinkedV2ServiceTypeProperties()
174178
[Newtonsoft.Json.JsonProperty(PropertyName = "privateKeyPassphrase")]
175179
public SecretBase PrivateKeyPassphrase {get; set; }
176180

181+
/// <summary>
182+
/// Gets or sets the host name of the Snowflake account.
183+
/// </summary>
184+
[Newtonsoft.Json.JsonProperty(PropertyName = "host")]
185+
public object Host {get; set; }
186+
177187
/// <summary>
178188
/// Gets or sets the encrypted credential used for authentication. Credentials
179189
/// are encrypted using the integration runtime credential manager. Type:
@@ -214,6 +224,7 @@ public virtual void Validate()
214224

215225

216226

227+
217228
}
218229
}
219230
}

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,13 @@ public SnowflakeV2LinkedService()
8787
/// auth with encrypted private key.
8888
/// </param>
8989

90+
/// <param name="host">The host name of the Snowflake account.
91+
/// </param>
92+
9093
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
9194
/// using the integration runtime credential manager. Type: string.
9295
/// </param>
93-
public SnowflakeV2LinkedService(object accountIdentifier, object database, object warehouse, 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 user = default(object), SecretBase password = default(SecretBase), string authenticationType = default(string), object clientId = default(object), SecretBase clientSecret = default(SecretBase), object tenantId = default(object), object scope = default(object), SecretBase privateKey = default(SecretBase), SecretBase privateKeyPassphrase = default(SecretBase), string encryptedCredential = default(string))
96+
public SnowflakeV2LinkedService(object accountIdentifier, object database, object warehouse, 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 user = default(object), SecretBase password = default(SecretBase), string authenticationType = default(string), object clientId = default(object), SecretBase clientSecret = default(SecretBase), object tenantId = default(object), object scope = default(object), SecretBase privateKey = default(SecretBase), SecretBase privateKeyPassphrase = default(SecretBase), object host = default(object), string encryptedCredential = default(string))
9497

9598
: base(additionalProperties, version, connectVia, description, parameters, annotations)
9699
{
@@ -106,6 +109,7 @@ public SnowflakeV2LinkedService()
106109
this.Scope = scope;
107110
this.PrivateKey = privateKey;
108111
this.PrivateKeyPassphrase = privateKeyPassphrase;
112+
this.Host = host;
109113
this.EncryptedCredential = encryptedCredential;
110114
CustomInit();
111115
}
@@ -196,6 +200,12 @@ public SnowflakeV2LinkedService()
196200
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.privateKeyPassphrase")]
197201
public SecretBase PrivateKeyPassphrase {get; set; }
198202

203+
/// <summary>
204+
/// Gets or sets the host name of the Snowflake account.
205+
/// </summary>
206+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.host")]
207+
public object Host {get; set; }
208+
199209
/// <summary>
200210
/// Gets or sets the encrypted credential used for authentication. Credentials
201211
/// are encrypted using the integration runtime credential manager. Type:
@@ -237,6 +247,7 @@ public override void Validate()
237247

238248

239249

250+
240251
}
241252
}
242253
}

src/DataFactory/DataFactory.Management.Sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ payload-flattening-threshold: 2
2323
2424
###
2525
``` yaml
26-
commit: 1ad29756bd141a47cac770140105a706d065ae1b
26+
commit: 5eefafc05b374b2a45e82358265e9d610f73c943
2727
require: https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/datafactory/resource-manager/readme.md
2828

2929
output-folder: Generated

0 commit comments

Comments
 (0)