public sealed class Probe.Types.TcpSocketAction : IMessage<Probe.Types.TcpSocketAction>, IEquatable<Probe.Types.TcpSocketAction>, IDeepCloneable<Probe.Types.TcpSocketAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class Probe.Types.TcpSocketAction.
TcpSocketAction probes the health of a container by opening a TCP socket connection.
Implements
IMessageProbeTypesTcpSocketAction, IEquatableProbeTypesTcpSocketAction, IDeepCloneableProbeTypesTcpSocketAction, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
TcpSocketAction()
public TcpSocketAction()
TcpSocketAction(TcpSocketAction)
public TcpSocketAction(Probe.Types.TcpSocketAction other)
Parameter | |
---|---|
Name | Description |
other |
ProbeTypesTcpSocketAction |
Properties
Host
public string Host { get; set; }
Optional: Host name to connect to, defaults to the model serving container's IP.
Property Value | |
---|---|
Type | Description |
string |
Port
public int Port { get; set; }
Number of the port to access on the container. Number must be in the range 1 to 65535.
Property Value | |
---|---|
Type | Description |
int |