ServiceTemplateSpecContainerStartupProbeArgs

data class ServiceTemplateSpecContainerStartupProbeArgs(val failureThreshold: Output<Int>? = null, val grpc: Output<ServiceTemplateSpecContainerStartupProbeGrpcArgs>? = null, val httpGet: Output<ServiceTemplateSpecContainerStartupProbeHttpGetArgs>? = null, val initialDelaySeconds: Output<Int>? = null, val periodSeconds: Output<Int>? = null, val tcpSocket: Output<ServiceTemplateSpecContainerStartupProbeTcpSocketArgs>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<ServiceTemplateSpecContainerStartupProbeArgs>

Constructors

constructor(failureThreshold: Output<Int>? = null, grpc: Output<ServiceTemplateSpecContainerStartupProbeGrpcArgs>? = null, httpGet: Output<ServiceTemplateSpecContainerStartupProbeHttpGetArgs>? = null, initialDelaySeconds: Output<Int>? = null, periodSeconds: Output<Int>? = null, tcpSocket: Output<ServiceTemplateSpecContainerStartupProbeTcpSocketArgs>? = 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 240.

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 240.

Link copied to clipboard

TcpSocket specifies an action involving a TCP port. Structure is documented below.

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 periodSeconds.

Functions

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