@@ -892,12 +892,24 @@ const marshalHealthCheck = (
892892 port : request . port ,
893893 transient_check_delay : request . transientCheckDelay ,
894894 ...resolveOneOf < unknown > ( [
895+ {
896+ param : 'tcp_config' ,
897+ value : request . tcpConfig
898+ ? marshalHealthCheckTcpConfig ( request . tcpConfig , defaults )
899+ : undefined ,
900+ } ,
895901 {
896902 param : 'mysql_config' ,
897903 value : request . mysqlConfig
898904 ? marshalHealthCheckMysqlConfig ( request . mysqlConfig , defaults )
899905 : undefined ,
900906 } ,
907+ {
908+ param : 'pgsql_config' ,
909+ value : request . pgsqlConfig
910+ ? marshalHealthCheckPgsqlConfig ( request . pgsqlConfig , defaults )
911+ : undefined ,
912+ } ,
901913 {
902914 param : 'ldap_config' ,
903915 value : request . ldapConfig
@@ -910,18 +922,6 @@ const marshalHealthCheck = (
910922 ? marshalHealthCheckRedisConfig ( request . redisConfig , defaults )
911923 : undefined ,
912924 } ,
913- {
914- param : 'tcp_config' ,
915- value : request . tcpConfig
916- ? marshalHealthCheckTcpConfig ( request . tcpConfig , defaults )
917- : undefined ,
918- } ,
919- {
920- param : 'pgsql_config' ,
921- value : request . pgsqlConfig
922- ? marshalHealthCheckPgsqlConfig ( request . pgsqlConfig , defaults )
923- : undefined ,
924- } ,
925925 {
926926 param : 'http_config' ,
927927 value : request . httpConfig
@@ -1277,12 +1277,24 @@ export const marshalUpdateHealthCheckRequest = (
12771277 port : request . port ,
12781278 transient_check_delay : request . transientCheckDelay ,
12791279 ...resolveOneOf < unknown > ( [
1280+ {
1281+ param : 'tcp_config' ,
1282+ value : request . tcpConfig
1283+ ? marshalHealthCheckTcpConfig ( request . tcpConfig , defaults )
1284+ : undefined ,
1285+ } ,
12801286 {
12811287 param : 'mysql_config' ,
12821288 value : request . mysqlConfig
12831289 ? marshalHealthCheckMysqlConfig ( request . mysqlConfig , defaults )
12841290 : undefined ,
12851291 } ,
1292+ {
1293+ param : 'pgsql_config' ,
1294+ value : request . pgsqlConfig
1295+ ? marshalHealthCheckPgsqlConfig ( request . pgsqlConfig , defaults )
1296+ : undefined ,
1297+ } ,
12861298 {
12871299 param : 'ldap_config' ,
12881300 value : request . ldapConfig
@@ -1295,18 +1307,6 @@ export const marshalUpdateHealthCheckRequest = (
12951307 ? marshalHealthCheckRedisConfig ( request . redisConfig , defaults )
12961308 : undefined ,
12971309 } ,
1298- {
1299- param : 'pgsql_config' ,
1300- value : request . pgsqlConfig
1301- ? marshalHealthCheckPgsqlConfig ( request . pgsqlConfig , defaults )
1302- : undefined ,
1303- } ,
1304- {
1305- param : 'tcp_config' ,
1306- value : request . tcpConfig
1307- ? marshalHealthCheckTcpConfig ( request . tcpConfig , defaults )
1308- : undefined ,
1309- } ,
13101310 {
13111311 param : 'http_config' ,
13121312 value : request . httpConfig
@@ -1669,12 +1669,24 @@ export const marshalZonedApiUpdateHealthCheckRequest = (
16691669 port : request . port ,
16701670 transient_check_delay : request . transientCheckDelay ,
16711671 ...resolveOneOf < unknown > ( [
1672+ {
1673+ param : 'tcp_config' ,
1674+ value : request . tcpConfig
1675+ ? marshalHealthCheckTcpConfig ( request . tcpConfig , defaults )
1676+ : undefined ,
1677+ } ,
16721678 {
16731679 param : 'mysql_config' ,
16741680 value : request . mysqlConfig
16751681 ? marshalHealthCheckMysqlConfig ( request . mysqlConfig , defaults )
16761682 : undefined ,
16771683 } ,
1684+ {
1685+ param : 'pgsql_config' ,
1686+ value : request . pgsqlConfig
1687+ ? marshalHealthCheckPgsqlConfig ( request . pgsqlConfig , defaults )
1688+ : undefined ,
1689+ } ,
16781690 {
16791691 param : 'ldap_config' ,
16801692 value : request . ldapConfig
@@ -1687,18 +1699,6 @@ export const marshalZonedApiUpdateHealthCheckRequest = (
16871699 ? marshalHealthCheckRedisConfig ( request . redisConfig , defaults )
16881700 : undefined ,
16891701 } ,
1690- {
1691- param : 'pgsql_config' ,
1692- value : request . pgsqlConfig
1693- ? marshalHealthCheckPgsqlConfig ( request . pgsqlConfig , defaults )
1694- : undefined ,
1695- } ,
1696- {
1697- param : 'tcp_config' ,
1698- value : request . tcpConfig
1699- ? marshalHealthCheckTcpConfig ( request . tcpConfig , defaults )
1700- : undefined ,
1701- } ,
17021702 {
17031703 param : 'http_config' ,
17041704 value : request . httpConfig
0 commit comments