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 v1beta1 API class Probe.Types.ExecAction.
ExecAction specifies a command to execute.
Implements
IMessageProbeTypesExecAction, IEquatableProbeTypesExecAction, IDeepCloneableProbeTypesExecAction, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.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 |