RestResponseArgs

data class RestResponseArgs(val regex: Output<RestResponseRegexArgs>? = null, val successStatusCodes: Output<List<String>>? = null) : ConvertibleToJava<RestResponseArgs>

The properties that make up the expected REST response

Constructors

Link copied to clipboard
fun RestResponseArgs(regex: Output<RestResponseRegexArgs>? = null, successStatusCodes: Output<List<String>>? = null)

Functions

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

Properties

Link copied to clipboard
val regex: Output<RestResponseRegexArgs>? = null

The regular expressions to match the response content with.

Link copied to clipboard
val successStatusCodes: Output<List<String>>? = null

The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.