public sealed class TCPHealthCheck : IMessage<TCPHealthCheck>, IEquatable<TCPHealthCheck>, IDeepCloneable<TCPHealthCheck>, IBufferMessage, IMessage
Implements
IMessage<TCPHealthCheck>, IEquatable<TCPHealthCheck>, IDeepCloneable<TCPHealthCheck>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
TCPHealthCheck()
public TCPHealthCheck()
TCPHealthCheck(TCPHealthCheck)
public TCPHealthCheck(TCPHealthCheck other)
Parameter | |
---|---|
Name | Description |
other | TCPHealthCheck |
Properties
HasPort
public bool HasPort { get; }
Gets whether the "port" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasPortName
public bool HasPortName { get; }
Gets whether the "port_name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasPortSpecification
public bool HasPortSpecification { get; }
Gets whether the "port_specification" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasProxyHeader
public bool HasProxyHeader { get; }
Gets whether the "proxy_header" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasRequest
public bool HasRequest { get; }
Gets whether the "request" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasResponse
public bool HasResponse { get; }
Gets whether the "response" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Port
public int Port { get; set; }
The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
Property Value | |
---|---|
Type | Description |
Int32 |
PortName
public string PortName { get; set; }
Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
Property Value | |
---|---|
Type | Description |
String |
PortSpecification
public string PortSpecification { get; set; }
Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields. Check the PortSpecification enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
String |
ProxyHeader
public string ProxyHeader { get; set; }
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
String |
Request
public string Request { get; set; }
The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
Property Value | |
---|---|
Type | Description |
String |
Response
public string Response { get; set; }
The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
Property Value | |
---|---|
Type | Description |
String |