RestHealthCheckArgs

data class RestHealthCheckArgs(val name: Output<String>, val request: Output<RestRequestArgs>, val response: Output<RestResponseArgs>? = null) : ConvertibleToJava<RestHealthCheckArgs>

A REST based health check

Constructors

Link copied to clipboard
constructor(name: Output<String>, request: Output<RestRequestArgs>, response: Output<RestResponseArgs>? = null)

Properties

Link copied to clipboard
val name: Output<String>

A unique name for this check.

Link copied to clipboard

The request to the health provider.

Link copied to clipboard
val response: Output<RestResponseArgs>? = null

The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.

Functions

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