HttpFaultInjectionArgs

data class HttpFaultInjectionArgs(val abort: Output<HttpFaultAbortArgs>? = null, val delay: Output<HttpFaultDelayArgs>? = null) : ConvertibleToJava<HttpFaultInjectionArgs>

The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests.

Constructors

Link copied to clipboard
fun HttpFaultInjectionArgs(abort: Output<HttpFaultAbortArgs>? = null, delay: Output<HttpFaultDelayArgs>? = null)

Functions

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

Properties

Link copied to clipboard
val abort: Output<HttpFaultAbortArgs>? = null

The specification for how client requests are aborted as part of fault injection.

Link copied to clipboard
val delay: Output<HttpFaultDelayArgs>? = null

The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.