GetServiceTemplateContainerStartupProbe constructor

const GetServiceTemplateContainerStartupProbe({
  1. required Input<int> failureThreshold,
  2. required Input<List<GetServiceTemplateContainerStartupProbeGrpc>> grpcs,
  3. required Input<List<GetServiceTemplateContainerStartupProbeHttpGet>> httpGets,
  4. required Input<int> initialDelaySeconds,
  5. required Input<int> periodSeconds,
  6. required Input<List<GetServiceTemplateContainerStartupProbeTcpSocket>> tcpSockets,
  7. required Input<int> timeoutSeconds,
})

Creates a new GetServiceTemplateContainerStartupProbe. failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. grpcs GRPC specifies an action involving a GRPC port. httpGets HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. initialDelaySeconds 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes periodSeconds 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 timeoutSeconds tcpSockets TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. timeoutSeconds 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Implementation

const GetServiceTemplateContainerStartupProbe({
  required this.failureThreshold,
  required this.grpcs,
  required this.httpGets,
  required this.initialDelaySeconds,
  required this.periodSeconds,
  required this.tcpSockets,
  required this.timeoutSeconds,
});