Lifecycle Handler Patch Args
data class LifecycleHandlerPatchArgs(val exec: Output<ExecActionPatchArgs>? = null, val httpGet: Output<HTTPGetActionPatchArgs>? = null, val sleep: Output<SleepActionPatchArgs>? = 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
constructor(exec: Output<ExecActionPatchArgs>? = null, httpGet: Output<HTTPGetActionPatchArgs>? = null, sleep: Output<SleepActionPatchArgs>? = null, tcpSocket: Output<TCPSocketActionPatchArgs>? = null)
Properties
Link copied to clipboard
Exec specifies a command to execute in the container.
Link copied to clipboard
HTTPGet specifies an HTTP GET request to perform.
Link copied to clipboard
Sleep represents a duration that the container should sleep.
Link copied to clipboard
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.