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
constructor(regex: Output<RestResponseRegexArgs>? = null, successStatusCodes: Output<List<String>>? = null)

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.

Functions

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