HttpRouteFaultInjectionPolicyAbortArgs

data class HttpRouteFaultInjectionPolicyAbortArgs(val httpStatus: Output<Int>? = null, val percentage: Output<Int>? = null) : ConvertibleToJava<HttpRouteFaultInjectionPolicyAbortArgs>

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

Constructors

Link copied to clipboard
fun HttpRouteFaultInjectionPolicyAbortArgs(httpStatus: Output<Int>? = null, percentage: Output<Int>? = null)

Functions

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

Properties

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

The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.

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

The percentage of traffic which will be aborted. The value must be between 0, 100