Show / Hide Table of Contents

Class HttpHealthCheck

Represents a legacy HTTP Health Check resource. Legacy HTTP health checks are now only required by target pool-based network load balancers. For all other load balancers, including backend service-based network load balancers, and for managed instance group auto-healing, you must use modern (non-legacy) health checks. For more information, see Health checks overview .

Inheritance
object
HttpHealthCheck
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class HttpHealthCheck : IDirectResponseSchema

Properties

CheckIntervalSec

How often (in seconds) to send a health check. The default value is 5 seconds.

Declaration
[JsonProperty("checkIntervalSec")]
public virtual int? CheckIntervalSec { get; set; }
Property Value
Type Description
int?

CreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type Description
string

Description

An optional description of this resource. Provide this property when you create the resource.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

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

HealthyThreshold

A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.

Declaration
[JsonProperty("healthyThreshold")]
public virtual int? HealthyThreshold { get; set; }
Property Value
Type Description
int?

Host

The value of the host header in the HTTP health check request. If left empty (default value), the public 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
string

Id

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type Description
ulong?

Kind

[Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

Name

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Port

The TCP port number for the HTTP health check request. The default value is 80.

Declaration
[JsonProperty("port")]
public virtual int? Port { get; set; }
Property Value
Type Description
int?

RequestPath

The request path of the HTTP health check request. The default value is /. This field does not support query parameters. Must comply with RFC3986.

Declaration
[JsonProperty("requestPath")]
public virtual string RequestPath { get; set; }
Property Value
Type Description
string

SelfLink

[Output Only] Server-defined URL for the resource.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
string

SelfLinkWithId

[Output Only] Server-defined URL for this resource with the resource id.

Declaration
[JsonProperty("selfLinkWithId")]
public virtual string SelfLinkWithId { get; set; }
Property Value
Type Description
string

TimeoutSec

How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.

Declaration
[JsonProperty("timeoutSec")]
public virtual int? TimeoutSec { get; set; }
Property Value
Type Description
int?

UnhealthyThreshold

A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.

Declaration
[JsonProperty("unhealthyThreshold")]
public virtual int? UnhealthyThreshold { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX