lib/fastly/api/backend_api.rb in fastly-4.0.0.alpha4 vs lib/fastly/api/backend_api.rb in fastly-4.0.0

- old
+ new

@@ -30,10 +30,11 @@ # @option opts [Integer] :first_byte_timeout Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. # @option opts [String] :healthcheck The name of the healthcheck to use with this backend. # @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. + # @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests. # @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept. # @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :name The name of the backend. # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. @@ -69,10 +70,11 @@ # @option opts [Integer] :first_byte_timeout Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. # @option opts [String] :healthcheck The name of the healthcheck to use with this backend. # @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. + # @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests. # @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept. # @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :name The name of the backend. # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. @@ -132,10 +134,11 @@ form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil? form_params['healthcheck'] = opts[:'healthcheck'] if !opts[:'healthcheck'].nil? form_params['hostname'] = opts[:'hostname'] if !opts[:'hostname'].nil? form_params['ipv4'] = opts[:'ipv4'] if !opts[:'ipv4'].nil? form_params['ipv6'] = opts[:'ipv6'] if !opts[:'ipv6'].nil? + form_params['keepalive_time'] = opts[:'keepalive_time'] if !opts[:'keepalive_time'].nil? form_params['max_conn'] = opts[:'max_conn'] if !opts[:'max_conn'].nil? form_params['max_tls_version'] = opts[:'max_tls_version'] if !opts[:'max_tls_version'].nil? form_params['min_tls_version'] = opts[:'min_tls_version'] if !opts[:'min_tls_version'].nil? form_params['name'] = opts[:'name'] if !opts[:'name'].nil? form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil? @@ -417,10 +420,11 @@ # @option opts [Integer] :first_byte_timeout Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. # @option opts [String] :healthcheck The name of the healthcheck to use with this backend. # @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. + # @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests. # @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept. # @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :name The name of the backend. # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. @@ -457,10 +461,11 @@ # @option opts [Integer] :first_byte_timeout Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`. # @option opts [String] :healthcheck The name of the healthcheck to use with this backend. # @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location. # @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location. + # @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests. # @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept. # @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. # @option opts [String] :name The name of the backend. # @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL. @@ -525,9 +530,10 @@ form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil? form_params['healthcheck'] = opts[:'healthcheck'] if !opts[:'healthcheck'].nil? form_params['hostname'] = opts[:'hostname'] if !opts[:'hostname'].nil? form_params['ipv4'] = opts[:'ipv4'] if !opts[:'ipv4'].nil? form_params['ipv6'] = opts[:'ipv6'] if !opts[:'ipv6'].nil? + form_params['keepalive_time'] = opts[:'keepalive_time'] if !opts[:'keepalive_time'].nil? form_params['max_conn'] = opts[:'max_conn'] if !opts[:'max_conn'].nil? form_params['max_tls_version'] = opts[:'max_tls_version'] if !opts[:'max_tls_version'].nil? form_params['min_tls_version'] = opts[:'min_tls_version'] if !opts[:'min_tls_version'].nil? form_params['name'] = opts[:'name'] if !opts[:'name'].nil? form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil?