GrpcRouteFaultInjectionPolicyArgs

data class GrpcRouteFaultInjectionPolicyArgs(val abort: Output<GrpcRouteFaultInjectionPolicyAbortArgs>? = null, val delay: Output<GrpcRouteFaultInjectionPolicyDelayArgs>? = null) : ConvertibleToJava<GrpcRouteFaultInjectionPolicyArgs>

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

Constructors

Link copied to clipboard
constructor(abort: Output<GrpcRouteFaultInjectionPolicyAbortArgs>? = null, delay: Output<GrpcRouteFaultInjectionPolicyDelayArgs>? = null)

Properties

Link copied to clipboard

The specification for aborting to client requests.

Link copied to clipboard

The specification for injecting delay to client requests.

Functions

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