Cloud AI Platform v1 API - Class Probe (3.2.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
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

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

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