Class HTTP2HealthCheck
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class HTTP2HealthCheck : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Host
The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
Declaration
[JsonProperty("host")]
public virtual string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Port
The TCP port number for the health check request. The default value is 443. 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, HTTP2 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 |
RequestPath
The request path of the HTTP/2 health check request. The default value is /.
Declaration
[JsonProperty("requestPath")]
public virtual string RequestPath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Response
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.
Declaration
[JsonProperty("response")]
public virtual string Response { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |