Class Probe
Not supported by Cloud Run Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class Probe : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Exec
(Optional) Not supported by Cloud Run One and only one of the following should be specified. Exec specifies the action to take. A field inlined from the Handler message.
Declaration
[JsonProperty("exec")]
public virtual ExecAction Exec { get; set; }
Property Value
| Type | Description |
|---|---|
| ExecAction |
FailureThreshold
(Optional) Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Declaration
[JsonProperty("failureThreshold")]
public virtual int? FailureThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Grpc
(Optional) GRPCAction specifies an action involving a GRPC port. A field inlined from the Handler message.
Declaration
[JsonProperty("grpc")]
public virtual GRPCAction Grpc { get; set; }
Property Value
| Type | Description |
|---|---|
| GRPCAction |
HttpGet
(Optional) HTTPGet specifies the http request to perform. A field inlined from the Handler message.
Declaration
[JsonProperty("httpGet")]
public virtual HTTPGetAction HttpGet { get; set; }
Property Value
| Type | Description |
|---|---|
| HTTPGetAction |
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
Declaration
[JsonProperty("initialDelaySeconds")]
public virtual int? InitialDelaySeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
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.
Declaration
[JsonProperty("periodSeconds")]
public virtual int? PeriodSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SuccessThreshold
(Optional) Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 if set.
Declaration
[JsonProperty("successThreshold")]
public virtual int? SuccessThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
TcpSocket
(Optional) TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported A field inlined from the Handler message.
Declaration
[JsonProperty("tcpSocket")]
public virtual TCPSocketAction TcpSocket { get; set; }
Property Value
| Type | Description |
|---|---|
| TCPSocketAction |
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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Declaration
[JsonProperty("timeoutSeconds")]
public virtual int? TimeoutSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |