GetWorkerPoolTemplateContainerLivenessProbe constructor
- required Input<
int> failureThreshold, - required Input<
List< grpcs,GetWorkerPoolTemplateContainerLivenessProbeGrpc> > - required Input<
List< httpGets,GetWorkerPoolTemplateContainerLivenessProbeHttpGet> > - required Input<
int> initialDelaySeconds, - required Input<
int> periodSeconds, - required Input<
List< tcpSockets,GetWorkerPoolTemplateContainerLivenessProbeTcpSocket> > - required Input<
int> timeoutSeconds,
Creates a new GetWorkerPoolTemplateContainerLivenessProbe.
failureThreshold Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpcs Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
httpGets Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
initialDelaySeconds Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
periodSeconds Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
tcpSockets Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
timeoutSeconds Optional. 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.
Implementation
const GetWorkerPoolTemplateContainerLivenessProbe({
required this.failureThreshold,
required this.grpcs,
required this.httpGets,
required this.initialDelaySeconds,
required this.periodSeconds,
required this.tcpSockets,
required this.timeoutSeconds,
});