DaprComponentResiliencyPolicyCircuitBreakerPolicyConfigurationArgs

data class DaprComponentResiliencyPolicyCircuitBreakerPolicyConfigurationArgs(val consecutiveErrors: Output<Int>? = null, val intervalInSeconds: Output<Int>? = null, val timeoutInSeconds: Output<Int>? = null) : ConvertibleToJava<DaprComponentResiliencyPolicyCircuitBreakerPolicyConfigurationArgs>

Dapr Component Resiliency Policy Circuit Breaker Policy Configuration.

Constructors

constructor(consecutiveErrors: Output<Int>? = null, intervalInSeconds: Output<Int>? = null, timeoutInSeconds: Output<Int>? = null)

Properties

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

The number of consecutive errors before the circuit is opened.

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

The optional interval in seconds after which the error count resets to 0. An interval of 0 will never reset. If not specified, the timeoutInSeconds value will be used.

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

The interval in seconds until a retry attempt is made after the circuit is opened.

Functions

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