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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.