Skip to content

Commit 9ac114a

Browse files
authored
[DataFactory]Powershell Release (Azure#27766)
1 parent a8545ed commit 9ac114a

File tree

9 files changed

+167
-7
lines changed

9 files changed

+167
-7
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ public HiveLinkedService()
8686
/// The default value is false.
8787
/// </param>
8888

89+
/// <param name="enableServerCertificateValidation">Specifies whether the connections to the server will validate server
90+
/// certificate, the default value is True. Only used for Version 2.0
91+
/// </param>
92+
8993
/// <param name="trustedCertPath">The full path of the .pem file containing trusted CA certificates for
9094
/// verifying the server when connecting over SSL. This property can only be
9195
/// set when using SSL on self-hosted IR. The default value is the cacerts.pem
@@ -108,7 +112,7 @@ public HiveLinkedService()
108112
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
109113
/// using the integration runtime credential manager. Type: string.
110114
/// </param>
111-
public HiveLinkedService(object host, string authenticationType, 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), string serverType = default(string), string thriftTransportProtocol = default(string), object serviceDiscoveryMode = default(object), object zooKeeperNameSpace = default(object), object useNativeQuery = default(object), object username = default(object), SecretBase password = default(SecretBase), object httpPath = default(object), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
115+
public HiveLinkedService(object host, string authenticationType, 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), string serverType = default(string), string thriftTransportProtocol = default(string), object serviceDiscoveryMode = default(object), object zooKeeperNameSpace = default(object), object useNativeQuery = default(object), object username = default(object), SecretBase password = default(SecretBase), object httpPath = default(object), object enableSsl = default(object), object enableServerCertificateValidation = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
112116

113117
: base(additionalProperties, version, connectVia, description, parameters, annotations)
114118
{
@@ -124,6 +128,7 @@ public HiveLinkedService()
124128
this.Password = password;
125129
this.HttpPath = httpPath;
126130
this.EnableSsl = enableSsl;
131+
this.EnableServerCertificateValidation = enableServerCertificateValidation;
127132
this.TrustedCertPath = trustedCertPath;
128133
this.UseSystemTrustStore = useSystemTrustStore;
129134
this.AllowHostNameCnMismatch = allowHostNameCnMismatch;
@@ -216,6 +221,13 @@ public HiveLinkedService()
216221
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.enableSsl")]
217222
public object EnableSsl {get; set; }
218223

224+
/// <summary>
225+
/// Gets or sets specifies whether the connections to the server will validate
226+
/// server certificate, the default value is True. Only used for Version 2.0
227+
/// </summary>
228+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.enableServerCertificateValidation")]
229+
public object EnableServerCertificateValidation {get; set; }
230+
219231
/// <summary>
220232
/// Gets or sets the full path of the .pem file containing trusted CA
221233
/// certificates for verifying the server when connecting over SSL. This
@@ -288,6 +300,7 @@ public override void Validate()
288300

289301

290302

303+
291304
}
292305
}
293306
}

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public HiveLinkedServiceTypeProperties()
6565
/// The default value is false.
6666
/// </param>
6767

68+
/// <param name="enableServerCertificateValidation">Specifies whether the connections to the server will validate server
69+
/// certificate, the default value is True. Only used for Version 2.0
70+
/// </param>
71+
6872
/// <param name="trustedCertPath">The full path of the .pem file containing trusted CA certificates for
6973
/// verifying the server when connecting over SSL. This property can only be
7074
/// set when using SSL on self-hosted IR. The default value is the cacerts.pem
@@ -87,7 +91,7 @@ public HiveLinkedServiceTypeProperties()
8791
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
8892
/// using the integration runtime credential manager. Type: string.
8993
/// </param>
90-
public HiveLinkedServiceTypeProperties(object host, string authenticationType, object port = default(object), string serverType = default(string), string thriftTransportProtocol = default(string), object serviceDiscoveryMode = default(object), object zooKeeperNameSpace = default(object), object useNativeQuery = default(object), object username = default(object), SecretBase password = default(SecretBase), object httpPath = default(object), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
94+
public HiveLinkedServiceTypeProperties(object host, string authenticationType, object port = default(object), string serverType = default(string), string thriftTransportProtocol = default(string), object serviceDiscoveryMode = default(object), object zooKeeperNameSpace = default(object), object useNativeQuery = default(object), object username = default(object), SecretBase password = default(SecretBase), object httpPath = default(object), object enableSsl = default(object), object enableServerCertificateValidation = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
9195

9296
{
9397
this.Host = host;
@@ -102,6 +106,7 @@ public HiveLinkedServiceTypeProperties()
102106
this.Password = password;
103107
this.HttpPath = httpPath;
104108
this.EnableSsl = enableSsl;
109+
this.EnableServerCertificateValidation = enableServerCertificateValidation;
105110
this.TrustedCertPath = trustedCertPath;
106111
this.UseSystemTrustStore = useSystemTrustStore;
107112
this.AllowHostNameCnMismatch = allowHostNameCnMismatch;
@@ -194,6 +199,13 @@ public HiveLinkedServiceTypeProperties()
194199
[Newtonsoft.Json.JsonProperty(PropertyName = "enableSsl")]
195200
public object EnableSsl {get; set; }
196201

202+
/// <summary>
203+
/// Gets or sets specifies whether the connections to the server will validate
204+
/// server certificate, the default value is True. Only used for Version 2.0
205+
/// </summary>
206+
[Newtonsoft.Json.JsonProperty(PropertyName = "enableServerCertificateValidation")]
207+
public object EnableServerCertificateValidation {get; set; }
208+
197209
/// <summary>
198210
/// Gets or sets the full path of the .pem file containing trusted CA
199211
/// certificates for verifying the server when connecting over SSL. This
@@ -265,6 +277,7 @@ public virtual void Validate()
265277

266278

267279

280+
268281
}
269282
}
270283
}

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

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,19 @@ public ImpalaLinkedService()
6262
/// <param name="password">The password corresponding to the user name when using UsernameAndPassword.
6363
/// </param>
6464

