CircuitBreakersArgs

data class CircuitBreakersArgs(val connectTimeout: Output<DurationArgs>? = null, val maxConnections: Output<Int>? = null, val maxPendingRequests: Output<Int>? = null, val maxRequests: Output<Int>? = null, val maxRequestsPerConnection: Output<Int>? = null, val maxRetries: Output<Int>? = null) : ConvertibleToJava<CircuitBreakersArgs>

Settings controlling the volume of requests, connections and retries to this backend service.

Constructors

Link copied to clipboard
fun CircuitBreakersArgs(connectTimeout: Output<DurationArgs>? = null, maxConnections: Output<Int>? = null, maxPendingRequests: Output<Int>? = null, maxRequests: Output<Int>? = null, maxRequestsPerConnection: Output<Int>? = null, maxRetries: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CircuitBreakersArgs

Properties

Link copied to clipboard
val connectTimeout: Output<DurationArgs>? = null

The timeout for new network connections to hosts.

Link copied to clipboard
val maxConnections: Output<Int>? = null

The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Link copied to clipboard
val maxPendingRequests: Output<Int>? = null

The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Link copied to clipboard
val maxRequests: Output<Int>? = null

The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.

Link copied to clipboard
val maxRequestsPerConnection: Output<Int>? = null

Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Link copied to clipboard
val maxRetries: Output<Int>? = null

The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.