Share via


ProbeV1.TcpSocket Property

Definition

TcpSocket specifies an action based on a TCP socket connection.

[YamlDotNet.Serialization.YamlMember(Alias="tcpSocket")]
public Aspire.Hosting.Kubernetes.Resources.TcpSocketActionV1? TcpSocket { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="tcpSocket")>]
member this.TcpSocket : Aspire.Hosting.Kubernetes.Resources.TcpSocketActionV1 with get, set
Public Property TcpSocket As TcpSocketActionV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

Defines a probe action that performs a TCP connection to a specified host and port. It is commonly used in Kubernetes health checks to determine the availability of a service.

Applies to