ServiceTemplateSpecContainerLivenessProbeArgs

data class ServiceTemplateSpecContainerLivenessProbeArgs(val failureThreshold: Output<Int>? = null, val grpc: Output<ServiceTemplateSpecContainerLivenessProbeGrpcArgs>? = null, val httpGet: Output<ServiceTemplateSpecContainerLivenessProbeHttpGetArgs>? = null, val initialDelaySeconds: Output<Int>? = null, val periodSeconds: Output<Int>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<ServiceTemplateSpecContainerLivenessProbeArgs>

Constructors

constructor(failureThreshold: Output<Int>? = null, grpc: Output<ServiceTemplateSpecContainerLivenessProbeGrpcArgs>? = null, httpGet: Output<ServiceTemplateSpecContainerLivenessProbeHttpGetArgs>? = null, initialDelaySeconds: Output<Int>? = null, periodSeconds: Output<Int>? = null, timeoutSeconds: Output<Int>? = null)

Properties

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

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

Link copied to clipboard

GRPC specifies an action involving a GRPC port. Structure is documented below.

Link copied to clipboard

HttpGet specifies the http request to perform. Structure is documented below.

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

Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value is 3600.

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

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 3600.

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

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.

Functions

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