LifecycleHandlerPatchArgs

data class LifecycleHandlerPatchArgs(val exec: Output<ExecActionPatchArgs>? = null, val httpGet: Output<HTTPGetActionPatchArgs>? = null, val tcpSocket: Output<TCPSocketActionPatchArgs>? = null) : ConvertibleToJava<LifecycleHandlerPatchArgs>

LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.

Constructors

Link copied to clipboard
fun LifecycleHandlerPatchArgs(exec: Output<ExecActionPatchArgs>? = null, httpGet: Output<HTTPGetActionPatchArgs>? = null, tcpSocket: Output<TCPSocketActionPatchArgs>? = null)

Functions

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

Properties

Link copied to clipboard
val exec: Output<ExecActionPatchArgs>? = null

Exec specifies the action to take.

Link copied to clipboard
val httpGet: Output<HTTPGetActionPatchArgs>? = null

HTTPGet specifies the http request to perform.

Link copied to clipboard
val tcpSocket: Output<TCPSocketActionPatchArgs>? = null

Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.