CircuitBreakerRuleArgs

data class CircuitBreakerRuleArgs(val acceptRetryAfter: Output<Boolean>? = null, val failureCondition: Output<CircuitBreakerFailureConditionArgs>? = null, val name: Output<String>? = null, val tripDuration: Output<String>? = null) : ConvertibleToJava<CircuitBreakerRuleArgs>

Rule configuration to trip the backend.

Constructors

Link copied to clipboard
constructor(acceptRetryAfter: Output<Boolean>? = null, failureCondition: Output<CircuitBreakerFailureConditionArgs>? = null, name: Output<String>? = null, tripDuration: Output<String>? = null)

Properties

Link copied to clipboard
val acceptRetryAfter: Output<Boolean>? = null

flag to accept Retry-After header from the backend.

Link copied to clipboard

The conditions for tripping the circuit breaker.

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

The rule name.

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

The duration for which the circuit will be tripped.

Functions

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