HttpRetryPolicyArgs

data class HttpRetryPolicyArgs(val errors: Output<List<String>>? = null, val headers: Output<List<HeaderMatchArgs>>? = null, val httpStatusCodes: Output<List<Int>>? = null, val initialDelayInMilliseconds: Output<Double>? = null, val maxIntervalInMilliseconds: Output<Double>? = null, val maxRetries: Output<Int>? = null) : ConvertibleToJava<HttpRetryPolicyArgs>

Policy that defines http request retry conditions

Constructors

Link copied to clipboard
constructor(errors: Output<List<String>>? = null, headers: Output<List<HeaderMatchArgs>>? = null, httpStatusCodes: Output<List<Int>>? = null, initialDelayInMilliseconds: Output<Double>? = null, maxIntervalInMilliseconds: Output<Double>? = null, maxRetries: Output<Int>? = null)

Properties

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

Errors that can trigger a retry

Link copied to clipboard
val headers: Output<List<HeaderMatchArgs>>? = null

Headers that must be present for a request to be retried

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

Additional http status codes that can trigger a retry

Link copied to clipboard
val initialDelayInMilliseconds: Output<Double>? = null

Initial delay, in milliseconds, before retrying a request

Link copied to clipboard
val maxIntervalInMilliseconds: Output<Double>? = null

Maximum interval, in milliseconds, between retries

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

Maximum number of times a request will retry

Functions

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