Healthcheck Http Config Args
data class HealthcheckHttpConfigArgs(val allowInsecure: Output<Boolean>? = null, val expectedBody: Output<String>? = null, val expectedCodes: Output<List<String>>? = null, val followRedirects: Output<Boolean>? = null, val header: Output<Map<String, List<String>>>? = null, val method: Output<String>? = null, val path: Output<String>? = null, val port: Output<Int>? = null) : ConvertibleToJava<HealthcheckHttpConfigArgs>
Constructors
Link copied to clipboard
constructor(allowInsecure: Output<Boolean>? = null, expectedBody: Output<String>? = null, expectedCodes: Output<List<String>>? = null, followRedirects: Output<Boolean>? = null, header: Output<Map<String, List<String>>>? = null, method: Output<String>? = null, path: Output<String>? = null, port: Output<Int>? = null)
Properties
Link copied to clipboard
Do not validate the certificate when the health check uses HTTPS.
Link copied to clipboard
A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy.
Link copied to clipboard
The expected HTTP response codes (e.g. "200") or code ranges (e.g. "2xx" for all codes starting with 2) of the health check.
Link copied to clipboard
Follow redirects if the origin returns a 3xx status code.