TcpSocketActionV1
Class sealed net10.0
Represents a TCP socket action configuration used in Kubernetes resources. This class is typically utilized for health or readiness probes or lifecycle handlers, allowing the definition of connectivity checks to a specified host and port via TCP.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class TcpSocketActionV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesHostget; setstring Specifies the hostname or IP address to be used for the TCP socket action.
Portget; setint Gets or sets the port number to access for the TCP socket action. This property specifies the numeric port on which the TCP connection should be established.