Skip to content

Commit 4769f55

Browse files
committed
add
1 parent 17c6450 commit 4769f55

20 files changed

+1565
-25
lines changed

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

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,44 @@ public MariaDBLinkedService()
4242
/// <param name="annotations">List of tags that can be used for describing the linked service.
4343
/// </param>
4444

45+
/// <param name="driverVersion">The version of the MariaDB driver. Type: string. V1 or empty for legacy
46+
/// driver, V2 for new driver. V1 can support connection string and property
47+
/// bag, V2 can only support connection string.
48+
/// </param>
49+
4550
/// <param name="connectionString">An ODBC connection string. Type: string, SecureString or
4651
/// AzureKeyVaultSecretReference.
4752
/// </param>
4853

49-
/// <param name="pwd">The Azure key vault secret reference of password in connection string.
54+
/// <param name="server">Server name for connection. Type: string.
55+
/// </param>
56+
57+
/// <param name="port">The port for the connection. Type: integer.
58+
/// </param>
59+
60+
/// <param name="username">Username for authentication. Type: string.
61+
/// </param>
62+
63+
/// <param name="database">Database name for connection. Type: string.
64+
/// </param>
65+
66+
/// <param name="password">The Azure key vault secret reference of password in connection string.
5067
/// </param>
5168

5269
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
5370
/// using the integration runtime credential manager. Type: string.
5471
/// </param>
55-
public MariaDBLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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 pwd = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
72+
public MariaDBLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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))
5673

5774
: base(additionalProperties, connectVia, description, parameters, annotations)
5875
{
76+
this.DriverVersion = driverVersion;
5977
this.ConnectionString = connectionString;
60-
this.Pwd = pwd;
78+
this.Server = server;
79+
this.Port = port;
80+
this.Username = username;
81+
this.Database = database;
82+
this.Password = password;
6183
this.EncryptedCredential = encryptedCredential;
6284
CustomInit();
6385
}
@@ -68,19 +90,51 @@ public MariaDBLinkedService()
6890
partial void CustomInit();
6991

7092

93+
/// <summary>
94+
/// Gets or sets the version of the MariaDB driver. Type: string. V1 or empty
95+
/// for legacy driver, V2 for new driver. V1 can support connection string and
96+
/// property bag, V2 can only support connection string.
97+
/// </summary>
98+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.driverVersion")]
99+
public object DriverVersion {get; set; }
100+
71101
/// <summary>
72102
/// Gets or sets an ODBC connection string. Type: string, SecureString or
73103
/// AzureKeyVaultSecretReference.
74104
/// </summary>
75105
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.connectionString")]
76106
public object ConnectionString {get; set; }
77107

108+
/// <summary>
109+
/// Gets or sets server name for connection. Type: string.
110+
/// </summary>
111+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.server")]
112+
public object Server {get; set; }
113+
114+
/// <summary>
115+
/// Gets or sets the port for the connection. Type: integer.
116+
/// </summary>
117+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.port")]
118+
public object Port {get; set; }
119+
120+
/// <summary>
121+
/// Gets or sets username for authentication. Type: string.
122+
/// </summary>
123+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.username")]
124+
public object Username {get; set; }
125+
126+
/// <summary>
127+
/// Gets or sets database name for connection. Type: string.
128+
/// </summary>
129+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.database")]
130+
public object Database {get; set; }
131+
78132
/// <summary>
79133
/// Gets or sets the Azure key vault secret reference of password in connection
80134
/// string.
81135
/// </summary>
82-
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.pwd")]
83-
public AzureKeyVaultSecretReference Pwd {get; set; }
136+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.password")]
137+
public AzureKeyVaultSecretReference Password {get; set; }
84138

85139
/// <summary>
86140
/// Gets or sets the encrypted credential used for authentication. Credentials
@@ -99,9 +153,14 @@ public override void Validate()
99153
{
100154
base.Validate();
101155

102-
if (this.Pwd != null)
156+
157+
158+
159+
160+
161+
if (this.Password != null)
103162
{
104-
this.Pwd.Validate();
163+
this.Password.Validate();
105164
}
106165

107166
}

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

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,43 @@ public MariaDBLinkedServiceTypeProperties()
2424
/// Initializes a new instance of the MariaDBLinkedServiceTypeProperties class.
2525
/// </summary>
2626

27+
/// <param name="driverVersion">The version of the MariaDB driver. Type: string. V1 or empty for legacy
28+
/// driver, V2 for new driver. V1 can support connection string and property
29+
/// bag, V2 can only support connection string.
30+
/// </param>
31+
2732
/// <param name="connectionString">An ODBC connection string. Type: string, SecureString or
2833
/// AzureKeyVaultSecretReference.
2934
/// </param>
3035

