RouteSpecHttpRouteRetryPolicyArgs

data class RouteSpecHttpRouteRetryPolicyArgs(val httpRetryEvents: Output<List<String>>? = null, val maxRetries: Output<Int>, val perRetryTimeout: Output<RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs>, val tcpRetryEvents: Output<List<String>>? = null) : ConvertibleToJava<RouteSpecHttpRouteRetryPolicyArgs>

Constructors

Link copied to clipboard
constructor(httpRetryEvents: Output<List<String>>? = null, maxRetries: Output<Int>, perRetryTimeout: Output<RouteSpecHttpRouteRetryPolicyPerRetryTimeoutArgs>, tcpRetryEvents: Output<List<String>>? = null)

Properties

Link copied to clipboard
val httpRetryEvents: Output<List<String>>? = null

List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).

Link copied to clipboard
val maxRetries: Output<Int>

Maximum number of retries.

Link copied to clipboard
Link copied to clipboard
val tcpRetryEvents: Output<List<String>>? = null

List of TCP retry events. The only valid value is connection-error. You must specify at least one value for http_retry_events, or at least one value for tcp_retry_events.

Functions

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