Share via


LifecycleHandlerV1.TcpSocket Property

Definition

Gets or sets the TcpSocketActionV1 property.

[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

TcpSocket represents an action performed on a specified TCP socket. This property is used in the context of lifecycle hooks or probes within Kubernetes resources to establish a connection on the given host and port.

Applies to