Show / Hide Table of Contents

Class TCPHealthCheck

Inheritance
System.Object
TCPHealthCheck
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class TCPHealthCheck : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Port

The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.

Declaration
[JsonProperty("port")]
public virtual int? Port { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

PortName

Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.

Declaration
[JsonProperty("portName")]
public virtual string PortName { get; set; }
Property Value
Type Description
System.String

PortSpecification

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.

Declaration
[JsonProperty("portSpecification")]
public virtual string PortSpecification { get; set; }
Property Value
Type Description
System.String

ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Declaration
[JsonProperty("proxyHeader")]
public virtual string ProxyHeader { get; set; }
Property Value
Type Description
System.String

Request

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.

Declaration
[JsonProperty("request")]
public virtual string Request { get; set; }
Property Value
Type Description
System.String

Response

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.

Declaration
[JsonProperty("response")]
public virtual string Response { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top