AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbe constructor

const AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbe({
  1. Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeExec?>? exec,
  2. Input<int?>? failureThreshold,
  3. Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeGrpc?>? grpc,
  4. Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeHttpGet?>? httpGet,
  5. Input<int?>? initialDelaySeconds,
  6. Input<int?>? periodSeconds,
  7. Input<int?>? successThreshold,
  8. Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeTcpSocket?>? tcpSocket,
  9. Input<int?>? timeoutSeconds,
})

Creates a new AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbe. exec ExecAction specifies a command to execute. failureThreshold Number of consecutive failures before the probe is considered failed. grpc GrpcAction checks the health of a container using a gRPC service. httpGet HttpGetAction describes an action based on HTTP Get requests. initialDelaySeconds Number of seconds to wait before starting the probe. Defaults to 0. periodSeconds How often (in seconds) to perform the probe. Default to 10 seconds. successThreshold Number of consecutive successes before the probe is considered successful. tcpSocket TcpSocketAction probes the health of a container by opening a TCP socket timeoutSeconds Number of seconds after which the probe times out. Defaults to 1 second.

Implementation

const AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbe({
  this.exec,
  this.failureThreshold,
  this.grpc,
  this.httpGet,
  this.initialDelaySeconds,
  this.periodSeconds,
  this.successThreshold,
  this.tcpSocket,
  this.timeoutSeconds,
});