AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbe class
Constructors
-
AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbe({Input<
AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeExec?> ? exec, Input<int?> ? failureThreshold, Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeGrpc?> ? grpc, Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeHttpGet?> ? httpGet, Input<int?> ? initialDelaySeconds, Input<int?> ? periodSeconds, Input<int?> ? successThreshold, Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeTcpSocket?> ? tcpSocket, Input<int?> ? timeoutSeconds}) -
Creates a new AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbe.
execExecAction specifies a command to execute.failureThresholdNumber of consecutive failures before the probe is considered failed.grpcGrpcAction checks the health of a container using a gRPC service.httpGetHttpGetAction describes an action based on HTTP Get requests.initialDelaySecondsNumber of seconds to wait before starting the probe. Defaults to 0.periodSecondsHow often (in seconds) to perform the probe. Default to 10 seconds.successThresholdNumber of consecutive successes before the probe is considered successful.tcpSocketTcpSocketAction probes the health of a container by opening a TCP sockettimeoutSecondsNumber of seconds after which the probe times out. Defaults to 1 second.const -
AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbe.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
exec
→ Input<
AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeExec?> ? -
ExecAction specifies a command to execute.
Structure is documented below.
final
-
failureThreshold
→ Input<
int?> ? -
Number of consecutive failures before the probe is considered failed.
Defaults to 3. Minimum value is 1.
Maps to Kubernetes probe argument 'failureThreshold'.
final
-
grpc
→ Input<
AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeGrpc?> ? -
GrpcAction checks the health of a container using a gRPC service.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
httpGet
→ Input<
AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeHttpGet?> ? -
HttpGetAction describes an action based on HTTP Get requests.
Structure is documented below.
final
-
initialDelaySeconds
→ Input<
int?> ? -
Number of seconds to wait before starting the probe. Defaults to 0.
Minimum value is 0.
Maps to Kubernetes probe argument 'initialDelaySeconds'.
final
-
periodSeconds
→ Input<
int?> ? -
How often (in seconds) to perform the probe. Default to 10 seconds.
Minimum value is 1. Must be less than timeout_seconds.
Maps to Kubernetes probe argument 'periodSeconds'.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
successThreshold
→ Input<
int?> ? -
Number of consecutive successes before the probe is considered successful.
Defaults to 1. Minimum value is 1.
Maps to Kubernetes probe argument 'successThreshold'.
final
-
tcpSocket
→ Input<
AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbeTcpSocket?> ? -
TcpSocketAction probes the health of a container by opening a TCP socket
connection.
Structure is documented below.
final
-
timeoutSeconds
→ Input<
int?> ? -
Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1. Must be greater or equal to period_seconds.
Maps to Kubernetes probe argument 'timeoutSeconds'.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited