Cloud AI Platform v1 API - Class Probe (2.23.0)

public sealed class Probe : IMessage<Probe>, IEquatable<Probe>, IDeepCloneable<Probe>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 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.

Inheritance

object > Probe

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Probe()

public Probe()

Probe(Probe)

public Probe(Probe other)
Parameter
NameDescription
otherProbe

Properties

Exec

public Probe.Types.ExecAction Exec { get; set; }

Exec specifies the action to take.

Property Value
TypeDescription
ProbeTypesExecAction

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
TypeDescription
int

ProbeTypeCase

public Probe.ProbeTypeOneofCase ProbeTypeCase { get; }
Property Value
TypeDescription
ProbeProbeTypeOneofCase

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
TypeDescription
int