ResponseBasedOriginErrorDetectionParametersArgs

data class ResponseBasedOriginErrorDetectionParametersArgs(val httpErrorRanges: Output<List<HttpErrorRangeParametersArgs>>? = null, val responseBasedDetectedErrorTypes: Output<ResponseBasedDetectedErrorTypes>? = null, val responseBasedFailoverThresholdPercentage: Output<Int>? = null) : ConvertibleToJava<ResponseBasedOriginErrorDetectionParametersArgs>

The JSON object that contains the properties to determine origin health using real requests/responses.

Constructors

constructor(httpErrorRanges: Output<List<HttpErrorRangeParametersArgs>>? = null, responseBasedDetectedErrorTypes: Output<ResponseBasedDetectedErrorTypes>? = null, responseBasedFailoverThresholdPercentage: Output<Int>? = null)

Properties

Link copied to clipboard

The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.

Link copied to clipboard

Type of response errors for real user requests for which origin will be deemed unhealthy

Link copied to clipboard

The percentage of failed requests in the sample where failover should trigger.

Functions

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