@@ -47,7 +47,8 @@ public MariaDBLinkedService()
47
47
48
48
/// <param name="driverVersion">The version of the MariaDB driver. Type: string. V1 or empty for legacy
49
49
/// driver, V2 for new driver. V1 can support connection string and property
50
- /// bag, V2 can only support connection string.
50
+ /// bag, V2 can only support connection string. The legacy driver is scheduled
51
+ /// for deprecation by October 2024.
51
52
/// </param>
52
53
53
54
/// <param name="connectionString">An ODBC connection string. Type: string, SecureString or
@@ -66,13 +67,25 @@ public MariaDBLinkedService()
66
67
/// <param name="database">Database name for connection. Type: string.
67
68
/// </param>
68
69
70
+ /// <param name="sslMode">This option specifies whether the driver uses TLS encryption and
71
+ /// verification when connecting to MariaDB. E.g., SSLMode=<0/1/2/3/4>.
72
+ /// Options: DISABLED (0) / PREFERRED (1) (Default) / REQUIRED (2) / VERIFY_CA
73
+ /// (3) / VERIFY_IDENTITY (4), REQUIRED (2) is recommended to only allow
74
+ /// connections encrypted with SSL/TLS.
75
+ /// </param>
76
+
77
+ /// <param name="useSystemTrustStore">This option specifies whether to use a CA certificate from the system trust
78
+ /// store, or from a specified PEM file. E.g. UseSystemTrustStore=<0/1>;
79
+ /// Options: Enabled (1) / Disabled (0) (Default)
80
+ /// </param>
81
+
69
82
/// <param name="password">The Azure key vault secret reference of password in connection string.
70
83
/// </param>
71
84
72
85
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
73
86
/// using the integration runtime credential manager. Type: string.
74
87
/// </param>
75
- public MariaDBLinkedService ( 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 driverVersion = default ( object ) , object connectionString = default ( object ) , object server = default ( object ) , object port = default ( object ) , object username = default ( object ) , object database = default ( object ) , AzureKeyVaultSecretReference password = default ( AzureKeyVaultSecretReference ) , string encryptedCredential = default ( string ) )
88
+ public MariaDBLinkedService ( 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 driverVersion = default ( 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 useSystemTrustStore = default ( object ) , AzureKeyVaultSecretReference password = default ( AzureKeyVaultSecretReference ) , string encryptedCredential = default ( string ) )
76
89
77
90
: base ( additionalProperties , version , connectVia , description , parameters , annotations )
78
91
{
@@ -82,6 +95,8 @@ public MariaDBLinkedService()
82
95
this . Port = port ;
83
96
this . Username = username ;
84
97
this . Database = database ;
98
+ this . SslMode = sslMode ;
99
+ this . UseSystemTrustStore = useSystemTrustStore ;
85
100
this . Password = password ;
86
101
this . EncryptedCredential = encryptedCredential ;
87
102
CustomInit ( ) ;
@@ -96,7 +111,8 @@ public MariaDBLinkedService()
96
111
/// <summary>
97
112
/// Gets or sets the version of the MariaDB driver. Type: string. V1 or empty
98
113
/// for legacy driver, V2 for new driver. V1 can support connection string and
99
- /// property bag, V2 can only support connection string.
114
+ /// property bag, V2 can only support connection string. The legacy driver is
115
+ /// scheduled for deprecation by October 2024.
100
116
/// </summary>
101
117
[ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.driverVersion" ) ]
102
118
public object DriverVersion { get ; set ; }
@@ -132,6 +148,24 @@ public MariaDBLinkedService()
132
148
[ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.database" ) ]
133
149
public object Database { get ; set ; }
134
150
151
+ /// <summary>
152
+ /// Gets or sets this option specifies whether the driver uses TLS encryption
153
+ /// and verification when connecting to MariaDB. E.g., SSLMode=<0/1/2/3/4>.
154
+ /// Options: DISABLED (0) / PREFERRED (1) (Default) / REQUIRED (2) / VERIFY_CA
155
+ /// (3) / VERIFY_IDENTITY (4), REQUIRED (2) is recommended to only allow
156
+ /// connections encrypted with SSL/TLS.
157
+ /// </summary>
158
+ [ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.sslMode" ) ]
159
+ public object SslMode { get ; set ; }
160
+
161
+ /// <summary>
162
+ /// Gets or sets this option specifies whether to use a CA certificate from the
163
+ /// system trust store, or from a specified PEM file. E.g.
164
+ /// UseSystemTrustStore=<0/1>; Options: Enabled (1) / Disabled (0) (Default)
165
+ /// </summary>
166
+ [ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.useSystemTrustStore" ) ]
167
+ public object UseSystemTrustStore { get ; set ; }
168
+
135
169
/// <summary>
136
170
/// Gets or sets the Azure key vault secret reference of password in connection
137
171
/// string.
@@ -161,6 +195,8 @@ public override void Validate()
161
195
162
196
163
197
198
+
199
+
164
200
if ( this . Password != null )
165
201
{
166
202
this . Password . Validate ( ) ;
0 commit comments