Cloud AI Platform v1 API - Class Probe.Types.ExecAction (2.28.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class Probe.Types.ExecAction.

ExecAction specifies a command to execute.

Inheritance

object > Probe.Types.ExecAction

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ExecAction()

public ExecAction()

ExecAction(ExecAction)

public ExecAction(Probe.Types.ExecAction other)
Parameter
Name Description
other ProbeTypesExecAction

Properties

Command

public RepeatedField<string> Command { get; }

Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

Property Value
Type Description
RepeatedFieldstring