65+
/// <param name="thriftTransportProtocol">The transport protocol to use in the Thrift layer (for V2 only). Default
66+
/// value is Binary.
67+
/// Possible values include: &#39;Binary&#39;, &#39;HTTP&#39;</param>
68+
6569
/// <param name="enableSsl">Specifies whether the connections to the server are encrypted using SSL.
6670
/// The default value is false.
6771
/// </param>
6872

73+
/// <param name="enableServerCertificateValidation">Specify whether to enable server SSL certificate validation when you
74+
/// connect.Always use System Trust Store (for V2 only). The default value is
75+
/// true.
76+
/// </param>
77+
6978
/// <param name="trustedCertPath">The full path of the .pem file containing trusted CA certificates for
7079
/// verifying the server when connecting over SSL. This property can only be
7180
/// set when using SSL on self-hosted IR. The default value is the cacerts.pem
@@ -88,7 +97,7 @@ public ImpalaLinkedService()
8897
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
8998
/// using the integration runtime credential manager. Type: string.
9099
/// </param>
91-
public ImpalaLinkedService(object host, string authenticationType, 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 username = default(object), SecretBase password = default(SecretBase), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
100+
public ImpalaLinkedService(object host, string authenticationType, 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 username = default(object), SecretBase password = default(SecretBase), ImpalaThriftTransportProtocol? thriftTransportProtocol = default(ImpalaThriftTransportProtocol?), object enableSsl = default(object), object enableServerCertificateValidation = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
92101

93102
: base(additionalProperties, version, connectVia, description, parameters, annotations)
94103
{
@@ -97,7 +106,9 @@ public ImpalaLinkedService()
97106
this.AuthenticationType = authenticationType;
98107
this.Username = username;
99108
this.Password = password;
109+
this.ThriftTransportProtocol = thriftTransportProtocol;
100110
this.EnableSsl = enableSsl;
111+
this.EnableServerCertificateValidation = enableServerCertificateValidation;
101112
this.TrustedCertPath = trustedCertPath;
102113
this.UseSystemTrustStore = useSystemTrustStore;
103114
this.AllowHostNameCnMismatch = allowHostNameCnMismatch;
@@ -146,13 +157,28 @@ public ImpalaLinkedService()
146157
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.password")]
147158
public SecretBase Password {get; set; }
148159

160+
/// <summary>
161+
/// Gets or sets the transport protocol to use in the Thrift layer (for V2
162+
/// only). Default value is Binary. Possible values include: &#39;Binary&#39;, &#39;HTTP&#39;
163+
/// </summary>
164+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.thriftTransportProtocol")]
165+
public ImpalaThriftTransportProtocol? ThriftTransportProtocol {get; set; }
166+
149167
/// <summary>
150168
/// Gets or sets specifies whether the connections to the server are encrypted
151169
/// using SSL. The default value is false.
152170
/// </summary>
153171
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.enableSsl")]
154172
public object EnableSsl {get; set; }
155173

174+
/// <summary>
175+
/// Gets or sets specify whether to enable server SSL certificate validation
176+
/// when you connect.Always use System Trust Store (for V2 only). The default
177+
/// value is true.
178+
/// </summary>
179+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.enableServerCertificateValidation")]
180+
public object EnableServerCertificateValidation {get; set; }
181+
156182
/// <summary>
157183
/// Gets or sets the full path of the .pem file containing trusted CA
158184
/// certificates for verifying the server when connecting over SSL. This
@@ -219,6 +245,8 @@ public override void Validate()
219245

220246

221247

248+
249+
222250
}
223251
}
224252
}

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

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,19 @@ public ImpalaLinkedServiceTypeProperties()
4141
/// <param name="password">The password corresponding to the user name when using UsernameAndPassword.
4242
/// </param>
4343

