public sealed class Probe : IMessage<Probe>, IEquatable<Probe>, IDeepCloneable<Probe>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class Probe.
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Probe()
public Probe()Probe(Probe)
public Probe(Probe other)| Parameter | |
|---|---|
| Name | Description |
other |
Probe |
Properties
Exec
public Probe.Types.ExecAction Exec { get; set; }ExecAction probes the health of a container by executing a command.
| Property Value | |
|---|---|
| Type | Description |
ProbeTypesExecAction |
|
FailureThreshold
public int FailureThreshold { get; set; }Number of consecutive failures before the probe is considered failed. Defaults to 3. Minimum value is 1.
Maps to Kubernetes probe argument 'failureThreshold'.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Grpc
public Probe.Types.GrpcAction Grpc { get; set; }GrpcAction probes the health of a container by sending a gRPC request.
| Property Value | |
|---|---|
| Type | Description |
ProbeTypesGrpcAction |
|
HttpGet
public Probe.Types.HttpGetAction HttpGet { get; set; }HttpGetAction probes the health of a container by sending an HTTP GET request.
| Property Value | |
|---|---|
| Type | Description |
ProbeTypesHttpGetAction |
|
InitialDelaySeconds
public int InitialDelaySeconds { get; set; }Number of seconds to wait before starting the probe. Defaults to 0. Minimum value is 0.
Maps to Kubernetes probe argument 'initialDelaySeconds'.
| Property Value | |
|---|---|
| Type | Description |
int |
|
PeriodSeconds
public int PeriodSeconds { get; set; }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'.
| Property Value | |
|---|---|
| Type | Description |
int |
|
ProbeTypeCase
public Probe.ProbeTypeOneofCase ProbeTypeCase { get; }| Property Value | |
|---|---|
| Type | Description |
ProbeProbeTypeOneofCase |
|
SuccessThreshold
public int SuccessThreshold { get; set; }Number of consecutive successes before the probe is considered successful. Defaults to 1. Minimum value is 1.
Maps to Kubernetes probe argument 'successThreshold'.
| Property Value | |
|---|---|
| Type | Description |
int |
|
TcpSocket
public Probe.Types.TcpSocketAction TcpSocket { get; set; }TcpSocketAction probes the health of a container by opening a TCP socket connection.
| Property Value | |
|---|---|
| Type | Description |
ProbeTypesTcpSocketAction |
|
TimeoutSeconds
public int TimeoutSeconds { get; set; }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'.
| Property Value | |
|---|---|
| Type | Description |
int |
|