ProbeArgs

data class ProbeArgs(val disableProbe: Output<Boolean>, val failureThreshold: Output<Int>? = null, val initialDelaySeconds: Output<Int>? = null, val periodSeconds: Output<Int>? = null, val probeAction: Output<Any>? = null, val successThreshold: Output<Int>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<ProbeArgs>

Probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic.

Constructors

Link copied to clipboard
constructor(disableProbe: Output<Boolean>, failureThreshold: Output<Int>? = null, initialDelaySeconds: Output<Int>? = null, periodSeconds: Output<Int>? = null, probeAction: Output<Any>? = null, successThreshold: Output<Int>? = null, timeoutSeconds: Output<Int>? = null)

Properties

Link copied to clipboard
val disableProbe: Output<Boolean>

Indicate whether the probe is disabled.

Link copied to clipboard
val failureThreshold: Output<Int>? = null

Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1.

Link copied to clipboard
val initialDelaySeconds: Output<Int>? = null

Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Link copied to clipboard
val periodSeconds: Output<Int>? = null

How often (in seconds) to perform the probe. Minimum value is 1.

Link copied to clipboard
val probeAction: Output<Any>? = null

The action of the probe.

Link copied to clipboard
val successThreshold: Output<Int>? = null

Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 for liveness and startup. Minimum value is 1.

Link copied to clipboard
val timeoutSeconds: Output<Int>? = null

Number of seconds after which the probe times out. Minimum value is 1.

Functions

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