CircuitBreakerFailureConditionArgs

data class CircuitBreakerFailureConditionArgs(val count: Output<Double>? = null, val errorReasons: Output<List<String>>? = null, val interval: Output<String>? = null, val percentage: Output<Double>? = null, val statusCodeRanges: Output<List<FailureStatusCodeRangeArgs>>? = null) : ConvertibleToJava<CircuitBreakerFailureConditionArgs>

The trip conditions of the circuit breaker

Constructors

Link copied to clipboard
constructor(count: Output<Double>? = null, errorReasons: Output<List<String>>? = null, interval: Output<String>? = null, percentage: Output<Double>? = null, statusCodeRanges: Output<List<FailureStatusCodeRangeArgs>>? = null)

Properties

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

The threshold for opening the circuit.

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

The error reasons which are considered as failure.

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

The interval during which the failures are counted.

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

The threshold for opening the circuit.

Link copied to clipboard

The status code ranges which are considered as failure.

Functions

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