Show / Hide Table of Contents

Class Probe

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

Inheritance
System.Object
Probe
Implements
IDirectResponseSchema
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class Probe : object, IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

FailureThreshold

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

Declaration
public virtual Nullable<int> FailureThreshold { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Handler

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

The action taken to determine the health of a container

Declaration
public virtual Handler Handler { get; set; }
Property Value
Type Description
Handler

InitialDelaySeconds

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Declaration
public virtual Nullable<int> InitialDelaySeconds { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

PeriodSeconds

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.

Declaration
public virtual Nullable<int> PeriodSeconds { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

SuccessThreshold

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.

Declaration
public virtual Nullable<int> SuccessThreshold { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

TimeoutSeconds

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Declaration
public virtual Nullable<int> TimeoutSeconds { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
Back to top