Class HTTPSHealthCheck (2.1.0)

public sealed class HTTPSHealthCheck : IMessage<HTTPSHealthCheck>, IEquatable<HTTPSHealthCheck>, IDeepCloneable<HTTPSHealthCheck>, IBufferMessage, IMessage

Inheritance

Object > HTTPSHealthCheck

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

HTTPSHealthCheck()

public HTTPSHealthCheck()

HTTPSHealthCheck(HTTPSHealthCheck)

public HTTPSHealthCheck(HTTPSHealthCheck other)
Parameter
NameDescription
otherHTTPSHealthCheck

Properties

HasHost

public bool HasHost { get; }

Gets whether the "host" field is set

Property Value
TypeDescription
Boolean

HasPort

public bool HasPort { get; }

Gets whether the "port" field is set

Property Value
TypeDescription
Boolean

HasPortName

public bool HasPortName { get; }

Gets whether the "port_name" field is set

Property Value
TypeDescription
Boolean

HasPortSpecification

public bool HasPortSpecification { get; }

Gets whether the "port_specification" field is set

Property Value
TypeDescription
Boolean

HasProxyHeader

public bool HasProxyHeader { get; }

Gets whether the "proxy_header" field is set

Property Value
TypeDescription
Boolean

HasRequestPath

public bool HasRequestPath { get; }

Gets whether the "request_path" field is set

Property Value
TypeDescription
Boolean

HasResponse

public bool HasResponse { get; }

Gets whether the "response" field is set

Property Value
TypeDescription
Boolean

Host

public string Host { get; set; }

The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.

Property Value
TypeDescription
String

Port

public int Port { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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, HTTPS health check follows behavior specified in port and portName fields. Check the PortSpecification enum for the list of possible values.

Property Value
TypeDescription
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
TypeDescription
String

RequestPath

public string RequestPath { get; set; }

The request path of the HTTPS health check request. The default value is /.

Property Value
TypeDescription
String

Response

public string Response { get; set; }

The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.

Property Value
TypeDescription
String