44+
/// <param name="thriftTransportProtocol">The transport protocol to use in the Thrift layer (for V2 only). Default
45+
/// value is Binary.
46+
/// Possible values include: &#39;Binary&#39;, &#39;HTTP&#39;</param>
47+
4448
/// <param name="enableSsl">Specifies whether the connections to the server are encrypted using SSL.
4549
/// The default value is false.
4650
/// </param>
4751

52+
/// <param name="enableServerCertificateValidation">Specify whether to enable server SSL certificate validation when you
53+
/// connect.Always use System Trust Store (for V2 only). The default value is
54+
/// true.
55+
/// </param>
56+
4857
/// <param name="trustedCertPath">The full path of the .pem file containing trusted CA certificates for
4958
/// verifying the server when connecting over SSL. This property can only be
5059
/// set when using SSL on self-hosted IR. The default value is the cacerts.pem
@@ -67,15 +76,17 @@ public ImpalaLinkedServiceTypeProperties()
6776
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
6877
/// using the integration runtime credential manager. Type: string.
6978
/// </param>
70-
public ImpalaLinkedServiceTypeProperties(object host, string authenticationType, object port = default(object), object username = default(object), SecretBase password = default(SecretBase), object enableSsl = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
79+
public ImpalaLinkedServiceTypeProperties(object host, string authenticationType, object port = default(object), object username = default(object), SecretBase password = default(SecretBase), ImpalaThriftTransportProtocol? thriftTransportProtocol = default(ImpalaThriftTransportProtocol?), object enableSsl = default(object), object enableServerCertificateValidation = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object allowHostNameCnMismatch = default(object), object allowSelfSignedServerCert = default(object), string encryptedCredential = default(string))
7180

7281
{
7382
this.Host = host;
7483
this.Port = port;
7584
this.AuthenticationType = authenticationType;
7685
this.Username = username;
7786
this.Password = password;
87+
this.ThriftTransportProtocol = thriftTransportProtocol;
7888
this.EnableSsl = enableSsl;
89+
this.EnableServerCertificateValidation = enableServerCertificateValidation;
7990
this.TrustedCertPath = trustedCertPath;
8091
this.UseSystemTrustStore = useSystemTrustStore;
8192
this.AllowHostNameCnMismatch = allowHostNameCnMismatch;
@@ -124,13 +135,28 @@ public ImpalaLinkedServiceTypeProperties()
124135
[Newtonsoft.Json.JsonProperty(PropertyName = "password")]
125136
public SecretBase Password {get; set; }
126137

138+
/// <summary>
139+
/// Gets or sets the transport protocol to use in the Thrift layer (for V2
140+
/// only). Default value is Binary. Possible values include: &#39;Binary&#39;, &#39;HTTP&#39;
141+
/// </summary>
142+
[Newtonsoft.Json.JsonProperty(PropertyName = "thriftTransportProtocol")]
143+
public ImpalaThriftTransportProtocol? ThriftTransportProtocol {get; set; }
144+
127145
/// <summary>
128146
/// Gets or sets specifies whether the connections to the server are encrypted
129147
/// using SSL. The default value is false.
130148
/// </summary>
131149
[Newtonsoft.Json.JsonProperty(PropertyName = "enableSsl")]
132150
public object EnableSsl {get; set; }
133151

152+
/// <summary>
153+
/// Gets or sets specify whether to enable server SSL certificate validation
154+
/// when you connect.Always use System Trust Store (for V2 only). The default
155+
/// value is true.
156+
/// </summary>
157+
[Newtonsoft.Json.JsonProperty(PropertyName = "enableServerCertificateValidation")]
158+
public object EnableServerCertificateValidation {get; set; }
159+
134160
/// <summary>
135161
/// Gets or sets the full path of the .pem file containing trusted CA
136162
/// certificates for verifying the server when connecting over SSL. This
@@ -196,6 +222,8 @@ public virtual void Validate()
196222

197223

198224

225+
226+
199227
}
200228
}
201229
}

0 commit comments

Comments
 (0)