You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/lb/v1/api.py
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -910,6 +910,8 @@ async def create_backend(
910
910
failover_host: Optional[str] =None,
911
911
ssl_bridging: Optional[bool] =None,
912
912
ignore_ssl_server_verify: Optional[bool] =None,
913
+
redispatch_attempt_count: Optional[int] =None,
914
+
max_retries: Optional[int] =None,
913
915
) ->Backend:
914
916
"""
915
917
Create a backend in a given load balancer.
@@ -932,6 +934,8 @@ async def create_backend(
932
934
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud. Do not include the scheme (eg https://).
933
935
:param ssl_bridging: Defines whether to enable SSL between the Load Balancer and backend servers.
934
936
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
937
+
:param redispatch_attempt_count: Whether to use another backend server on each attempt.
938
+
:param max_retries: Number of retries when a backend server connection failed.
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud. Do not include the scheme (eg https://).
1057
1065
:param ssl_bridging: Defines whether to enable SSL bridging between the Load Balancer and backend servers.
1058
1066
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
1067
+
:param redispatch_attempt_count: Whether to use another backend server on each retries.
1068
+
:param max_retries: Number of retries when a backend server connection failed.
One-of ('config'): at most one of 'mysql_config', 'ldap_config', 'redis_config', 'pgsql_config', 'tcp_config', 'http_config', 'https_config' could be set.
1318
1331
:param check_send_proxy: Defines whether proxy protocol should be activated for the health check.
1332
+
:param transient_check_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud. Do not include the scheme (eg https://).
3818
3835
:param ssl_bridging: Defines whether to enable SSL between the Load Balancer and backend servers.
3819
3836
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
3837
+
:param redispatch_attempt_count: Whether to use another backend server on each attempt.
3838
+
:param max_retries: Number of retries when a backend server connection failed.
:param failover_host: Scaleway S3 bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud. Do not include the scheme (eg https://).
3940
3963
:param ssl_bridging: Defines whether to enable SSL bridging between the Load Balancer and backend servers.
3941
3964
:param ignore_ssl_server_verify: Defines whether the server certificate verification should be ignored.
3965
+
:param redispatch_attempt_count: Whether to use another backend server on each retries.
3966
+
:param max_retries: Number of retries when a backend server connection failed.
One-of ('config'): at most one of 'mysql_config', 'ldap_config', 'redis_config', 'pgsql_config', 'tcp_config', 'http_config', 'https_config' could be set.
4196
4224
:param check_send_proxy: Defines whether proxy protocol should be activated for the health check.
4225
+
:param transient_check_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN).
0 commit comments