@@ -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 ( ) ;
0 commit comments