View Source GoogleApi.AppEngine.V1.Model.HealthCheck (google_api_app_engine v0.42.0)

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.

Attributes

  • checkInterval (type: String.t, default: nil) - Interval between health checks.
  • disableHealthCheck (type: boolean(), default: nil) - Whether to explicitly disable health checks for this instance.
  • healthyThreshold (type: integer(), default: nil) - Number of consecutive successful health checks required before receiving traffic.
  • host (type: String.t, default: nil) - Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
  • restartThreshold (type: integer(), default: nil) - Number of consecutive failed health checks required before an instance is restarted.
  • timeout (type: String.t, default: nil) - Time before the health check is considered failed.
  • unhealthyThreshold (type: integer(), default: nil) - Number of consecutive failed health checks required before removing traffic.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AppEngine.V1.Model.HealthCheck{
  checkInterval: String.t() | nil,
  disableHealthCheck: boolean() | nil,
  healthyThreshold: integer() | nil,
  host: String.t() | nil,
  restartThreshold: integer() | nil,
  timeout: String.t() | nil,
  unhealthyThreshold: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.