31-
/// <param name="pwd">The Azure key vault secret reference of password in connection string.
36+
/// <param name="server">Server name for connection. Type: string.
37+
/// </param>
38+
39+
/// <param name="port">The port for the connection. Type: integer.
40+
/// </param>
41+
42+
/// <param name="username">Username for authentication. Type: string.
43+
/// </param>
44+
45+
/// <param name="database">Database name for connection. Type: string.
46+
/// </param>
47+
48+
/// <param name="password">The Azure key vault secret reference of password in connection string.
3249
/// </param>
3350

3451
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
3552
/// using the integration runtime credential manager. Type: string.
3653
/// </param>
37-
public MariaDBLinkedServiceTypeProperties(object connectionString = default(object), AzureKeyVaultSecretReference pwd = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
54+
public MariaDBLinkedServiceTypeProperties(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))
3855

3956
{
57+
this.DriverVersion = driverVersion;
4058
this.ConnectionString = connectionString;
41-
this.Pwd = pwd;
59+
this.Server = server;
60+
this.Port = port;
61+
this.Username = username;
62+
this.Database = database;
63+
this.Password = password;
4264
this.EncryptedCredential = encryptedCredential;
4365
CustomInit();
4466
}
@@ -49,19 +71,51 @@ public MariaDBLinkedServiceTypeProperties()
4971
partial void CustomInit();
5072

5173

74+
/// <summary>
75+
/// Gets or sets the version of the MariaDB driver. Type: string. V1 or empty
76+
/// for legacy driver, V2 for new driver. V1 can support connection string and
77+
/// property bag, V2 can only support connection string.
78+
/// </summary>
79+
[Newtonsoft.Json.JsonProperty(PropertyName = "driverVersion")]
80+
public object DriverVersion {get; set; }
81+
5282
/// <summary>
5383
/// Gets or sets an ODBC connection string. Type: string, SecureString or
5484
/// AzureKeyVaultSecretReference.
5585
/// </summary>
5686
[Newtonsoft.Json.JsonProperty(PropertyName = "connectionString")]
5787
public object ConnectionString {get; set; }
5888

89+
/// <summary>
90+
/// Gets or sets server name for connection. Type: string.
91+
/// </summary>
92+
[Newtonsoft.Json.JsonProperty(PropertyName = "server")]
93+
public object Server {get; set; }
94+
95+
/// <summary>
96+
/// Gets or sets the port for the connection. Type: integer.
97+
/// </summary>
98+
[Newtonsoft.Json.JsonProperty(PropertyName = "port")]
99+
public object Port {get; set; }
100+
101+
/// <summary>
102+
/// Gets or sets username for authentication. Type: string.
103+
/// </summary>
104+
[Newtonsoft.Json.JsonProperty(PropertyName = "username")]
105+
public object Username {get; set; }
106+
107+
/// <summary>
108+
/// Gets or sets database name for connection. Type: string.
109+
/// </summary>
110+
[Newtonsoft.Json.JsonProperty(PropertyName = "database")]
111+
public object Database {get; set; }
112+
59113
/// <summary>
60114
/// Gets or sets the Azure key vault secret reference of password in connection
61115
/// string.
62116
/// </summary>
63-
[Newtonsoft.Json.JsonProperty(PropertyName = "pwd")]
64-
public AzureKeyVaultSecretReference Pwd {get; set; }
117+
[Newtonsoft.Json.JsonProperty(PropertyName = "password")]
118+
public AzureKeyVaultSecretReference Password {get; set; }
65119

66120
/// <summary>
67121
/// Gets or sets the encrypted credential used for authentication. Credentials
@@ -79,9 +133,14 @@ public MariaDBLinkedServiceTypeProperties()
79133
public virtual void Validate()
80134
{
81135

82-
if (this.Pwd != null)
136+
137+
138+
139+
140+
141+
if (this.Password != null)
83142
{
84-
this.Pwd.Validate();
143+
this.Password.Validate();
85144
}
86145

87146
}

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

Lines changed: 86 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,53 @@ public MySqlLinkedService()
4242
/// <param name="annotations">List of tags that can be used for describing the linked service.
4343
/// </param>
4444

