@@ -875,20 +875,47 @@ export type GetBackendRequest = {
875875export type UpdateBackendRequest = {
876876 /** Region to target. If none is passed will use default region from the config */
877877 region ?: Region
878+ /** Backend ID to update */
878879 backendId : string
880+ /** Resource name */
879881 name : string
882+ /** Backend protocol. TCP or HTTP */
880883 forwardProtocol : Protocol
884+ /** User sessions will be forwarded to this port of backend servers */
881885 forwardPort : number
886+ /** Load balancing algorithm */
882887 forwardPortAlgorithm : ForwardPortAlgorithm
888+ /** Enable cookie-based session persistence */
883889 stickySessions : StickySessionsType
890+ /** Cookie name for for sticky sessions */
884891 stickySessionsCookieName : string
885- /** @deprecated */
892+ /** @deprecated Deprecated in favor of proxy_protocol field! */
886893 sendProxyV2 ?: boolean
894+ /** Maximum server connection inactivity time */
887895 timeoutServer ?: string
896+ /** Maximum initial server connection establishment time */
888897 timeoutConnect ?: string
898+ /** Maximum tunnel inactivity time */
889899 timeoutTunnel ?: string
900+ /** Modify what occurs when a backend server is marked down */
890901 onMarkedDownAction : OnMarkedDownAction
902+ /**
903+ * The PROXY protocol informs the other end about the incoming connection, so
904+ * that it can know the client's address or the public address it accessed to,
905+ * whatever the upper layer protocol is.
906+ *
907+ * `proxy_protocol_none` Disable proxy protocol. `proxy_protocol_v1` Version
908+ * one (text format). `proxy_protocol_v2` Version two (binary format).
909+ * `proxy_protocol_v2_ssl` Version two with SSL connection.
910+ * `proxy_protocol_v2_ssl_cn` Version two with SSL connection and common name
911+ * information.
912+ */
891913 proxyProtocol : ProxyProtocol
914+ /**
915+ * Only the host part of the Scaleway S3 bucket website is expected. Example:
916+ * `failover-website.s3-website.fr-par.scw.cloud` if your bucket website URL
917+ * is `https://failover-website.s3-website.fr-par.scw.cloud/`.
918+ */
892919 failoverHost ?: string
893920}
894921
@@ -1642,20 +1669,47 @@ export type ZonedApiGetBackendRequest = {
16421669export type ZonedApiUpdateBackendRequest = {
16431670 /** Zone to target. If none is passed will use default zone from the config */
16441671 zone ?: Zone
1672+ /** Backend ID to update */
16451673 backendId : string
1674+ /** Resource name */
16461675 name : string
1676+ /** Backend protocol. TCP or HTTP */
16471677 forwardProtocol : Protocol
1678+ /** User sessions will be forwarded to this port of backend servers */
16481679 forwardPort : number
1680+ /** Load balancing algorithm */
16491681 forwardPortAlgorithm : ForwardPortAlgorithm
1682+ /** Enable cookie-based session persistence */
16501683 stickySessions : StickySessionsType
1684+ /** Cookie name for for sticky sessions */
16511685 stickySessionsCookieName : string
1652- /** @deprecated */
1686+ /** @deprecated Deprecated in favor of proxy_protocol field! */
16531687 sendProxyV2 ?: boolean
1688+ /** Maximum server connection inactivity time */
16541689 timeoutServer ?: string
1690+ /** Maximum initial server connection establishment time */
16551691 timeoutConnect ?: string
1692+ /** Maximum tunnel inactivity time */
16561693 timeoutTunnel ?: string
1694+ /** Modify what occurs when a backend server is marked down */
16571695 onMarkedDownAction : OnMarkedDownAction
1696+ /**
1697+ * The PROXY protocol informs the other end about the incoming connection, so
1698+ * that it can know the client's address or the public address it accessed to,
1699+ * whatever the upper layer protocol is.
1700+ *
1701+ * `proxy_protocol_none` Disable proxy protocol. `proxy_protocol_v1` Version
1702+ * one (text format). `proxy_protocol_v2` Version two (binary format).
1703+ * `proxy_protocol_v2_ssl` Version two with SSL connection.
1704+ * `proxy_protocol_v2_ssl_cn` Version two with SSL connection and common name
1705+ * information.
1706+ */
16581707 proxyProtocol : ProxyProtocol
1708+ /**
1709+ * Only the host part of the Scaleway S3 bucket website is expected. Example:
1710+ * `failover-website.s3-website.fr-par.scw.cloud` if your bucket website URL
1711+ * is `https://failover-website.s3-website.fr-par.scw.cloud/`.
1712+ */
16591713 failoverHost ?: string
16601714}
16611715
0 commit comments