45+
/// <param name="driverVersion">The version of the MySQL driver. Type: string. V1 or empty for legacy
46+
/// driver, V2 for new driver. V1 can support connection string and property
47+
/// bag, V2 can only support connection string.
48+
/// </param>
49+
4550
/// <param name="connectionString">The connection string. Type: string, SecureString or
4651
/// AzureKeyVaultSecretReference.
4752
/// </param>
4853

54+
/// <param name="server">Server name for connection. Type: string.
55+
/// </param>
56+
57+
/// <param name="port">The port for the connection. Type: integer.
58+
/// </param>
59+
60+
/// <param name="username">Username for authentication. Type: string.
61+
/// </param>
62+
63+
/// <param name="database">Database name for connection. Type: string.
64+
/// </param>
65+
66+
/// <param name="sslMode">SSL mode for connection. Type: integer. 0: disable, 1: prefer, 2: require,
67+
/// 3: verify-ca, 4: verify-full.
68+
/// </param>
69+
70+
/// <param name="useSystemTrustStore">Use system trust store for connection. Type: integer. 0: enable, 1:
71+
/// disable.
72+
/// </param>
73+
4974
/// <param name="password">The Azure key vault secret reference of password in connection string.
5075
/// </param>
5176

5277
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
5378
/// using the integration runtime credential manager. Type: string.
5479
/// </param>
55-
public MySqlLinkedService(object connectionString, System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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>), AzureKeyVaultSecretReference password = default(AzureKeyVaultSecretReference), string encryptedCredential = default(string))
80+
public MySqlLinkedService(System.Collections.Generic.IDictionary<string, object> additionalProperties = default(System.Collections.Generic.IDictionary<string, object>), 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))
5681

5782
: base(additionalProperties, connectVia, description, parameters, annotations)
5883
{
84+
this.DriverVersion = driverVersion;
5985
this.ConnectionString = connectionString;
86+
this.Server = server;
87+
this.Port = port;
88+
this.Username = username;
89+
this.Database = database;
90+
this.SslMode = sslMode;
91+
this.UseSystemTrustStore = useSystemTrustStore;
6092
this.Password = password;
6193
this.EncryptedCredential = encryptedCredential;
6294
CustomInit();
@@ -68,13 +100,59 @@ public MySqlLinkedService()
68100
partial void CustomInit();
69101

70102

103+
/// <summary>
104+
/// Gets or sets the version of the MySQL driver. Type: string. V1 or empty for
105+
/// legacy driver, V2 for new driver. V1 can support connection string and
106+
/// property bag, V2 can only support connection string.
107+
/// </summary>
108+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.driverVersion")]
109+
public object DriverVersion {get; set; }
110+
71111
/// <summary>
72112
/// Gets or sets the connection string. Type: string, SecureString or
73113
/// AzureKeyVaultSecretReference.
74114
/// </summary>
75115
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.connectionString")]
76116
public object ConnectionString {get; set; }
77117

118+
/// <summary>
119+
/// Gets or sets server name for connection. Type: string.
120+
/// </summary>
121+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.server")]
122+
public object Server {get; set; }
123+
124+
/// <summary>
125+
/// Gets or sets the port for the connection. Type: integer.
126+
/// </summary>
127+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.port")]
128+
public object Port {get; set; }
129+
130+
/// <summary>
131+
/// Gets or sets username for authentication. Type: string.
132+
/// </summary>
133+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.username")]
134+
public object Username {get; set; }
135+
136+
/// <summary>
137+
/// Gets or sets database name for connection. Type: string.
138+
/// </summary>
139+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.database")]
140+
public object Database {get; set; }
141+
142+
/// <summary>
143+
/// Gets or sets sSL mode for connection. Type: integer. 0: disable, 1: prefer,
144+
/// 2: require, 3: verify-ca, 4: verify-full.
145+
/// </summary>
146+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.sslMode")]
147+
public object SslMode {get; set; }
148+
149+
/// <summary>
150+
/// Gets or sets use system trust store for connection. Type: integer. 0:
151+
/// enable, 1: disable.
152+
/// </summary>
153+
[Newtonsoft.Json.JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")]
154+
public object UseSystemTrustStore {get; set; }
155+
78156
/// <summary>
79157
/// Gets or sets the Azure key vault secret reference of password in connection
80158
/// string.
@@ -98,10 +176,13 @@ public MySqlLinkedService()
98176
public override void Validate()
99177
{
100178
base.Validate();
101-
if (this.ConnectionString == null)
102-
{
103-
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ConnectionString");
104-
}
179+
180+
181+
182+
183+
184+
185+
105186

106187
if (this.Password != null)
107188
{

0 commit comments

Comments
 (0)